Bug#585068: Which partitioning schemes should be supported by GRUB?

Axel Beckert abe at debian.org
Mon Jun 14 19:16:27 UTC 2010


tag 585068 + patch
kthxbye

Hi Colin,

Colin Watson wrote:
> How about the following patch, implementing this proposal?  I've tested this
> with Debian GNU/kFreeBSD, and it's enough to make the boot loader work again
> out of the box after grub-install.  The 'root' variable is still wrong, but
> that isn't particularly urgent as UUIDs usually take care of that.
> 
> The kernel.img size increase is 84 bytes, yielding a core.img size
> increase of 50 bytes in this configuration (22932 -> 22982 bytes).  Do I
> need to work on making that smaller somehow?  It seems tolerable to me.
> 
> 2010-06-14  Colin Watson  <cjwatson at ubuntu.com>
> 
> 	Fix i386-pc prefix handling with nested partitions (Debian bug
> 	#585068).
> 
> 	* kern/i386/pc/init.c (make_install_device): If the prefix starts
> 	with "(,", fill the boot drive in between those two characters, but
> 	expect that a full partition specification including partition map
> 	names will follow.
> 	* util/i386/pc/grub-setup.c (setup): Unless an explicit prefix was
> 	specified, write a prefix without the drive name but including a
> 	full partition specification.
> 
> [...]

That fixes the problem. Thanks!

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5





More information about the Pkg-grub-devel mailing list