Hi all,
I have a bit of a wirdness in OpenSuSE 11.3 autoyast that I need some help with.
It's the bootloader definitions in /boot/grub/menu.lst that seems to get messed
up at some point.
My configuration involves LVM and RAID 1 on 3 disks, see relevant autoinst.xml
parts below.
Now, what happens is that the boot disk partition definition gets messed up
in a rather random way. It starts out as being "(hd0,0)", but then along the
way, it gets replaced with "(hd0,<garbage>)" where <garbage> becoms a sequence
of random digits, e.g. 8 or 28376, or 941 or something completely irrelevant.
I've tried to fix this with a simple postpartitioning-script, chroot-script,
post-script, and init-script, but there's always one point (I do believe it's
the second reboot, i.e. after the chroot-scripts being executed, but before
the post-scripts get executed) where the "(hd0,0)" gets clogged up that
prevents the boot. I have to enter the grub menu and edit the offendig lines
manually. Then, in the installed system, I need to permanent the changes by
editing the offending lines again, this time using vi in the running system.
The problem manifests itself when using 3 disk setup with RAID 1, but not
with 3 disks under LVM without RAID 1.
Other than that, everything seems just fine.
Any ideas, anyone?
R
/Lars Stavholm
--- Begin Included Message ---
[snip]
<bootloader>
<global>
<activate>true</activate>
/dev/md0
true
true
<timeout config:type="integer">5</timeout>
</global>
grub
</bootloader>
[snip]
<partitioning config:type="list">
<drive>
<initialize config:type="boolean">true</initialize>
<device>/dev/md</device>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">ext2</filesystem>
<format config:type="boolean">true</format>
<mount>/boot</mount>
131
0
raid1
</partition>
<partition>
sys
142
1
raid1
</partition>
</partitions>
<type config:type="symbol">CT_MD</type>
<use>all</use>
</drive>
<drive>
<initialize config:type="boolean">true</initialize>
<device>/dev/sda</device>
<partitions config:type="list">
<partition>
253
1
primary
/dev/md0
<size>100MB</size>
</partition>
<partition>
253
2
primary
/dev/md1
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<initialize config:type="boolean">true</initialize>
<device>/dev/sdb</device>
<partitions config:type="list">
<partition>
253
1
primary
/dev/md0
<size>100MB</size>
</partition>
<partition>
253
2
primary
/dev/md1
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<initialize config:type="boolean">true</initialize>
<device>/dev/sdc</device>
<partitions config:type="list">
<partition>
253
1
primary
/dev/md0
<size>100MB</size>
</partition>
<partition>
253
2
primary
/dev/md1
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/sys</device>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
home
<mount>/home</mount>
<fstopt>defaults,acl,usrjquota=aquota.user,jqfmt=vfsv0</fstopt>
131
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
root
<mount>/</mount>
<fstopt>defaults</fstopt>
131
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
swap
<fstopt>defaults</fstopt>
<mount>swap</mount>
130
<size>6GB</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
</partitioning>
[snip]
--- End Included Message ---
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org