[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-autoinstall
Subject:    [suse-autoinstall] Bootloader part cause yast crash
From:       Ralf Neugebauer <R.Neugebauer () et ! fh-osnabrueck ! de>
Date:       2004-07-16 7:56:21
Message-ID: 40F78A25.7080806 () et ! fh-osnabrueck ! de
[Download RAW message or body]


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">
               
<global_entry><key>color</key><value>Wb:kw:Wb:Wb</value></global_entry>
               
<global_entry><key>default</key><value>0</value></global_entry>
               
<global_entry><key>timeout</key><value>8</value></global_entry>
               
<global_entry><key>gxmenu</key><value>(hd0,0)/boot/message</value></global_entry>
                <sections config:type="list">
                  
                    <!-- Linux Sektion -->
                    <section>
                       
<section_entry><key>title</key><value>Linux</value></section_entry>
                       
<section_entry><key>kernel</key><value>(hd0,0)/boot/vmlinuz 
root=/dev/hda1 vga=0x317 splash=silent desktop resume=/dev/hda2 
showopts</value></section_entry>
                       
<section_entry><key>initrd</key><value>(hd0,0)/boot/initrd</value></section_entry>
                    </section>
                   
                    <!-- Knoppix Sektion -->
                    <section>
                       
<section_entry><key>title</key><value>Knoppix</value></section_entry>
                       
<section_entry><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></section_entry>
                       
<section_entry><key>initrd</key><value>(hd0,2)/boot/initrd.img</value></section_entry>
                    </section>

                    <!-- Windows Sektion -->
                    <section>
                       
<section_entry><key>title</key><value>Windows</value></section_entry>
                        
<section_entry><key>root</key><value>(hd0,3)</value></section_entry>
                        
<section_entry><key>chainloader</key><value>+1</value></section_entry>
                    </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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic