Hi, I rebuilt grub2 from Debian unstable sources with the following patch applied and have no longer had to manually remove the "search" line in my grub.gfg in order to boot on a hard disk with /boot partition visible to the BIOS where the entire disk is bigger than what the BIOS recognises.

This *is* a relatively common configuration for old machines with replaced hard disks.

Someone suggested posting this patch here. I forget who posted it in IRC, but it worked (-:.

There is still one error message about a filesystem with a particular UUID not being found, but the boot process is now automatic.

Arthur.

*** kern/device.c       2009-11-30 13:12:15.000000000 +1030
--- ../device.c 2009-11-30 19:27:03.000000000 +1030
*************** grub_device_iterate (int (*hook) (const
*** 109,114 ****
--- 109,116 ----
          (void) grub_partition_iterate (dev->disk, iterate_partition);
          grub_device_close (dev);

+         grub_errno = GRUB_ERR_NONE;
+
          p = ents;
          while (p != NULL)
            {



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to