Re: SCSI / IDE detection using kickstart and loadlin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 18 Feb 2003, dfloyd1 wrote:

> Greetings,
> 
> In my environment, we have been tasked to have kickstart be used to automate
> the setup of our Linux boxes. The interesting twist is that nobody will be
> at the consoles to insert disk media (cd-roms nor floppy) and the entire
> installation has to kick off from the first partition (Fat32) of the hard
> drive.

How are you getting the Linux images to these machines?

> 
> The hard drives arcitecture varies (Some machines may have 1 IDE, Some have
> 1 SCSI) so we need to make sure the process can detect which type of hard
> drive it is loading from.
> 
> In addition, the kickstart file needs to be called from the hard drive via
> loadlin.exe  (Fat32 partition...sda1 or hda1...) and not initially enclosed
> in an initrd until loadlin boots the kernel.
> 
> 
> My current batch file runs the following:
> loadlin vmlinuz initrd=initrd.img ramdisk_size=7192 ks=hd:hda1/ks.cfg
> 
> which, of corse works great on IDE machines since I'm specifying that it's
> IDE.
> 
> Is is possible to, say, package a dummy ks.cfg file in the initrd, use
> ks=file:ks.cfg as the parameter and before the installer reads the ks file,
> get the initrd to detect whither the hd is scsi or ide (maybe by issuing a
> mount /dev/hda1 attempting to copy/mnt/hda1/ks.cfg, umount hda1, mount sda1
> attempt to copy /mnt/sda1/ks.cfg..  and append it's findings to ks.cfg?
> 
> 
> Again, we have a Fat32 bootable partition which boots linux via loadlin and
> must detect the hard drive just like it can when linux is installed via
> CD...(If it sees a scsi drive, it defaults to sda...etc).
> 
> Many thanks for your sugesstions and assistance,
> 
> Dave
> 
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 

-- 
Please, reply only to the list.






[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux