Hello,
I've been trying to kickstart a install centos from a USB memory stick. Everything with that is working fine, but I seem to be having a problem with the ks.cfg file.
When I boot the install media from the usb drive, the the boot prompt I type
linux ks=hd:/dev/uba1/ks.cfg
Then I peek at the logs and it even says
* getting kickstart file * getting kickstart file from harddrive * Loading ks from device on path dev/uba1/ks.cfg * getFileFromBlockDevice(, dev/uba1/ks.cfg)
But when the install script starts, it still ask me for install media location. Here's a copy of my ks.cfg too.. Permissions of the file on /dev/uba1 are 744.
Thanks
## ## sample config file for testing Kickstart ## for OnLAMP.com article ## ## NOTE: Likely, you'll have to change several values ## here to match your hardware. ## ##
## - - install type/source - - - - - - - - - - - install url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/Fedora/base
## - - debugging - - - - - - - - - - ## :: uncomment the following to debug a Kickstart config file ## interactive
## - - language and input support - - - - - - - - ## :: language used during install lang en_US.UTF-8
## :: mouse used during install mouse generic3ps/2
## :: runtime language and keyboard support langsupport --default en_US.UTF-8 en_US.UTF-8 keyboard us
## - - video card and monitor - - - - - - - - - -
xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16
## - - network configuration - - - - - - - - - - network --device eth0 --bootproto dhcp
## - - security and authentication - - - - - - -
rootpw ***********
firewall --disabled
authconfig --enableshadow --enablemd5
## - - time zone - - - - - - - - - - timezone America/Chicago
## - - boot loader- - - - - - - - - - bootloader --location=mbr
## - - disk setup - - - - - - - - - -
## :: remove old partitions
clearpart --all --initlabel
## :: choose between hard partitioning and LVM, ## :: then uncomment the proper set of lines
## :: hard partitioning # part /boot --fstype ext3 --size=100 --ondisk=sda # part / --fstype ext3 --size=1024 --grow --ondisk=sda # part swap --size=128 --grow --size=256 --ondisk=sda
## :: LVM # part /boot --fstype ext3 --size=100 --asprimary --ondisk=sda # part pv.00 --size=1 --grow --asprimary --ondisk=sda # # volgroup vgroot pv.00 # logvol / --name=root.fs --vgname=vgroot --size=1024 # logvol swap --name=swap.vol --vgname=vgroot --size=256
## - - package selection - - - - - - - - - - ## :: reboot the machine when done ## :: (it's up to you to remove the boot media)
reboot
## - - package selection - - - - - - - - - - ## :: this is a barebones install, just for testing Kickstart %packages @ dialup kernel grub e2fsprogs
## - - - - - - - - - - - - - - - - - - - - -
On Sat, 22 Apr 2006, Kevin Blackwell wrote:
I've been trying to kickstart a install centos from a USB memory stick. Everything with that is working fine, but I seem to be having a problem with the ks.cfg file.
install url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/Fedora/base
(cough) --- installing by kickstart across the public internet is a bit haphazard, as the retry mechanisms in the installer have to succeed every time; From the standpoint of installing Centos, perhaps the URL in question has not yet had its mirror catch up to Centos' stability ;)
- Russ Herrold
Kevin Blackwell wrote:
url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/Fedora/base
I've not used the url option, but I would think that should be:
url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/ ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/Fedora/base
-Steve
Steve Bergman wrote:
I've not used the url option, but I would think that should be:
url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/ ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/Fedora/base
Oops. Not sure how I did that. Of course, I meant:
url --url ftp://wuarchive.wustl.edu/mirrors/linux/distributions/fedora/4/i386/os/