-
Knoppix 7.0.5 USB installer (experimental) fix for Dummies
As a new user to Knoppix, and Linux in general, I could not get Knoppix 7.0.5 (Experimental) to install on my USB due to the error message saying that the overlay must be set at 400MB.
I read Straute’sposts, 11 and 21, over and over trying as a FNG to understand what he was advising Philo to do and most importantly, how to do it. So with the little UNIX knowledge I have, I ventured down the following path.
To apply this fix/patch I used vi editor. Google “vi editor commands” if you’re not familiar with vi
1- Open a terminal window and at the “knoppix@Microknoppix:-$” prompt type su then hit[Enter]
2- At the “root@Microknoppix:/home/knoppix#” prompt type “cd /usr/bin” hit [Enter]
3- At the next prompt type “vi flash-knoppix2 [Enter]
4- At the #!/bin/bash prompt, use your down arrow key to scroll down to line “367,1.
You should be on the line that reads “total="$(awk '{print ($1 / 2048 )}'/sys/block/"${FLASH##*/}"/size 2>/dev/null)"
5- Use your right arrow key to scroll over to “total="$(awk'{print”
6- Place your cursor just after the word {print_” and press the letter “i” to Insert characters.
7- Make these changes: {printf ("%d", ($1 / 2048 ) )}’
8- Hit the ESC key, then type “:wq [Enter]” to write and save your changes to flash-knoppix2.
9- Open another terminal window and again type su [Enter]
10- Type “cd /user/bin/ [Enter]”
11- Type “ flash-knoppex2 [Enter]
12- When the “flash-knoppix (as superuser)” window opens, select your USB drive and click on [OK]
13- At the next window select option “p” and click on [OK]
14- You can now proceed with the install without the “overlay must be set at400MB’ message
I hope this is of some helpto those new to Linux and newer to Knoppix.
-
Senior Member
registered user
@ deviouswun
Nicely done and welcome to the forum.
Your helpful tutelage should be much appreciated.
IMO vi is for experts. Not having a UNIX background, per se,
I retreated to Leafpad (or its equivalent) long ago.
Regards, and please continue contributing.
-
KK has already corrected this error with
Code:
..
elif [ "p" = "$METHOD" ]; then
total="$(awk '{print int($1 / 2048)}' /sys/block/"${FLASH##*/}"/size 2>/dev/null)"
..
http://debian-knoppix.alioth.debian....flash-knoppix2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$169.99
Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$268.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99
Seagate 12TB 7.2K SAS 12G 3.5" Hard Drive HDD ST12000NM004J WL
$85.00