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

Bug#473401: grub-installer: grub2 config for Windows partition does not boot



On Sun, Mar 30, 2008 at 09:01:18PM +0800, Paul Wise wrote:
> Package: grub-installer
> Version: 1.29
> Severity: normal
> X-Debbugs-CC: grub@packages.debian.org
> 
> I did an install from debian.exe with d-i dailies to install sid
> (#473364). Unfortunately the /etc/grub.d/30_otheros that was generated
> did not allow me to boot Windows. Simply changing (hd0,0) to (hd0,1)
> fixed this. Looks like grub2 uses 1-based partition indexes instead of
> 0-based ones like grub1 did.

This patch gets rid of the problem by simplifiing the convert() function like
we did for grub-install/update-grub.  Although maybe it's a bit too radical.

But since we're committed to use this approach in the grub package, I think
it's a good idea to do the same on D-I.

Comments?

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)



Reply to: