-
Junior Member
registered user
problem adding "myconf=scan home=/dev/sda1" to iso
Well, actually I added "myconfig=scan home=/dev/sda1" but that wouldn't all fit on the title.
I'm trying to follow the instructions in these two threads:
http://www.knoppix.net/forum/viewtopic.php?t=15469
http://www.knoppix.net/forum/viewtop...er=asc&start=0
in order to make a CD that uses a home directory on a USB keychain drive. I am working with Knoppix 3.7 since the "unionfs" stuff in the more recent versions doesn't seem to work properly for me (takes forever, and often causes filesystem corruption -- but that's a separate topic).
I changed the second and third lines of the isolinux.cfg file to read as follows (first line is also included below for clarity):
Code:
DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 myconfig=scan home=/dev/sda1 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 100
The original was:
Code:
DEFAULT linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix
TIMEOUT 300
In short, I added "myconfig=scan home=/dev/sda1" after the VGA parameter but before the INITRD parameter. (Sorry about the lines wrapping due to length, I know it's hard to read.)
I also edited the last line to make the file the same size as the original (a bunch of comment characters, put there for exactly this purpose). I then used the modified "isoinfo" posted by Fabianx (thanks!) in the second thread above to replace the one in the ISO image with my modified version.
This much obviously worked correctly -- I did file comparisons to make sure the file was correctly in place and nothing else had changed. However, when I boot the CD, I get an error message about the SDA1 drive not existing. It asks if I want to "retry (Y/n)", but no matter what I respond with, it keeps retrying in an apparent infinite loop. Yes, no, ctrl-C, carriagereturn, whatever -- it just keeps retrying and printing the error message.
My flash drive is completely empty -- no home directory info or scripts yet, since this is the first time I'm booting the modified CD.
Do I need to initialize the flash drive somehow, or am I going about this whole thing wrong?
Thanks,
Hairy
Similar Threads
-
By GCMartin in forum Hardware & Booting
Replies: 10
Last Post: 05-09-2010, 04:44 PM
-
Replies: 4
Last Post: 11-18-2006, 07:09 PM
-
Replies: 6
Last Post: 04-22-2005, 10:02 PM
-
By Pokec in forum General Support
Replies: 2
Last Post: 12-07-2003, 07:39 PM
-
By neitzel in forum Customising & Remastering
Replies: 1
Last Post: 07-16-2003, 06:44 PM
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 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

20TB 7200 RPM SATA III Internal 3.5" White Label Hard drive
$349.99

HGST Ultrastar HUS726040AL5210 4TB 7200RPM SAS 12Gb/s Enterprise HDD
$41.00

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD
$339.00

Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5" Hard Drive MB4000GCWDC /ST4000NM0033
$125.00

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95