Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been running KNOPPIX from micro SD on my laptop for a long time.
I'm far from being an expert, but so far I managed to get everything done with it and repair it once in a while by using an USB stick.
This time is different:
During a movie KNOPPIX 8.1 froze completely.
Since then it seems to be unable to boot properly. It gets stuck at searching for USB, and after an eternity it boots and tells me that the overly partition is too small.
My noob guess is that the KNOPPIX-DATA partition got fried somehow, so I tried to Reinstall, but no change.
Then I tried to fix the partition with g-parted which took forever, but still not back to normal.
Any ideas? Will gladly provide more info,
Just tell me what to do
You likely added a persistence file or partition to save settings etc, it's full. You'll need to delete it and create a new one and apply personal settings again. Avoid applying updates, one thing about persistence is that deleting items only deletes from view of the OS but does not delete it from the overlay to regain space in the overlay, it just get's marked as deleted.
There have been some folks reporting that when the persistence file or partition was maxed out it rendered their USB key useless.
The Knoppix live CD image likely is hybrid, meaning it can be booted in both UEFI and legacy BIOS machines, depending on how it was written to the microSD, this hybrid boot configuration was also written to the card. There would be both a DOS and GPT partition table, this configuration would have a protective MBR which is required as part of the GPT standard. As such, I have found after writing a Debian ISO to a USB key using Rufus a few times reduced the size of my key and I was not able to get the full capacity back by simply deleting partitions and create new. By running command: dd if=/dev/zero of=/dev/USBkey and stopping it after a minute or so allowed the creation of a new MBR and thus regaining full capacity.
Other members here also experienced reduced functionality after writing multiple ISO images to their key, my suggestion to run the dd command allowed them to regain proper functionality also.
There have been some folks reporting that when the persistence file or partition was maxed out it rendered their USB key useless.
The Knoppix live CD image likely is hybrid, meaning it can be booted in both UEFI and legacy BIOS machines, depending on how it was written to the microSD, this hybrid boot configuration was also written to the card. There would be both a DOS and GPT partition table, this configuration would have a protective MBR which is required as part of the GPT standard. As such, I have found after writing a Debian ISO to a USB key using Rufus a few times reduced the size of my key and I was not able to get the full capacity back by simply deleting partitions and create new. By running command: dd if=/dev/zero of=/dev/USBkey and stopping it after a minute or so allowed the creation of a new MBR and thus regaining full capacity.
Other members here also experienced reduced functionality after writing multiple ISO images to their key, my suggestion to run the dd command allowed them to regain proper functionality also.
Thanks, I think this is what happened.
SD seems to be corrupted. DD command didn't do it.
When I try anything with G-parted I get an input output error.
Getting used to the idea that this amazing SD which I can't even buy where I live is toast...
Well, you mentioned KNOPPIX-DATA partition a few times, did you try to zero out that partition also with dd?
The command I posted would start at the begging of the drive.
dd if=/dev/zero of=/dev/sdxx bs=4K, replace the "x" with appropriate values
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.