Kickstart installation from USB -- Kickstart location
Posted
by
dooffas
on Server Fault
See other posts from Server Fault
or by dooffas
Published on 2013-10-28T11:23:57Z
Indexed on
2013/11/07
9:58 UTC
Read the original article
Hit count: 530
After managing to get a Fedora ISO to rebuild successfully (for a USB stick) after adding a kickstart file (http://serverfault.com/questions/548405/), I now have an issue with locating the kickstart file on the USB media.
When this is done from a CDROM you can simply kickckstart by adding this parameter to boot:
linux ks=cdrom
This will kickstart (providing the kickstart file is named ks.cfg and is in the root of the disk).
Now, obviously this will be different for the USB drive, so from my research, I assumed that this line would do the job:
linux ks=hd:sdb1:/ks.cfg
Evidently this does not work. I get an error informing me this drive is already mounted and cannot be remounted.
EDIT: Actual error message:
mount: /dev/sdb1 is already mounted or /run/install/tmpmnt0 busy
Warning: Can't get kickstart from /dev/sdb1:/ks.cfg
To test that the syntax was correct I placed the kickstart file on another USB stick and loaded the same command to grab ks.cfg from the new location:
linux ks=hd:sdc1:/ks.cfg
This does work (providing USB sticks are mounted in order, boot -> sdb1, kickstart -> sdc1). The install will kickstart and complete the install with no issue. Obviously having to use 2 pen drives is somewhat frustrating and unreliable.
Is there a way around this?
© Server Fault or respective owner