|
From: Bruce S. <bw...@ar...> - 2003-08-27 12:27:00
|
> > It would be easy to hack the linuxrc startup script, and say if > > /cdrom/config/etc-static.tar.gz2 exists, then completely ignore the > > floppy and USB devices, and ONLY untar the static etc file from CD. > > I like this idea, too. > It will work only with IDE CD-ROMs . Good point. Speaking of CD drives, I installed the latest DL on a PC with a SCSI CD drive for the first time yesterday. I started out with a blank floppy. It booted, ask if I wanted to copy the config to floppy (I said "y"), and it ask if I wanted to probe for SCSI controllers. Again I said "y". And ... PUKE! :-) It couldn't find any SCSI modules. Are any SCSI modules available to the boot script at that time now? Or have they all been removed to save memory? Or have they moved? If they've been removed, we might as well remove the code (and question) for probing for SCSI. > I would do it this way: check if conventional config media is available, > if not, check if we find a IDE CD-ROM with the config on it, if not, > *BEEP* BEEP* BEEP* Please insert blablabla I can't decide if it'd be best to check for media on CD or media first. They both have their advantages. > > How hard would it be to write a script that would read a DL CD (or ISO), > > replace one file on it, and write a new ISO image? This script would > > need to run in a normal Linux distribution (Redhat/SuSE/...), not from > > the chroot development environment. > > I don't think that will be too hard, we (actually you) just need to play > around with the mkisofs/cdrecord tools. You also need to define a > minimum version of the tool. I took a quick look at the build-iso script, and it shouldn't be too hard to write such a script. - BS |