[Bug 890935] Re: grub2 fails to install on md0 (preseed lvm over raid) partman-auto-raid bug

Xiaoning Li 890935 at bugs.launchpad.net
Thu Nov 24 16:30:44 UTC 2011


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 <
890935 at bugs.launchpad.net> 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
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto-raid in Ubuntu.
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




More information about the foundations-bugs mailing list