Booting LM 13 and XP in dual boot?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Booting LM 13 and XP in dual boot?

Postby Absolutis on Sat Sep 15, 2012 4:37 am

Linux Mint 13 with windows XP, I want to use GRUB as the bootmanager. I haven't done anything yet. Linux installed first, and would prefer to keep the same installation.

EDIT: If it would be easier, I could also use some other boot manager like EasyBCD or smth
Absolutis
Level 1
Level 1
 
Posts: 5
Joined: Mon Jun 18, 2012 7:10 am

Linux Mint is funded by ads and donations.
 

Re: Booting LM 13 and XP in dual boot?

Postby oobetimer on Sat Sep 15, 2012 6:38 am

Absolutis wrote:Linux Mint 13 with windows XP, I want to use GRUB as the bootmanager. I haven't done anything yet. Linux installed first, and would prefer to keep the same installation.

EDIT: If it would be easier, I could also use some other boot manager like EasyBCD or smth

EasyBCD does not work in XP, but you can boot mint by ediding XP´s boot.ini file

http://www.youtube.com/watch?v=cz_BKk-mKts&feature=plcp

viewtopic.php?f=90&t=105448&p=598892&hilit=boot.ini#p595336

Basically you can restore grub via liveCD. An example:
sudo blkid # tells the media
sudo mount /dev/sdxy /mnt # where x=HD and y=partition
sudo grub-install --boot-directory=/mnt/boot /dev/sdx # where x=HD
sudo umount /mnt


PS. Make partitions for XP using linux programs like GParted, because windows can mess a partition table, because it does not understand linux swap partition.
Last edited by oobetimer on Sat Sep 15, 2012 6:43 am, edited 1 time in total.
User avatar
oobetimer
Level 7
Level 7
 
Posts: 1889
Joined: Tue Jun 01, 2010 12:53 pm
Location: Finland / above the Arctic Circle

Re: Booting LM 13 and XP in dual boot?

Postby kc1di on Sat Sep 15, 2012 6:43 am

Greetings Absolutis & welcome to Mint,

It is always better if you are to dual boot to install the window OS first then Mint (or Linux) then grub would be able to find windows and add it to the boot menu
for you. but you can do it the other way also. before installing window xp go here and download a copy of boot-repair.
https://help.ubuntu.com/community/Boot-Repair
after you install windows run it and it should re-install Grub for you.
When you install windows xp it will automatically install it's boot loader to the mbr and erase mint's grub bootloader.
follow the instruction on boot repair and you should be good to go.
John 3:16
Morse code an Early
Digital Mode
Registered Linux User #462608
Image
User avatar
kc1di
Level 6
Level 6
 
Posts: 1429
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Booting LM 13 and XP in dual boot?

Postby Tumbleweed_Biff on Sat Sep 22, 2012 7:44 pm

obetimer, (or anyone else)
in your lines:
sudo mount /dev/sdxy /mnt # where x=HD and y=partition
sudo grub-install --boot-directory=/mnt/boot /dev/sdx # where x=HD

Which partition does 'y' reference?
And "boot-directory"?

I have
sda1 - ntfs (windows xp install)
sda2 - extended
sda5 - installed as "\" during Mint install
sda6 - \usr

sdb - 2 separate swapfile partitions, one for windows, one for linux, and a data backup partition.

FYI: I have tried boot-repair, it kept telling me grub was still installed when the it had been removed - at least all the grub directories I could find ...
Tumbleweed_Biff
Level 1
Level 1
 
Posts: 2
Joined: Thu Sep 06, 2012 7:54 pm

Re: Booting LM 13 and XP in dual boot?

Postby oobetimer on Sun Sep 23, 2012 5:29 am

Tumbleweed_Biff wrote:Which partition does 'y' reference?
And "boot-directory"?

y = partition e.g sda5
boot-directory = boot folder or partition
User avatar
oobetimer
Level 7
Level 7
 
Posts: 1889
Joined: Tue Jun 01, 2010 12:53 pm
Location: Finland / above the Arctic Circle


Return to Installation & Boot

Who is online

Users browsing this forum: austin.texas, Chriskmint and 14 guests