grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kern/device.c and https://savannah.gnu.org/bugs/?26834


From: Arthur Marsh
Subject: kern/device.c and https://savannah.gnu.org/bugs/?26834
Date: Sun, 06 Dec 2009 13:25:43 +1030
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)

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)
            {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]