From: Jason Filippou on
Hello list,

I have had a laptop wearing Linux solely over the last few years and
today I decided I'd install a Windows partition on it, with aim to
dual boot. After preparing an NTFS partition by using the gparted live
CD, I installed Windows 7 on the newly created partition. Thus, so far
I have the primary partitions /dev/sda1, an ext3 partition holding my
Squeeze installation, and /dev/sda2, holding my Windows installation.
There's also the /dev/sda3 "extended" partition and the /dev/sda5
"swap" partition. Here's a gparted screenshot taken from within my
debian installation to prove my claims:
http://img199.imageshack.us/img199/1819/mypartitions.jpg

When the installation was finished, I would only boot into Windows 7.
Somewhat accustomed to this loss of the Grub boot loader, I booted
from my Squeeze installation CD, entered Rescue Mode and reinstalled
GRUB in the MBR of my only hard drive (that corresponds to the
/dev/sda1 partition). However, even though I reclaimed Grub, Grub
would not detect my Windows partition on bootup, and give me the
options of boot into debian. I tried reinstalling GRUB on other
partitions, but Windows was (and still is) unbootable on startup.

I had a look at my grub.cfg and didn't see a "menuentry" corresponding
to the windows partition, even after running update-grub. What are the
steps that I need to follow in order to dual boot my system? The only
OS I have currently access to through Grub is Debian (with the option
of two kernels, but that's not really relevant).

Thanks.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTikRJA8IalQOVqvBYd4OMFvnQ5w-bvGtKUZuOtmI(a)mail.gmail.com
From: Andrei Popescu on
On Ma, 22 iun 10, 00:56:53, Jason Filippou wrote:
>
> I had a look at my grub.cfg and didn't see a "menuentry" corresponding
> to the windows partition, even after running update-grub. What are the
> steps that I need to follow in order to dual boot my system? The only
> OS I have currently access to through Grub is Debian (with the option
> of two kernels, but that's not really relevant).

Grub does not detect other OSes, the package os-prober does. Make sure
it is installed and rerun update-grub.

If it still won't detect your Windows you can try also writing a custom
entry in the file /etc/grub.d/40_custom, but I bet the os-prober
maintainer would want to know about it.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Thierry Chatelet on
On Monday 21 June 2010 23:56:53 Jason Filippou wrote:
> Hello list,
>
> I have had a laptop wearing Linux solely over the last few years and
> today I decided I'd install a Windows partition on it, with aim to
> dual boot. After preparing an NTFS partition by using the gparted live
> CD, I installed Windows 7 on the newly created partition. Thus, so far
> I have the primary partitions /dev/sda1, an ext3 partition holding my
> Squeeze installation, and /dev/sda2, holding my Windows installation.
> There's also the /dev/sda3 "extended" partition and the /dev/sda5
> "swap" partition. Here's a gparted screenshot taken from within my
> debian installation to prove my claims:
> http://img199.imageshack.us/img199/1819/mypartitions.jpg
>
> When the installation was finished, I would only boot into Windows 7.
> Somewhat accustomed to this loss of the Grub boot loader, I booted
> from my Squeeze installation CD, entered Rescue Mode and reinstalled
> GRUB in the MBR of my only hard drive (that corresponds to the
> /dev/sda1 partition). However, even though I reclaimed Grub, Grub
> would not detect my Windows partition on bootup, and give me the
> options of boot into debian. I tried reinstalling GRUB on other
> partitions, but Windows was (and still is) unbootable on startup.
>
> I had a look at my grub.cfg and didn't see a "menuentry" corresponding
> to the windows partition, even after running update-grub. What are the
> steps that I need to follow in order to dual boot my system? The only
> OS I have currently access to through Grub is Debian (with the option
> of two kernels, but that's not really relevant).
>
> Thanks.

Try 'update-grub' as root
Thierry


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201006220054.29516.tchatelet(a)free.fr