undoubtedly easy question about customizing syslinux.cfg

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

 



  a couple kickstart-related questions about messing with the
syslinux.cfg file.  first, here's the syslinux.cfg file out of
the "boot.img" file:

default linux
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 general.msg
F3 param.msg
F4 rescue.msg
F7 snake.msg
label linux
  kernel vmlinuz
  append initrd=initrd.img lang= devfs=nomount ramdisk_size=8192 vga=788
label text
  kernel vmlinuz
  append initrd=initrd.img lang= text devfs=nomount ramdisk_size=8192
label expert
  kernel vmlinuz
  append expert initrd=initrd.img lang= devfs=nomount ramdisk_size=8192
label ks
  kernel vmlinuz
  append ks initrd=initrd.img lang= devfs=nomount ramdisk_size=8192
label nofb
  kernel vmlinuz
  append initrd=initrd.img lang= devfs=nomount nofb ramdisk_size=8192
label lowres
  kernel vmlinuz
  append initrd=initrd.img lang= lowres devfs=nomount ramdisk_size=8192



  as a beginning, the wording in the syslinux.doc file seems misleading.
that file describes the configuration line

  DEFAULT kernel options...

as i understand it, the word after "default" is not a kernel, it's simply
a label that should match one of the labelled stanzas further down the
file, correct?

  second point: if, at the boot prompt, i type a label followed by
one or more options, i'm assuming that those options are *added* to
the append options already listed for that label, yes?  so if i type

  boot: linux ks=floppy

i get the stanza labelled by "linux" with all of the corresponding
append options, *as well as* my "ks=floppy" option, right?

  now say i wanted to create a custom boot floppy that automatically
did a floppy-based kickstart install.  i can see a couple of different
ways to do this:

1) just change the default line to read

  default linux ks=floppy

2) add a new stanza with a label like, say "ks", that had the
ks=floppy option appended to the list of options, and have the
default line

  default ks

leaving the original linux stanza where it was.

  will either of these work?  is one recommended over the other?

rday





[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