-
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

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB
$282.00

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

SAMSUNG FIT PLUS 128GB USB 3.1 Flash Drive - fully working & authentic
$24.95