Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

56 views
Skip to first unread message

Brent S. Elmer Ph.D.

unread,
Aug 28, 2009, 9:20:12 AM8/28/09
to
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?

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.30.090729

Debian Release: squeeze/sid
500 testing www.debian-multimedia.org
500 testing security.debian.org
500 testing debian.linux.ibm.com
500 jaunty ppa.launchpad.net

--- Package information. ---
Depends (Version) | Installed
======================-+-===========
grub-pc |


Package's Recommends field is empty.

Package's Suggests field is empty.

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Felix Zielcke

unread,
Aug 28, 2009, 9:50:07 AM8/28/09
to
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.

--
Felix Zielcke
Proud Debian Maintainer

Brent S. Elmer Ph.D.

unread,
Aug 28, 2009, 10:20:09 AM8/28/09
to
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.

Brent

menu.lst

Felix Zielcke

unread,
Aug 28, 2009, 10:30:14 AM8/28/09
to

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.

Brent S. Elmer Ph.D.

unread,
Aug 28, 2009, 12:10:10 PM8/28/09
to
On Fri, 2009-08-28 at 16:17 +0200, Felix Zielcke wrote:

> 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.
>

I installed os-prober and reinstalled grub2 and windows shows up again.

Thanks,
Brent

0 new messages