Re: scsi w/net install

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

 



On Mon, 2002-08-05 at 19:57, Robert Citek wrote:
> 
> Hello all,
> 
> I am trying to do a kickstart install on several machines that have
> harddrives but no floppy.  Some of these machines have SCSI harddrives
> while others have IDE.  On those with IDE harddrives I do the following:
> 
>  1) copy the files in bootnet.img to /boot/ks
>     #!/bin/bash
>     mkdir -p /tmp/ks.bootnet
>     mount -o loop bootnet.img /tmp/ks.bootnet
>     cp -a /tmp/ks.bootnet /boot/ks
> 
>  2) copy my ks.cfg file to /boot/ks
> 
>  3) add this stanza to /etc/lilo.cfg:
>     image=/boot/ks/vmlinuz
>         label=install
>         initrd=/boot/ks/initrd.img
>         read-only
>         root=/dev/hda1
>         append="ks=hd:hda1/ks/ks.cfg"
> 
>  4) update lilo with 'lilo && lilo -R install'
> 
>  5) reboot
> 
> This works just fine for the machines with IDE drives.  However, on the
> machines with SCSI drives, linux complains with "failed to mount sda1".  My
> guess is that the /boot/ks/vmlinuz kernel does not have the SCSI driver
> loaded.  Am I correct?  

I don't think so. I do something similar with grub and use the same ks
config file, boot images and grub boot stanza for both ide and scsi
machines. This is for redhat 7.2. 

FYI here is what works for me with grub:

# edit this to get the correct names then install the boot images
# title Red Hat Linux net install
#       root (hd0,0)
#       kernel /vmlinuz-rh-netinstall root=/dev/sda2
ks=nfs:aaa.bbb.ccc.ddd:/path/to/kickstart/ws.cfg
#       initrd /initrd.img-rh-netinstall

(All the above lines should begin with '#'; any that don't have
wrapped).

vmlinuz-rh-netinstall and initrd.img-rh.netinstall are taken from
bootnet.img.

Regards,

Chris





[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