Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to end up with a bootable DVD that will automatically start the kickstart script and perform an unattended install. The motive of doing so is that a person who is not having any knowledge related to Linux can able to install it with an ease. I have read a few things that say that ks.cfg must be in the root of the image. I've read other things that say that isolinux/ is really the root, and so the ks.cfg must be there. Neither work. In my isolinux.cfg, I have:
ks.cfg is in isolinux/ as well as the top-level directory. What am I missing? How do I get the booted OS to read and use ks.cfg?
also i had added "default ks" in isolinux.cfg file
i had used the following command to make the isoimage of ks.cfg i had placed my dump of fedora8 in /bkup/dump3
"mkisofs -o ../cdrom.iso -A 'ISOLINUX' -V 'ISOLINUX' -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ."
also the .treeinfo and .diskinfo both hidden files are present.
then i created the isoimage of my dump with the command
"mkisofs -o /fedora.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /bkup/dump3."
then i burned the iso image "fedora.iso" to a dvd with the help of k3b
the dvd is bootable but at boot time when prompt comes i gave the command "linux ks=cdrom:/ks.cfg"
but its giving me the error
RAMDISK: compressed image found at block 0
crc error
VFS:cannot open root device "<null>" or unknown-block (253,0)
please appened a coorect "root=" boot option; here are the available partitions:
kernel panic - not syncing:VFS:unable to mount root fs on unknown-block(253,0).
menu background splash.jpg
menu title Welcome to Fedora 8!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
menu color unsel 0 #ffffffff #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
label linux
menu label ^Install or upgrade an existing system
menu default
kernel vmlinuz
append initrd=initrd.img
label text
menu label Install or upgrade an existing system (^text mode)
kernel vmlinuz
append initrd=initrd.img text
label rescue
menu label ^Rescue installed system
kernel vmlinuz
append initrd=initrd.img rescue
label local
menu label Boot from ^local drive
localboot 0xffff
label memtest86
menu label ^Memory test
kernel memtest
append -
label ks
menu label ^Install from kickstart
kernel vmlinuz
append initrd=initrd.img ks=cdrom:/isolinux/ks.cfg
The problem with me is that kickstart file is not find by the kernel for that installation doesn't proceed.
your biggest problem is that "cdrom.iso". Your ks file is in that iso and that is not where it will be accessible.
As for the path to where you want your ks.cfg, you can put it anywhere, and just reference it during the boot process (or your isolinux.cfg if you want.). When you boot from the install cd and type "linux ks=cdrom:/ks.cfg" you are telling it to read the ks.cfg from the root of the cdrom. If you typed "linux ks=cdrom:/folderA/ks.cfg" you are telling it to read the ks.cfg from a folder "folderA". Also, you don't need to call it ks.cfg, you could call it ConfigA.cfg - just so long as you give it the correct path.
So, the easiest way, is get a correct Fedora install dvd or ISO, copy/extract all the files (including the hidden ones like you mentioned) to a folder. Then copy your ks.cfg to the root of that folder. Then bundle it back up using the mkfsiso you were using above. Burn to a DVD and boot from it. Put the command "linux ks=cdrom:/ks.cfg" and watch it work. Once you have that, then you can play with modifying your isolinux.cfg. I think you are basically correct with your isolinux.cfg modifications, I just haven't done that sort of thing in a while now, so I can't be sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.