LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-13-2019, 06:12 AM   #1
Duperuser
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Rep: Reputation: Disabled
Suddenly long boot time on KNOPPIX


Hello Everyone!

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

Thanks in advance!
 
Old 02-14-2019, 01:01 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 12,606

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
have you tried another usb stick?
 
Old 02-14-2019, 01:30 AM   #3
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
Originally Posted by Duperuser View Post
the overly partition is too small.
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.
 
1 members found this post helpful.
Old 02-14-2019, 04:17 AM   #4
Duperuser
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have knoppix on other sticks, but I want it to work again on my 120 gig micro SD.

I tried deleting the KNOPPIX-DATA partition but without success.

By now I even tried a complete re-installation sacrificing my data, and guess what: Data still there and same problem. This is very strange.

I booted a different system (mint) and it showed me that the KNOPPIX-DATA PARTITION is still mounted, even though it's not even plugged in!

I guessed there is nothing left but doing a manual format and then trying re-installation again.
 
Old 02-14-2019, 10:49 AM   #5
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
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.
 
Old 02-14-2019, 11:11 AM   #6
Duperuser
LQ Newbie
 
Registered: Feb 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Brains View Post
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...
 
Old 02-14-2019, 11:42 AM   #7
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
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

Last edited by Brains; 02-14-2019 at 11:43 AM.
 
Old 02-14-2019, 11:49 AM   #8
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 972

Rep: Reputation: 259Reputation: 259Reputation: 259
Keep in mind, if you are placing the microSD in an SD adapter, some SD adapters have a lock feature.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mint 17.1 Rebecca suddenly switches to sign in screen; Firefox suddenly shuts down. TooTall Linux Mint 6 10-16-2016 09:30 AM
Long time member, long time *nix user, about time to say hi. stuman LinuxQuestions.org Member Intro 0 10-15-2013 07:35 AM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration