|
From: Heiko Z. <hz...@pr...> - 2003-08-27 15:07:07
|
On 08/27/2003 08:26:54 AM Bruce Smith wrote: >> > It would be easy to hack the linuxrc startup script, and say if >> > /cdrom/config/etc-static.tar.gz2 exists, then completely ignore th= e >> > 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 C= D >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 questio= n) >for probing for SCSI. All the SCSI modules should be there. >> 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. Just implement one, you can switch it later if you don't like it. That's just a bit cut'n'paste. >> > 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. Yeah, even you should understand it. *lol* (sorry, couldn't resist). cya Heiko = |