[Solved] Dual Booting with XP

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Noob Saibot
Level 2
Level 2
Posts: 56
Joined: Tue Oct 02, 2007 1:41 am
Location: North America

[Solved] Dual Booting with XP

Post by Noob Saibot » Sun Feb 02, 2014 5:36 pm

Hello everyone,

So it has been quite a while since I used Linux, but I decided to get back into since I got a new (to me) hard drive to install into my case. My original hard drive has Windows XP on it. The second hard drive, I was able to partition in /boot, /, /home, and swap. I have succesfully installed mint but now I cant boot into Windows at all. I seemed to miss a step somewhere. Can anyone guide me in fixing the bootloader?

Thanks for reading.
Last edited by Noob Saibot on Wed Feb 05, 2014 10:59 pm, edited 1 time in total.
Enjoying the Mint Experience
Image
"(to touch the earth is to have harmony with nature)" -hippy

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Dual Booting with XP

Post by austin.texas » Sun Feb 02, 2014 8:28 pm

Where did you install grub to when you installed Mint? Did you install grub to the Windows hard drive or the Linux hard drive?

In either case, you should be able to run the command
sudo update grub
to get both operating systems listed on the grub menu.

Which drive is set to boot first in the BIOS? Did you change that?
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

User avatar
Noob Saibot
Level 2
Level 2
Posts: 56
Joined: Tue Oct 02, 2007 1:41 am
Location: North America

Re: Dual Booting with XP

Post by Noob Saibot » Mon Feb 03, 2014 2:30 pm

First off, Thank You for your reply.

I believe I installed grub on the Windows hard drive because when I remove the Linux drive, it said something about not being able to find Linux.

I did not change the order in the BIOS menu, so the Windows drive is still set first.

Is there anything else I should know before running sudo update grub?
Enjoying the Mint Experience
Image
"(to touch the earth is to have harmony with nature)" -hippy

Mark Phelps
Level 7
Level 7
Posts: 1801
Joined: Mon Jun 10, 2013 4:39 pm

Re: Dual Booting with XP

Post by Mark Phelps » Mon Feb 03, 2014 6:48 pm

When you have multiple hard drives, and you want a single OS installed to each drive, it is always safest to REMOVE the other drives before you do the installation of the new OS. That will prevent the problem you now have of having athe Mint boot loader installed on the Windows drive.

You boot into Mint normally, open a terminal, and enter "sudo update-grub". This will regenerate the default GRUB config file, adding an entry for the Windows boot loader.

When you reboot, you should then get a GRUB menu that includes both Mint and Windows entries.

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Dual Booting with XP

Post by austin.texas » Mon Feb 03, 2014 8:21 pm

as Mark Phelps said, "You boot into Mint normally, open a terminal, and enter "sudo update-grub"."
That should put Windows on the GRUB menu.

There is one further step you can take to make the setup more secure. You can put GRUB on sdb in addition to the GRUB on sda. That way you can remove either hard drive and still have your GRUB menu (and hard drives do fail occasionally, too).
To put GRUB on sdb, boot into Mint, open a terminal, and enter
sudo grub-install /dev/sdb
Now you can use your BIOS to boot either hard drive first.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

User avatar
Noob Saibot
Level 2
Level 2
Posts: 56
Joined: Tue Oct 02, 2007 1:41 am
Location: North America

Re: [Solved] Dual Booting with XP

Post by Noob Saibot » Wed Feb 05, 2014 11:01 pm

I am all set. Thanks to both of you for sharing your knowledge. You guys make the Linux community a wonderful place to be involved with.
Enjoying the Mint Experience
Image
"(to touch the earth is to have harmony with nature)" -hippy

User avatar
jungle_boy
Level 7
Level 7
Posts: 1714
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest Land

Re: [Solved] Dual Booting with XP

Post by jungle_boy » Thu Feb 06, 2014 2:47 pm

Congratulations Noob Saibot!

I liked your avatar...

The tree, children, river, sky...

It is beautiful!

Good work!

Post Reply

Return to “Installation & Boot”