Hello all!
I´m having some problems installing the grub-bootmanager on my
boot-device (is a software-raid1). /boot is also missing in the
/etc/fstab once the installation is complete but the raid1 is correctly
configured and formated.
Does someone know how I can get the 'chroot-scripts' working? I also
found no way to prevent the reboot at the end of the installation ....
very strange
Here are some parts of my xml file:
......
<chroot-scripts config:type="list">
<script>
<filename>/tmp/grub.sh</filename>
<interpreter>shell</interpreter>
<source>
<![CDATA[
#!/bin/sh
mkinitrd -m "raid1 lvm-mod xfs" -d /dev/rootvg/rootlv -b /boot /
cat << MENU > /boot/grub/menu.lst
color white/blue black/light-gray
default 0
timeout 10
title linux
kernel (hd0,0)/vmlinuz root=/dev/rootvg/root_lv acpi=oldboot
initrd (hd0,0)/initrd
title failsafe
kernel (hd0,0)/vmlinuz.shipped root=/dev/rootvg/root_lv ide=nodma
apm=off acpi=off vga=normal nosmp noapic maxcpus=0 3
initrd (hd0,0)/initrd.shipped
MENU
cat << GRUB > /etc/grub.conf
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)
quit
GRUB
grub --batch < /etc/grub.conf
exit 0
]]>
</source>
</script>
</chroot-scripts>
......
<install>
<bootloader>