Bug#544064: [grub2] install of grub2 lost windows boot option

Felix Zielcke fzielcke at z-51.de
Fri Aug 28 14:17:12 UTC 2009


Am Freitag, den 28.08.2009, 10:13 -0400 schrieb Brent S. Elmer Ph.D.:
> On Fri, 2009-08-28 at 15:25 +0200, Felix Zielcke wrote:
> > Am Freitag, den 28.08.2009, 08:58 -0400 schrieb Brent S. Elmer Ph.D.:
> > > Package: grub2
> > > Severity: important
> > > 
> > > --- Please enter the report below this line. ---
> > > When I installed grub2 I no longer had my dual boot windows line on the menu.
> > > When I uninstalled grub2 I still don't have the windows boot line even though it 
> > > is in the menu.lst.  How do I get it back?
> > > 
> > 
> > grub2 uses grub.cfg not anymore menu.lst
> > So what do you mean with `uninstalled grub2'? Did you run grub-install
> > from grub-legacy?
> > Just installing the grub-legacy package doestn't do this for you.
> > Anyway update-grub from grub2 should add your Windows if you install
> > os-prober.
> > 
> 
> In synaptic I did a mark for complete removal of grub2 which also marks
> grub-pc and applied it.
> Then I installed grub using synaptic which installs grub-legacy.
> 
> I am attaching my menu.lst.  The Windows NT/2000/XP no longer shows up
> as an option when I boot.  Only the kernels in the Debian automagic
> kernels list show up.
> 

As I said if you want to have grub2 with your Windows entry then install
os-prober and run update-grub again. Then it should show up again.
It doestn't at all use menu.lst.

If you want to revert to grub-legecy you need to run grub-install again,
so the MBR gets replaced with the grub-legacy bootcode instead of the
grub2.

-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list