autoinstall from CD (SuSE 8.2) grub problem (wrong/missing gfxmenu line)
Hi!
I'm using the current autoyast2 (2.7.19) on a SuSE 8.2 Professional system.
The problem I got is that the gfxmenu line for grub offered by autoyast2 is
syntactically wrong. It looks like
gfxmenu (hd0,5)hd0,5)/boot/message
^^^^^^
here's the error
The partition (hd0,5) itself is correct, but I can't think of any reason why
the redundant stuff, leading to a syntactically incorrect line, is in here.
Sure, I can click on "Booting" and manually edit the line so that it's
correct and gets included in the grub config of the installed system, but
that's kind of awkward. If I don't edit the line and instead leave it as it
is, it won't be included in the menu.lst file and I will thus have a textual
boot menu instead of the desired GUI one.
My question thus is: Why does this happen and how can I prevent it from
happening again during future autoyast2 install sessions?
Thanks in advance for any info/suggestions!
Below you'll find my autoinst.xml file which, apart from the issue
just mentioned, works flawlessly:
-----------------------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "autoyast-dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<networking>
<dns>
<domain>local</domain>
<hostname>servunit</hostname>
</dns>
<interfaces config:type="list">
<interface>
<bootproto></bootproto>
<device>eth0</device>
<ipaddr>192.168.0.1</ipaddr>
<netmask>255.255.255.0</netmask>
<startmode>onboot</startmode>
</interface>
</interfaces>
<!--
<routing>
<routes config:type="list">
<route>
<destination></destination>
<device></device>
<gateway></gateway>
<netmask></netmask>
</route>
</routes>
</routing>
-->
</networking>
<!-- runlevels needs to be inserted here -->
<scripts>
<post-scripts config:type="list">
<script>
<filename>txspost.sh</filename>
<interpreter>shell</interpreter>
<source>
<![CDATA[
#!/bin/sh
# run txs support script
cd /opt/txs-support/install
./install.sh
# insserv aladdin
insserv /etc/init.d/aladdin
# mark device with MBR as bootable
sfdisk -A1 $(grep " / " /etc/fstab | awk '{print $1}' | sed 's/[0-9]//')
# reboot system
#reboot
]]>
</source>
</script>
</post-scripts>
</scripts>
<security>
participants (1)
-
Holger Rauch