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

Re: Can't boot into MS Windows partition



----- Original Message -----

> From: Rodolfo Medina <rodolfo.medina@gmail.com>
> To: debian-user@lists.debian.org
> Cc: 
> Sent: Tuesday, July 17, 2012 8:21 AM
> Subject: Can't boot into MS Windows partition
> 
>T he first partition of my second hard disk (/dev/sdb1) is occupied by Windows
> XP.  It is and old install and I haven't booted into it for a couple of 
> years.
> (I seem to remember that, when I installed Debian on the actual first hd
> (/dev/sda1), I had momentarily put the other hd off, but am not sure.)  Now I
> don't manage to boot into Windows partition any more.  /boot/grub/menu.lst
> properly includes
> 
> title        Microsoft Windows XP Professional
> root        (hd1,0)
> savedefault
> makeactive
> chainloader    +1
> 
> , and it's correct I think (hd1,0) (first partition of the second hd), but 
> when
> I try to boot into it the following appears:
> 
>   Booting 'Microsoft Windows XP Professional'
> 
> root   (hd1,0)
> Filesystem type is fat, partition type 0xc
> savedefault
> makeactive
> chainloader    +1
> 
> and nothing happens.  I also tried to install Windows boot loader to the master
> boot record, with:
> 
>    # grub
>    grub > root (hd1,0)
>    grub > setup (hd1)
>    grub > quit
> 
> , but grub complains that it doesn't find the file /boot/grub/stage1, which 
> is
> on the contrary there.


I had the same problem years ago.  I had to map the hard drives so Windows "thinks" it's on the first hard drive, first partition, the C: drive, where it "likes" to be to run properly.  This mapping is only done in the Windows' stanza of grub.lst.

The man page of grub, or the grub docs, should cover mapping and have examples.

B


Reply to: