Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i learnt that there is a way where we can automate the installation of redhat using a kickstart script. But everywhere they talk about doing that from bootable floppy image.
i have a single dvd of redhat (RHEL5). Can any one tell how can i kickstart the installation using the kickstart script i,e. where do i place the ks.cfg file on the disk and what command to be given at boot prompt. (kickstart from dvdrom and not from any network).
pls suggest if there are any changes to be done for the above mentioned job.
thanks.
UDAY.
Last edited by udaypratapyati; 02-09-2011 at 03:34 AM.
If you want to include the kickstart file to your DVD, you'll first have to the contents of the DVD (beware of hidden files) to another directory, make your changes, rebuild the image with mkisofs or something like that and then burn that image to DVD. From that point on you'll have a bootable DVD with kickstart. You'll also have to change your isolinux.cfg to point to the kickstart file.
You can find all the information you need at the following site:
You can use the net install iso image to bootstrap a kickstart installation. The way that works for me is to put the kickstart file on an internal http server accessible by the machine that is being setup.
The official documentation is very good and thorough:
Basically you include your script in your DVD (in a directory extra for example) and upon installation you copy the contents of that directory to your harddisk after installation. Then you just call it from your kickstart script. I've sent you one of my kickstart files so you can have a look at it.
Basically you include your script in your DVD (in a directory extra for example) and upon installation you copy the contents of that directory to your harddisk after installation. Then you just call it from your kickstart script. I've sent you one of my kickstart files so you can have a look at it.
Kind regards,
Eric
Sorry i am new to this... couldn't get what i wanted from the script. If you don't mind can u please explain how can copy files from the cdrom to the harddisk and how do i call the script that is included in the "Extra" dir.
this is what i tried in the post section.... (Note: i have not defined any pre section)
Read the script I send you again, you forgot some critical parts, like mounting the cdrom, so it's normal that files aren't copied. You need to mount and then copy. I assure you the ks.cfg I sent you works, but you need to read it carefully, not forgetting or eliminating crucial stuff.
Read the script I send you again, you forgot some critical parts, like mounting the cdrom, so it's normal that files aren't copied. You need to mount and then copy. I assure you the ks.cfg I sent you works, but you need to read it carefully, not forgetting or eliminating crucial stuff.
Kind regards,
Eric
Hi Eric,
Can u pls explain this...
Quote:
# where the root of the new system is mounted
ROOT=/mnt/sysimage
# where we save the source media information (should mathc the "pre" section)
SOURCE_DESC=/tmp/cdrom.ls
i could not get these.... as i don't see anything called cdrom.ls infact in my working system i found /dev/cdrom and /dev/cdrom-hdc present
also pls breif on /mnt/sysimgae stuff....
This will be of great help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.