-
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
Cisco Systems NCS2K-20-SMRFS-L optical multiplexor CISCO EXCESS
$3599.00
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
Cisco RV160 VPN Router 4 Gigabit Ethernet Ports RV160-K9-AR
$80.00
Cisco 1100 Terminal - gateway - rack-mountable C1100TGX-1N24P32A
$1349.00
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$83.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Cisco CBS350-24FP-4G 28 Port PoE Managed Ethernet Switch
$319.99
Lot of 4 Cisco QSFP-40G-SR-BD 10-2945-02 Transceiver Modules Hologram
$47.99
Cisco C9200 48-Port Gigabit Network Switch With Ears P/N: C9200-48T-E Dual Power
$799.97
New Cisco C9200-NM-4X Catalyst 9200 Series Network Module 4 X 10GE *MINT*
$429.97