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 protected]> 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/890935 Title: grub2 fails to install on md0 (preseed lvm over raid) partman-auto- raid bug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/890935/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
