[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
This bug was fixed in the package partman-auto - 89ubuntu7 --- partman-auto (89ubuntu7) lucid; urgency=low * Run clean_method before starting autopartitioning instead of in the middle of performing a recipe, and call autopartition just once for multi-disk partitioning. This means that methods applied to partitions of physical disks in RAID recipes are applied to all disks rather than just the last one (LP: #566965). -- Colin WatsonWed, 21 Apr 2010 10:43:22 +0100 ** Changed in: partman-auto (Ubuntu Lucid) Status: Fix Committed => Fix Released -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
Ok, thanks. I will try an install on Monday, hopefully it will be in by then. -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
This bug will be automatically closed once the source package is accepted; it will probably then take a couple of hours to build and publish, and the next daily build after that should contain it. I expect this to be no earlier than Friday, possibly Saturday, as we're currently frozen for the RC. -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
(sorry about the status change - I thought clicking on it might bring up further details and instead it changed it, oops - I changed it back) -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
Hi Colin, Thanks for the quick fix. Can you tell me which build of the package it is in once it is in the official Ubuntu Lucid tree and I will do another install (I have a second identical server waiting to be built and I can wait another day or two before doing it so we can make sure it is working now). Best regards, Anton ** Changed in: partman-auto (Ubuntu Lucid) Status: Fix Committed => Fix Released ** Changed in: partman-auto (Ubuntu Lucid) Status: Fix Released => Fix Committed -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
** Changed in: partman-auto (Ubuntu Lucid) Status: In Progress => Fix Committed -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
** Branch linked: lp:~ubuntu-core-dev/partman-auto/ubuntu -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
So, what's happening is roughly as follows: * RAID partitioning - or, in general, any multi-disk partitioning - operates by running /bin/autopartition on each of the disks in turn. * /bin/autopartition expands the recipe into a usable internal form and then calls /bin/perform_recipe, which has 'clean_method' (a function in /lib/partman/lib/recipes.sh) as one of its steps. * clean_method removes any old method files from all partitions on *all* disks. This makes sense in isolation, when you're autopartitioning a single disk and don't want to have stale information lying around, but not when autopartitioning multiple disks. The upshot is that only method files from the last disk are taken into account, which is of course bad and results in the symptom you're seeing. I'll see if I can figure out a way to fix this as non- intrusively as possible; I agree that if possible it should be fixed for 10.04 LTS. Thanks for your detailed report, which made it much easier to reproduce and diagnose this! ** Package changed: partman-base (Ubuntu) => partman-auto (Ubuntu) ** Also affects: partman-auto (Ubuntu Lucid) Importance: High Assignee: Colin Watson (cjwatson) Status: In Progress ** Changed in: partman-auto (Ubuntu Lucid) Milestone: None => ubuntu-10.04 -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
I can deduce *what* is happening from the logs - the 'method' file is going missing from partman's internal data for the partition that is to become /dev/sdb1 - but not why. Fortunately this reproduces easily in a KVM instance, so I'll take it from there. ** Changed in: partman-base (Ubuntu) Status: Confirmed => In Progress -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
Thanks for the information. I'm looking into this. ** Changed in: partman-base (Ubuntu) Importance: Undecided => High ** Changed in: partman-base (Ubuntu) Status: New => Confirmed ** Changed in: partman-base (Ubuntu) Assignee: (unassigned) => Colin Watson (cjwatson) -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
Forgot to say that this is on 64-bit Ubuntu (amd64) and that the installation is started using DHCP+PXE booting and the pxelinux.cfg/default entry which kicks off the installation is: LABEL install kernel ubuntu-installer/amd64/linux append vga=normal initrd=ubuntu-installer/amd64/initrd.gz ks=http://bes.csi.cam.ac.uk/kickstart/ks.cfg -- Where the ks.cfg is the config file I have attached to this bug report. -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
** Attachment added: "automated installation config file that causes the error" http://launchpadlibrarian.net/44859385/ks.cfg -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
** Attachment added: "syslog at point at which install failed with grub-install error message" http://launchpadlibrarian.net/44859280/syslog -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 566965] Re: preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails
** Attachment added: "partman log at point of error message that grub-install has failed." http://launchpadlibrarian.net/44859254/partman -- preseed with RAID and GPT fails to set bios_grub flag on first disk but does set it on second so install fails https://bugs.launchpad.net/bugs/566965 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs