Hello to you all,
I wrote for the following bootloader part and Yast will crashes with
errormessage (xml is checked with tidy):
.... bootloader/routines/misc.ycp:974 invalid cast of vcp value:
[$["section_entry"]:$["key"]:"initrd"........ Should be but is not a map
I try to specifiy every section because in the future the Knoppix and
Windows sections are password locked.
<---- menu.lst --->
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 vga=0x317 splash=silent
desktop resume=/dev/hda2 showopts
initrd (hd0,0)/boot/initrd
title Knoppix
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=791
ramdisk_size=100000 init=/etc/init lang=de apm=power-off nomce quiet
initrd (hd0,2)/boot/initrd.img
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,3)
chainloader +1
< --- >
<---- autoist.xml ----->
<!-- Bootloader Konfiguration -->
<bootloader>
<global config:type="list">
<key>color</key><value>Wb:kw:Wb:Wb</value>
<key>default</key><value>0</value>
<key>timeout</key><value>8</value>
<key>gxmenu</key><value>(hd0,0)/boot/message</value>
<sections config:type="list">
<!-- Linux Sektion -->
<section>
<key>title</key><value>Linux</value>
<key>kernel</key><value>(hd0,0)/boot/vmlinuz
root=/dev/hda1 vga=0x317 splash=silent desktop resume=/dev/hda2
showopts</value>
<key>initrd</key><value>(hd0,0)/boot/initrd</value>
</section>
<!-- Knoppix Sektion -->
<section>
<key>title</key><value>Knoppix</value>
<key>kernel</key><value>(hd0,2)/boot/vmlinuz
root=/dev/hda3 vga=791 ramdisk_size=100000 init=/etc/init lang=de
apm=power-off nomce quiet</value>
<key>initrd</key><value>(hd0,2)/boot/initrd.img</value>
</section>
<!-- Windows Sektion -->
<section>
<key>title</key><value>Windows</value>
<key>root</key><value>(hd0,3)</value>
<key>chainloader</key><value>+1</value>
</section>
</sections>
</global>
</bootloader>
Couldn't I write it like this? No examples from A. Nashif explaines how
to specify a section. I read it from the bootloader.dtd file.
--
Thx for your help
Ralf Neugebauer
Fachhochschule Osnabrück
Albrechstr. 30
49076 Osnabrück
Tel. (0541) 969-3673
Fax. (0541) 969-3671
eMail R.Neugebauer@et.fh-osnabrueck.de