Public bug reported: Binary package hint: grub-pc
I have an up-to-date install of ubuntu karmic on a macbook pro unibody laptop. I have a dual boot setup with OSX on /dev/sda2 and ubuntu on /dev/sda3. reFIT is installed on the hd boot sector to select the OS to boot and I have grub installed using blocklists in the /dev/sda3 partition which is (hd0,3). This setup works perfectly, except whenever the grub-pc package is updated by apt. I get the following output: Setting up grub-pc (1.97~beta3-1ubuntu4) ... grub-probe: error: Cannot stat `(hd0' Invalid device `(hd0'. Try ``grub-setup --help'' for more information. grub-probe: error: Cannot stat `3)' Invalid device `3)'. Try ``grub-setup --help'' for more information. Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.31-10-generic Found initrd image: /boot/initrd.img-2.6.31-10-generic Found linux image: /boot/vmlinuz-2.6.31-9-generic Found initrd image: /boot/initrd.img-2.6.31-9-generic Found linux image: /boot/vmlinuz-2.6.31-5-rt Found initrd image: /boot/initrd.img-2.6.31-5-rt Found linux image: /boot/vmlinuz-2.6.31-4-rt Found initrd image: /boot/initrd.img-2.6.31-4-rt Found memtest86+ image: /boot/memtest86+.bin Found Mac OS X on /dev/sda2 done After this, the system won't boot anymore and freezes after displaying 'GRUB'. I managed to fix this either by using an install disk and choosing "Rescue Broken System" -> "Install GRUB Boot loader" -> (hd0,3) or by preemptively running grub-setup --force "(hd0,3)" (note the quotes) every time grub-pc is updated. I believe this could be related to a quoting issue in the postinstall script for grub-pc, since this is usually called with device names with no commas like (hd0) ** Affects: grub2 (Ubuntu) Importance: Undecided Status: New -- grub-pc package update fails on grub-setup https://bugs.launchpad.net/bugs/430950 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