View Full Version : [ubuntu] Ubuntu and Windows XP SP2

April 7th, 2011, 11:17 AM
Hello all,

I have made 3 partitions and installed ubuntu on first partition...second one was for swap..I installed windows XP SP2 on 3 partition... While installing XP it made my Linux partition inactive.

But then i booted my system from live USB and turned Ubuntu partition into active...

But still I am not able to boot into ubuntu...Can anyone help me plzz...

April 7th, 2011, 02:38 PM
It's always best to install windows first. I hope you installed it windows into a primary partition, not a logical partition.

See if this helps get Ubuntu booting again.
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows (https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows)

Mark Phelps
April 7th, 2011, 03:38 PM
When you installed XP, it overwrote the MBR and removed the entry for GRUB that allowed you to launch Ubuntu.

The links provided should get that working again.

Also, as far as I know, while Windows requires the OS partition to be active to work, Linux does not.

April 7th, 2011, 04:55 PM
Windows has to have the boot flag (active partition) on the windows primary partition. Grub does not use the boot flag, but some BIOS do require a boot flag on a primary partition to even let you boot (BIOS desinger must only have known about windows).

Reinstall grub2's boot loader to the MBR to let you boot Ubuntu.

After you boot run this to add windows to the grub menu.

sudo update-grub