grub2 fails to install on md0 (preseed lvm over raid) partman-auto-raid bug

Bug #890935 reported by Xiaoning Li
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
partman-auto-raid (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dear debain-installer maintainer:

I found the same bug as bug # 743136 in partman-auto-raid.

links to bug #743136
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/743136

I could not preseed lvm over raid on Ubuntu 11.04 and 11.10. grubs failed to install on md0.

I think here is the problem.
in /bin/auto-raidcfg
.... ....
mdadm --create /dev/md$MD_NUM --auto=yes --force -R -l raid$RAID_TYPE \
        -n $DEV_COUNT $MDADM_PARAMS
... ...

Could you please also fix this? thank you!

Xiaoning Li (xxnnli)
affects: grub2 (Ubuntu) → partman-auto-raid (Ubuntu)
Xiaoning Li (xxnnli)
description: updated
Revision history for this message
Frederic Descamps (lefred) wrote :

It seems I'm hitting the same problem. Could you post your preseed configuration related to raid and lvm ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in partman-auto-raid (Ubuntu):
status: New → Confirmed
Revision history for this message
Xiaoning Li (xxnnli) wrote : Re: [Bug 890935] Re: grub2 fails to install on md0 (preseed lvm over raid) partman-auto-raid bug

i fixed the bug by adding this:

d-i partman/early_command string \
   sed -i 's/\/dev\/md\$MD_NUM/\/dev\/md\/$MD_NUM/g' /bin/auto-raidcfg; \
   sed -i 's/\/dev\/md\$raidnum/\/dev\/md\/$raidnum/g'
/lib/partman/display.d/55initial_auto_raid_fs

On Thu, Nov 24, 2011 at 11:07 AM, Frederic Descamps <
<email address hidden>> wrote:

> It seems I'm hitting the same problem. Could you post your preseed
> configuration related to raid and lvm ?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/890935
>
> Title:
> grub2 fails to install on md0 (preseed lvm over raid) partman-auto-
> raid bug
>
> Status in “partman-auto-raid” package in Ubuntu:
> Confirmed
>
> Bug description:
> Dear debain-installer maintainer:
>
> I found the same bug as bug # 743136 in partman-auto-raid.
>
> links to bug #743136
> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/743136
>
> I could not preseed lvm over raid on Ubuntu 11.04 and 11.10. grubs
> failed to install on md0.
>
> I think here is the problem.
> in /bin/auto-raidcfg
> .... ....
> mdadm --create /dev/md$MD_NUM --auto=yes --force -R -l raid$RAID_TYPE \
> -n $DEV_COUNT $MDADM_PARAMS
> ... ...
>
> Could you please also fix this? thank you!
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/890935/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.