Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 345 #371
i
i
i
i
i
i
i
i
16
Linux on Mobile Devices
Example 16.1: The File /boot/grub/menu.lst
gfxmenu (hd0,5)/boot/message
color white/green black/light-gray
default 0
timeout 8
title work
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 PROFILE=work
initrd (hd0,5)/boot/initrd
title home
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 PROFILE=home
initrd (hd0,5)/boot/initrd
title road
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 PROFILE=road
initrd (hd0,5)/boot/initrd
For systems that use LILO as the boot loader, refer to File 16.2 as an exam-
ple. Then you can select the desired profile at the boot prompt.
Example 16.2: File /etc/lilo.conf
boot = /dev/hda
change-rules
reset
read-only
menu-scheme = Wg:kw:Wg:Wg
prompt
timeout = 80
message = /boot/message
image = /boot/vmlinuz
label = home
root = /dev/hda6
initrd = /boot/initrd
append = "vga=0x317 hde=ide-scsi PROFILE=home"
image = /boot/vmlinuz
label = work
root = /dev/hda6
initrd = /boot/initrd
append = "vga=0x317 hde=ide-scsi PROFILE=work"
345
SUSE LINUX Enterprise Server