default ks
prompt 1
timeout 100
display boot.msg
label linux
kernel vmlinuz
append ks=floppy initrd=initrd.img network
yours a.r.b.u.
Neil Sherin wrote:
Hi Ralf,Thanks for those tips.
I'd fixed the language issue after I posted this. I've got an NFS install going successfully as well. By doing this, this fixed problem two - regarding hostnames.
I've now got a new problem! I've gone one further and have got PXE boot going. It works well, but I cannot seem to automatically specify a kickstart install at bootup. At the Kernel Options prompt, I have to type 'linux ks'. Is there a way to automate this?
Thanks,
Neil Sherin
-----Original Message-----
From: Ralf Siegert <ralf siegert redhat de>
Date: Fri, 21 Jul 2000 13:13:35 +0200
To: redhat-install-list redhat com
Subject: Re: Kickstart Issues> Neil Sherin wrote:
> >
> > Hi all,
> >
> > I am attempting to install Red Hat Linux using the Kickstart method of installation, but have come up against several issues:
> >
> > 1. Installation proceeds without problems on Red Hat 6.1 if you leave the 'lang en' line out of the ks.cfg file. If this is kept in, then the installation routine terminates. At present, I have left it out of the file and am prompted at the beginning of the install for the language. When I did place it in ks.cfg, it was the first line in the file.
>
> Usually the installer "anaconda" terminates if it gets a "not
> recognized" feature in ks.cfg. I use lang en_US, and that works, maybe
> lang en do not work during kickstart installation, despite the fact
> mkkickstart produce this feature. Be careful!
>
> >
> > 2. There is no way of setting a hostname in the ks.cfg file. Is there a way round this, so that the hostname is already set when the system reboots?
>
> You have two possiblities: 1. If you config dhcpd.conf with static
> ip-adresses, and use dhcp in ks.cfg, you can set the hostname in
> dhcpd.conf. 2. At the end of ks.cfg there is a section which is called
> "post installation routine" (%post). Use this to add shell, perl, ...
> commands to ks.cfg, to do every kind of post installation you like. For
> example to add a line in config files.
>
> >
> > 3. I use DHCP to assign IP addresses for the machines during installation, but wish to keep the IP address that the DHCP server assigns to them as the static IP address after installation.
>
> Ok, I should read the whole email as first! See at the bottom of
> dchpd.conf.sample (/usr/doc/dhcp...) how to assign static ip-adresses to
> hosts. It is very easy, but looh carefully at syntax.
>
> Go one with reading!
>
> >
> > Any help would be much appreciated with these issues. A copy of my ks.cfg is at the end of this. The 'lang en' line has been left out due to the issue mentioned above.
> >
> > Thanks in advance,
> >
> > Neil Sherin
> >
> > Copy of ks.cfg
> >
> > network --bootproto dhcp
> > cdrom
>
> Why do not use NFS? Mostly faster and you can handle everything on the
> server!
>
> > keyboard us
> > zerombr yes
> > clearpart --linux
> > part swap --size 256
> > part / --size 500
> > part /home --size 300
> > part /usr --size 5030
>
> Later you install a server, better you use partitions for /var and /tmp
> asa well.
>
> > install
> > mouse generic3ps/2
> > timezone Hongkong
> > rootpw unix12
>
> You can set a encrypted password as well!
>
> > auth --useshadow --enablemd5
> > lilo --location mbr
> > %packages
> > @ Server
>
>
> %post
> HOSTNAME=host.local.net >> /etc/sysconfig/network (or so ...)
>
>
> --
> mit freundlichen Gruessen / with best regards
>
> Ralf Siegert
>
> Training & Zertifizierung
> Red Hat GmbH Fon.: +49-711-96437-500 Red Hat Linux
> Hauptstaetterstr. 58 Fax.: +49-711-96437-111 The Revolution of
> Choice
> D-70178 Stuttgart eMail: ralf siegert redhat de
> Germany Web: http://www.redhat.de
--
_______________________________________________
Get your free email from http://www.graffiti.net--
To unsubscribe: mail redhat-install-list-request redhat com with
"unsubscribe" as the Subject.
-- \\|// ( O O ) /=================================oOOo==(_)==oOOo===========\ | Alan Barrow-Urquiza arbu cwcom net | | IMAP C W Comm | | | | "Your mouse moved, please reboot NT to view the Changes" | | | | 0777-159-7509 .oooO | | ( ) Oooo. | \====================================\ (==( )=============/ \_) ) / (_/