Re: Re[2]: Kickstart on serial ASCII terminal

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

 



Yet another option is to insert the kickstart
file into the initial ramdisk image, and tell syslinux
to read it.  The advantage is that it works
automatically, and you don't have to type something
at the SYSLINUX prompt.  If you are doing a NFS
install, you'll only need to insert one floppy into
the machine your booting, instead of one floppy with
the boot image and one floppy with the kickstart file.
This is a plus if you have a lot of machines to load.

That is, for a NFS boot, do something like
(Warning: this should work, but this code is untested,
YMMV, the usual caveats apply:)

----begin pseudo-code----

# Set up a CD-ROM hierarchy on an NFS server, by
# copying the CD-ROM files from CD1 and CD2 to a disk.
# Then

cd < top level of the hierarchy >
cd images
cp bootnet.img /tmp
cd /tmp
mkdir bootnet initrdnet
# Assuming your kernel supports the loopback driver:
mount bootnet.img bootnet -o loop
gunzip < bootnet/initrd.img > /tmp/initrd.img
mount initrd.img initrdnet -o loop
# If you want to do an NFS install, you'll need to
# configure your kickstart file to reference the
# NFS server.  Then...
cp <your kickstart file> initrdnet/
umount initrdnet
gzip < initrd.img > bootnet/initrd.img
cd bootnet
# edit syslinux.cfg, and add to the append line:
# "ks=file:/ks.cfg console=ttyS0,9600n8"
#
# Suggestion: put this in a new stanza in the
# syslinux.cfg file.
cd /tmp
umount bootnet
cd <back to your cd-rom image hierarchy>
cd images
cp /tmp/bootnet.img bootnet.img

----end of pseudo-code----

You'll also have to copy the bootnet.img to a floppy.

If someone knows a simpler way to do this, please
post it to the list.

--Seth Alford
sethal@xxxxxxxxx

--- Brock Organ <borgan@xxxxxxxxxx> wrote:
> 
> At the syslinux prompt is where you can add this:
> 
> SYSLINUX: linux ks=<your option here> serial
> 
> or alternatively
> 
> SYSLINUX: linux ks=<your option here>
> console=ttyS0,9600n8
> 
> to explicitly specify ttyS0 and 9600 speed ...
> 
> brock
> 
> 
....

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/





[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