gpt disk label and /boot
Michael Tautschnig
mt at debian.org
Wed Mar 18 19:45:22 CET 2009
>
>> That one should be fixed in 3.2.18+experimental4 which is just about to be built
>> and uploaded, but please be ready for more errors...
>>
>> Thanks a lot for testing all the stuff,
>> Michael
>>
>>
> this one worked for me with one issue only: in grub_pc the following
> line fails for mdx as it says:
>
>
> grub_dev=$(device2grub $BOOT_DEVICE)
> if [ -z "$grub_dev" ] ; then
> grub_dev=$(echo $BOOT_DEVICE | sed 's#/dev/##g')
> fi
>
>
> if boot_device is /dev/md0 it give (sda /dev/sdb) for grub_dev so it
> fails. I searched for device2grub but cannot find any clue about how it
> works.
>
Hmm, do you have any idea whether the version of grub that you are using has
proper support for RAID devices? setup-storage does some hackery in that it sets
BOOT_DEVICE to the actual devices that make up the RAID device because earlier
versions of grub had no idea about RAID and LVM. I think, newer versions should
support it properly, but that will then depend on the version of grub you are
acutally using, meaning that we can either modify setup-storage to set
BOOT_DEVICE to /dev/md0 or hack the script to call device2grub for each device
(sda, sdb).
> in anycase the setup-storage part works for me.
>
Nice to know!
HTH,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090318/eb8c7a04/attachment.bin
More information about the linux-fai
mailing list