Results 1 to 4 of 4
Hi. I've read some posts on this subject, and I'm getting annoyed trying to fix this
I've just reinstalled windoze XP, and now I can't boot it from grub. Yep, ...
- 02-04-2009 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 49
GRUB: Windows XP & Ubuntu
Hi. I've read some posts on this subject, and I'm getting annoyed trying to fix this

I've just reinstalled windoze XP, and now I can't boot it from grub. Yep, I reinstalled grub after windoze killed it. I'm running kubuntu (the newest version).
I had XP on the first partition. When I reinstalled, I deleted that partition, and I created a new partition.
Here's what fdisk -l looks like:
sda5 is where XP is now installed. I modified menu.lst to look like thisDisk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x99e199e1
Device Boot Start End Blocks Id System
/dev/sda1 2 1459 11711385 f W95 Ext'd (LBA)
/dev/sda2 1460 2675 9767520 83 Linux
/dev/sda3 * 2676 2833 1269135 6 FAT16
/dev/sda4 2834 7296 35849047+ b W95 FAT32
/dev/sda5 2 1459 11711353+ 7 HPFS/NTFS
I added the "map" stuff after googling around for help. This doesn't work, and it also does not work without the map stuff.title winDoze
map (hd0,0) (hd0,4)
map (hd0,4) (hd0,0)
root (hd0,4)
savedefault
makeactive
chainloader +1
Does anyone have a suggestion? Many thanks, in advance.
- 02-04-2009 #2
Why have you got sda3 marked as bootable? Where did you actually install Windows to?
You can try marking sda5 as bootable ... but sometimes Windows refuses to boot if it is not the first partition on the drive.
You use map to map drives ... not partitions ... see here
It might also be worth trying
Code:title Windows on sda5 rootnoverify (hd0,4) chainloader +1
Also use SuperGrub to restore Windows bootloader code to the MBR and see if Windows will boot.Code:title Windows on sda3 rootnoverify (hd0,2) chainloader +1
- 02-05-2009 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 49
Thanks. I re-installed windoze since it didn't like not being the first partition. I guess I shouldn't have used the windoze partition tool to try and format the thing...
It's working now with the menu.lst the same as it was.
Thanks again.
- 02-05-2009 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
Windows has problems booting from a logical partition. Versions of Windows XP post-SP2 can be installed to logical partitions but it' not automatic by any means. ALL BOOTLOADER FILES MUST BE ON A PRIMARY, ACTIVE NTFS or FAT32 partition. There are some articles referencing this on the support.microsoft.com website.


Reply With Quote