-
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
Dell EMC NX3230 Server
$599.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox
$340.00
Dell PowerEdge R610
$80.00
Dell PowerEdge R730 8SFF 2x E5-2660 v3 = 20 Cores 128/256GB 3x 600/900GB H730
$349.99
Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7
$17.99
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$44.99
Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H
$27.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell Precision 3450, 256GB 32GB RAM, Xeon W-1250, Comet Lake GT2, W10H, Grade B+
$262.99