-
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 Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS
$2749.99
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$79.19
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$189.99
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45
$360.00