Results 1 to 10 of 19

Thread: Knoppix Live USB wont boot

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @HJWitchella

    I also have an Inspiron, and also have seen this problem with Knoppix 6.2.1 on usb.
    I don't think this is an Inspiron problem.

    I do not know how to repair the usb when it will not load correctly,
    other than to make a new Knoppix image from a Knoppix 6.2.1 on cd.
    You lose some precious settings this way, but you regain the use of the usb.

    In my case, I am using the 'persistent home' feature.
    I suspect that while I'm using Knoppix on usb, sometimes I may fill up the UNIONFS
    beyond the 2Gb that the usb can hold, and when I log out the new persistent
    image won't fit on my 2Gb usb. I intend to monitor the size of UNIONFS before I
    shut down from now on. I've crashed twice this way, now.

    If you discover how to salvage the usb, I'd like to know how.

  2. #2
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by utu View Post
    @HJWitchella

    I also have an Inspiron, and also have seen this problem with Knoppix 6.2.1 on usb.
    I don't think this is an Inspiron problem.

    I do not know how to repair the usb when it will not load correctly,
    other than to make a new Knoppix image from a Knoppix 6.2.1 on cd.
    You lose some precious settings this way, but you regain the use of the usb.
    The best thing I know to do is to salvage the knoppix-data.??? file in the KNOPPIX folder (and any other stuff you created or downloaded) from the flash drive if you can, wipe it clean and reinstall Knoppix, then copy the recovered data back into the newly-created KNOPPIX folder.
    In my case, I am using the 'persistent home' feature.
    How exactly are you doing that? The "persistent store", if that's what you mean, is for ALL changes, not just the home directory.
    I suspect that while I'm using Knoppix on usb, sometimes I may fill up the UNIONFS
    beyond the 2Gb that the usb can hold, and when I log out the new persistent
    image won't fit on my 2Gb usb. I intend to monitor the size of UNIONFS before I
    shut down from now on. I've crashed twice this way, now.

    If you discover how to salvage the usb, I'd like to know how.
    I'd recommend using a larger flash drive or SDHC card - there are some very nice ones with MUCH more room for not a lot of money. Check ebay and Amazon, plus Google (to name a few good sources) - and Buy.com is having a Kingston sale. Look around for something that fits for you.

    Cheers!
    Krishna

  3. #3
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by utu View Post

    I do not know how to repair the usb when it will not load correctly,
    ...
    In my case, I am using the 'persistent home' feature.
    I suspect that while I'm using Knoppix on usb, sometimes I may fill up the UNIONFS
    beyond the 2Gb that the usb can hold, and when I log out the new persistent
    image won't fit on my 2Gb usb. I intend to monitor the size of UNIONFS before I
    shut down from now on. I've crashed twice this way, now.

    If you discover how to salvage the usb, I'd like to know how.
    What you are saying, in theory, it should not happen. But if it at all happens, it MUST be a software bug, or a physical corruption. Physical corruption will like be irrecoverable. If it can be recovered by wiping it out, then it points more likely that it is a SOFTWARE bug somewhere.

    Why do I say that ? Because /mnt-system/KNOPPIX/KNOPPIX is a read only file system, and it is aufs2-ed with /mnt-system/KNOPPIX/knoppix-data.img. Both of these are fixed sized. It will not grow, at run time, beyond it's pre-configured size.

    It might not be worthwhile for you to investigate it down the software corruption problem, unless you intend to be a knoppix guru and so on. But if I were in that situation, I will do things like :-

    a) Boot KNOPPIX CD, first run dosfsck or fsck.vfat and so on on the VFAT partition to check for possible VFAT corruption
    b) Boot from KNOPPIX CD, manually cloop-mount the flash KNOPPIX compressed image, to see if that is possible to see the problem this way.
    c) Boot from KNOPPIX CD, e2fsck on knoppix-data.img to check for corruption and possible loop mount it manually and check for corruption.

    Cheers.

  4. #4
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    Too little persistent storage, I guess

    Quote Originally Posted by kl522 View Post
    What you are saying, in theory, it should not happen. But if it at all happens, it MUST be a software bug, or a physical corruption. Physical corruption will like be irrecoverable. If it can be recovered by wiping it out, then it points more likely that it is a SOFTWARE bug somewhere.

    Why do I say that ? Because /mnt-system/KNOPPIX/KNOPPIX is a read only file system, and it is aufs2-ed with /mnt-system/KNOPPIX/knoppix-data.img. Both of these are fixed sized. It will not grow, at run time, beyond it's pre-configured size.

    It might not be worthwhile for you to investigate it down the software corruption problem, unless you intend to be a knoppix guru and so on. But if I were in that situation, I will do things like :-

    a) Boot KNOPPIX CD, first run dosfsck or fsck.vfat and so on on the VFAT partition to check for possible VFAT corruption
    b) Boot from KNOPPIX CD, manually cloop-mount the flash KNOPPIX compressed image, to see if that is possible to see the problem this way.
    c) Boot from KNOPPIX CD, e2fsck on knoppix-data.img to check for corruption and possible loop mount it manually and check for corruption.

    Cheers.
    This is, I think, very good general trouble-shooting advice.
    I would also like to point to the krishna.murphy's advice about backup of knoppix-data.img.

    As for the problem, I think is occurs mainly because of too small drive and too little persistent storage. I would say that if you are not sure about the need, set up 4GB for persistent storage. Which, in practice, means at least 8GB sticks.

    I think there is kind of bug in Knoppix in space allocation. It will let you fill up persistent storage entirely, and then crash, maybe without any warning at all. And if you are doing package installs and updates, persistent storage can fill up VERY quickly. I have produced that condition myself, but I didn't care to look at knoppix-data.img afterwards. I would guess that I could just loop-mount it post mortem and, mostly, get necessary data off it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105 picture

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105

$19.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



YuanLey 8-Port 10G Ethernet Switch, 6 x 10Gbps RJ45 Ports, 2X 10Gbe SFP+ Ports picture

YuanLey 8-Port 10G Ethernet Switch, 6 x 10Gbps RJ45 Ports, 2X 10Gbe SFP+ Ports

$149.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box picture

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box

$23.99



Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M picture

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M

$229.99



Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC picture

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC

$49.05



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless

$22.00



NETGEAR 5-Port Gigabit Ethernet Unmanaged Network Switch (GS305) picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Network Switch (GS305)

$19.73