Problem with syslinux.cfg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I have created a KS cdrom with a boot image , containing a compressed
initrd.img, this in turn contains my ks.cfg file.  syslinux.cfg in the
boot.img contains

default kickstart
prompt 0
label kickstart
  kernel vmlinuz
  append ks=file:kickstart/ks.cfg initrd=initrd.img


The CD is bootable ok , but appears to be ignoring my ks.cfg file as it
goes directly to asking for a language type.  Do I have to have an
absolute path to the ks.cfg file ?  I dont understand what I am doing
wrong, any help would be appreciated.



initrd when uncompressed and mouted as a loopback looks like this;

lrwxrwxrwx    1 root     root            4 Apr  9 05:36 bin -> sbin
drwxrwxrwx    4 root     root         1024 Apr  9 05:36 dev
drwxrwxrwx    3 root     root         1024 Apr  9 05:36 etc
drwxr-xr-x    2 root     root         1024 Aug 28 10:38 kickstart
lrwxrwxrwx    1 root     root           10 Apr  9 05:36 linuxrc ->
/sbin/init
drwxr-xr-x    2 root     root        12288 Apr  9 05:36 lost+found
drwxrwxrwx    2 root     root         1024 Apr  9 05:36 modules
drwxrwxrwx    2 root     root         1024 Apr  9 05:36 proc
drwxrwxrwx    2 root     root         1024 Apr  9 05:36 sbin
drwxrwxrwx    2 root     root         1024 Apr  9 05:36 tmp
drwxrwxrwx    3 root     root         1024 Apr  9 05:36 var

and the kickstart directory;

-rwxr-xr-x    1 root     root          595 Aug 28 10:38 ks.cfg

ks.cfg like this (its just a test) ;

lang en_US
network --bootproto static --ip 134.171.4.135 --gateway 134.171.4.199
--netmask 255.255.255.0 --nameserver 134.171.56.56
cdrom
keyboard us
zerombr yes
clearpart --linux
part /boot --size 100
part swap --size 1024 
part / --grow 
install
firewall --disabled
mouse msintellips/2
timezone --utc Europe/Berlin
auth --useshadow 
rootpw --iscrypted NFEPJN06RS6Ds
skipx
lilo --location mbr
reboot

# Here starts the package list

%packages
@ Base

# Here starts the post configuration script

%post

-- 
Stephen Johnston                                   Phone: +49 89
32006563
NGAST Advanced Project                             Fax  : +49 89
32006380
European Southern Observatory
Karl-Schwarzschild-Strasse 2
D-85748 Garching bei Muenchen                     
http://www.eso.org/~sjohnsto





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux