-
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

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD
$239.99

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

LSI 9305-16i SATA SAS 12Gbs Controller card PCIe 3.0 IT-Mode w/SAS SATA cable US
$125.98

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.26

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00