Bug: device2grub not compatible with grub_pc
Michael Tautschnig
mt at debian.org
Tue Nov 16 11:07:16 CET 2010
Hi Toomas,
> According to Grub 2 (aka grub_pc) documentation
> http://www.dedoimedo.com/computers/grub-2.html :
>
> > Critical! GRUB 2 uses PARTITION notation that starts with 1 and not 0
> > like GRUB legacy! This is terribly important to remember!
>
[...]
Thank you for the heads up!
>
> I think device2grub needs a flag which would inhibit the decrement of
> partition number in case it is used in conjunction with grub_pc and
> scripts/GRUB_PC/10-setup needs to make use of this flag.
>
> I also think that this should be fixed before squeeze is released (do I
> need to file a bug report into Debian BTS to make it official?) because
> grub_pc is the default bootloader for squeeze and this bug has potential
> of corrupting unsuspecting people's data if they install dual-boot
> systems.
>
On the one hand, yes, please file a bug report! This is almost the only way we
could get this into squeeze given that we are in very deep freeze. Well, given
that this is considered "documentation only" for FAI, it could actually be
doable without a bugreport, but anyway, a bug report would be the safe bet.
For the actual solution, however, I wonder whether we couldn't actually solve
this by completely getting rid of device2grub. If you take a look at the latest
experimental builds then you'll see that GRUB_PC/10-setup doesn't even use it
anymore. Could you maybe give a try to this updated example script?
Thanks a lot,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20101116/ec576427/attachment.bin>
More information about the linux-fai
mailing list