Knoppix 7.6.0

Discussion in 'all things UNIX' started by hogndog, Jun 12, 2016.

  1. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    I'm thinking about installing Knoppix 7.6.0 to my hard drive along side Sparky Linux. One review in particular makes it look like a great build.. the review was for 6.0 but after burning an ISO of 7.6.0 it looks to be a must have..

    http://www.dedoimedo.com/computers/knoppix-adriane.html

    In the first stages it appears that i may have to install it first and then reinstall Sparky. Just in the learning stage when it comes to creating partitions.

    Thanks in advance for any advice.. *puppy*
     
  2. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    Well i created a partition formated to reiserfs, but didn't install the bootloader thinking i could update grub after the fact. After rebooting my machine didn't recognize the partition instead i got this message:

    Unable to read the contents of this file system!

    Because of this some operations may be unavailable.

    The cause might be a missing software package.

    The following list of software packages is required for reiserfs file system support: reiserfsprogs / reiserfs-utils.

    Knoppix is installed, is there a way to fix this?

    Thanks in advance.. *puppy*
     
  3. dogfish666

    dogfish666 Registered Member

    Joined:
    Oct 21, 2015
    Posts:
    11
    hi this may help just a
    suggestion

    Boot-Repair-Disk, the 'must-have' rescue CD !
    https://sourceforge.net/p/boot-repair-cd/home/Home/

    also if you boot from live usb of knoppix you may be able to
    run this in terminal and in install boot repair with following commands
    sudo add-apt-repository -y ppa:yannubuntu/boot-repair; \
    sudo apt-get update; \
    sudo apt-get install -y boot-repair && boot-repair

    http://askubuntu.com/questions/226061/how-to-install-the-boot-repair-tool-in-an-ubuntu-live-disc
     
    Last edited: Jun 12, 2016
  4. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,459
    @hogndog

    Boot Knoppix again. Then mount the hard disk partitions (as root); chroot in; apt-get install the reiserfs tools; and reboot.

    The procedure for this should, generally, look something like the following:

    Code:
    # mkdir hddinst
    # mount /dev/sdXY hddinst
    # mount -t proc none hddinst/proc
    # mount -t sysfs none hddinst/sys
    # mount --rbind /dev hddinst/dev
    # chroot hddinst /bin/bash
    
    # apt-get update
    # apt-get install reiserfsprogs
    
    Also, for future reference, ReiserFS should generally be avoided. It's unsupported; its features and performance have been outstripped by other filesystems; and its creator is in prison for murder.

    Edit: fixed formatting
     
    Last edited: Jun 12, 2016
  5. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    Hi, and thanks for the reply! i was able to update grub but it wasn't recognizing the reiserfs partition, so i uninstalled it and reformatted the partition to ext4 thinking surely it would recognize ext4? Gparted sees the partition but Knoppix doesn't? The only way i can get Knoppix to install to that partition is if its formatted to reiserfs. Not throwing in the towel just yet, i might reinstall it to that format then try your suggestion.

    Thanks! *puppy*
     
  6. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    Thanks, might give it a go but I'm thinking your right about "ReiserFS" being unsupported. I'm asking for a problems like the one I'm having now. *puppy*
     
  7. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,459
    Yeah, if you already reformatted to ext4, then you should probably stick with ext4. Said filesystem performs better on modern devices than ReiserFS, is more reliable, and has better support for SSDs.

    Although, not sure why the Knoppix installer wouldn't recognize an ext4 partition. Was the partition still mounted when that problem occurred?
     
  8. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    I'm not sure why either? i tried ext3 and ext4 neither would work but the second i used reiserfs it was ready to go? Somethings missing, when i find that something it'll be a done deal.. "maybe"
     
  9. Gullible Jones

    Gullible Jones Registered Member

    Joined:
    May 16, 2013
    Posts:
    1,459
    That is very strange. Even a dedicated live distro shouldn't exclude ext3/4 from the kernel, let alone in favor of something obsolete. Hmm.

    Let's first check if the partition is mounted:

    Code:
    # grep /dev/sdXY /proc/mounts
    Ideally you should not see any output. If you do, it should show the partition as ext4.

    If the partition is not mounted, try mounting it:

    Code:
    # mount /dev/sdXY /some/dir
    If this works, then the installer should work. If it does not, check the error message. In either case, check the kernel log (with the 'dmesg' command as root).

    ... Err, actually one more possibility: maybe the installer needs the partition mounted before it runs? That would be rather odd, but IIRC Knoppix uses a custom installer.

    Edit: you could also do

    Code:
    # zgrep -i ext4 /proc/config.gz
    on the off chance that the kernel doesn't support ext3/4. (But it should, because that's what all sensible distros do.)
     
  10. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    I'll go over this material, I'm quite sure its something I've missed, being a newbie makes for more than a few mistakes.

    Thanks again! :)
     
  11. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    O.k. I'm back and here's what i found "didn't see this before"

    Two conditions must be fulfilled to install KNOPPIX:

    1) There must be at least 1GB of linux swap space.
    2) There must be an empty partition of type Linux, formatted with an reiserfs
    file system and of at least 12GB size.

    If this is fulfilled, a list of possible install partitions is shown.
    Selection of a partition starts the installation.

    If the prerequisites are not fulfilled, an automatic partitioning can be tried
    to create the missing partitions. This can succeed only if there is sufficient
    unpartitioned space on the hard disk.

    As an alternative one of the connected hard disks can be chosen. The whole
    disk is then used for installation. A Linux Swap partition of 1GB size and
    a Linux partition occupying the rest of the disk are created. All data on the
    disk will be deleted.

    If neither automatic partitioning nor use of a whole hard disk are possible,
    manual partitioning by starting a disk partitioner can be used. This can be
    used to shrink existing partitions as well.
     
  12. 1PW

    1PW Registered Member

    Joined:
    Apr 2, 2010
    Posts:
    700
    Location:
    North of the 38th parallel.
    Hello All:

    I am really not trying to be a contrarian.

    I wonder if it would be worth it to go with KNOPPIX_V7.6.1DVD-2016-01-16-EN.iso, or perhaps even wait for the wider distribution of KNOPPIX_v7.7.0DVD-2016-03-01-EN.iso?

    As undesirable as the ReiserFS/Reiser4 file system may be to some, I thought that the Reiser4 file system was still being supported by http://www.phoronix.com/scan.php?page=search&q=Reiser4, as the last update (26-May-2016) pertained to the support of the Linux 4.6 kernel?

    Respectfully.
     
  13. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    Yes i believe it would be worth it, I've been looking for a new build but haven't been able to find one..

    Thanks for the suggestion.. *puppy*
     
  14. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
  15. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service
    Well my friend it looks like you get the prize.. your solution worked! KNOPPIX 7.6.1 is installed!

    i loaded:

    sudo add-apt-repository -y ppa:yannubuntu/boot-repair; \
    sudo apt-get update; \
    sudo apt-get install -y boot-repair && boot-repair

    into the terminal.. then rebooted to find KNOPPIX next to Sparky

    Thanks! *puppy*
     
  16. hogndog

    hogndog Registered Member

    Joined:
    Jun 9, 2007
    Posts:
    628
    Location:
    In His Service