[Bug 462961] Re: auto-resize install renders previous system with separate /boot unbootable
Martin, et al, please take a look at Bug 551790 -- it appears that the fix for this has not gotten into Lucid or Maverick (or has regressed). 551790 has been 'confirmed', but it's not assigned to anyone... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/462961 Title: auto-resize install renders previous system with separate /boot unbootable -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Tags added: iso-testing -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Branch linked: lp:ubuntu/grub2 -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
Thanks Loic! I fixed up the patch to apply, and uploaded to https://launchpad.net/~pitti/+archive/ppa for easier testing. I installed that on my test system, called update-grub2, and now grub.cfg is correct and I can boot the old system. grub-common's postinst should probably call update-grub2 on updates to this version. -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
grub-pc always calls update-grub on update. -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
I pushed a fixed package to -proposed and my PPA and tested it from there with the /boot on separate partition case; would like to test the other case of the old system having no separate /boot partition when it's in -proposed. -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
Accepted grub2 into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Attachment added: /var/log/installer/debug http://launchpadlibrarian.net/34569085/debug -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Attachment added: /var/log/installer/partman http://launchpadlibrarian.net/34569101/partman -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Attachment added: /var/log/installer/syslog http://launchpadlibrarian.net/34569089/syslog -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
The original grub.cfg from the old install was correct (/boot/grub/grub.cfg on vda5): ### BEGIN /etc/grub.d/10_linux ### menuentry Ubuntu, Linux 2.6.31-14-generic { recordfail=1 if [ -n ${have_grubenv} ]; then save_env recordfail; fi set quiet=1 insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 4b294ec9-0fb3-44bd-bc61-7f35ccb52534 linux /vmlinuz-2.6.31-14-generic root=UUID=3534fcb7-8b25-4b97-8643-59b566d177d7 ro quiet splash initrd /initrd.img-2.6.31-14-generic } However, the one from the new install put the wrong UUID into the search line: ### BEGIN /etc/grub.d/30_os-prober ### menuentry Ubuntu, Linux 2.6.31-14-generic (on /dev/vda5) { insmod ext2 set root=(hd0,5) search --no-floppy --fs-uuid --set 3534fcb7-8b25-4b97-8643-59b566d177d7 linux /boot/vmlinuz-2.6.31-14-generic root=UUID=3534fcb7-8b25-4b97-8643-59b566d177d7 ro quiet splash initrd /boot/initrd.img-2.6.31-14-generic ** Attachment added: /boot/grub/grub.cfg from the auto-resize installation http://launchpadlibrarian.net/34569161/grub.cfg -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Attachment added: grub.cfg from previous install http://launchpadlibrarian.net/34569186/grub.cfg -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
Confirmed that after changing root= to (hd0,1), the UUID in search line, and dropping the /boot prefix in linux/initrd in the grub editor, it boots the old system. ** Package changed: ubiquity (Ubuntu) = os-prober (Ubuntu) -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
I'll try to reproduce then try this patch which should use the /boot device reported by os-prober to generate the new grub menuentry instead of the root device. ** Attachment added: 969_prepare_boot_dev.patch http://launchpadlibrarian.net/34571460/969_prepare_boot_dev.patch -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
I can reproduce the issue and the proposed fix only fixes set root + search by UUID parts, not pathnames. ** Package changed: os-prober (Ubuntu) = grub2 (Ubuntu) ** Changed in: grub2 (Ubuntu) Status: New = Triaged -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
I have a fix for /boot as well ** Changed in: grub2 (Ubuntu) Importance: Undecided = Medium ** Changed in: grub2 (Ubuntu) Assignee: (unassigned) = Loïc Minier (lool) ** Changed in: grub2 (Ubuntu) Milestone: None = karmic-updates ** Also affects: grub2 (Ubuntu Karmic) Importance: Medium Assignee: Loïc Minier (lool) Status: Triaged -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Attachment added: grub2_1.97~beta4-1ubuntu4.debdiff http://launchpadlibrarian.net/34580098/grub2_1.97%7Ebeta4-1ubuntu4.debdiff -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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 462961] Re: auto-resize install renders previous system with separate /boot unbootable
** Changed in: grub2 (Ubuntu Karmic) Status: Triaged = Fix Committed -- auto-resize install renders previous system with separate /boot unbootable https://bugs.launchpad.net/bugs/462961 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