![]() |
|
|
#1 |
![]() |
Help on triple boot: Ubuntu, Win 7, XP.
I'm trying to triple boot my laptop for the first time. I started off with just Windows 7, and I installed Ubuntu 11.04. All went well from the dual-booting aspect. After installing Windows XP, I had to use Boot Repair, so grub will be the default boot loader. The only way I can boot into XP is selecting Windows 7 from the grub menu, then choose XP from Windows 7 boot manager. How can I add XP to Ubuntu boot menu? I've tried editing /etc/default/grub and using os-prober to no avail. Basically, I want to be able to use XP without going through Windows 7. I read some where that you can manually add entries, but I have no idea as to where. It goes something like this:
title Windows XP root (hd0,1) makeactive chainloader +1 Any help is greatly appreciated! |
|
|
|
|
|
#2 |
|
Semi-Retired Folder
Join Date: Nov 2005
Location: Indiana
Posts: 17,737 (6.49/day)
Thanks: 780
Thanked 5,111 Times in 3,703 Posts
|
You can't, AFAIK, you have to select Win7, which initiates the Windows boot loader and then select between the different versions of Windows from there.
__________________
Rig1: System Specs. Rig2: A8-5600K@4.4GHz / AsRock FM2A75 Pro4 / 8GB Corsair DDR3-1600 9-9-9-24 / HD7560D / Samsung DVD-Burner / 1.5TB WD Green + 3x3TB WD RED in RAID5 Rig3: Athlon X2 4200+ / M4A79 Deluxe / 4GB G.Skill Pi DDR2-800 4-4-4-12 / GT430 / Sony DVD-Burner / 500GB WD Rig4: Phenom II x6 1605T @ 3.6GHz / Asus M5A99X Evo / 8GB PNY DDR3-1600 9-9-9 / GTX470 & GTX470 / Samsung DVD-Burner / 1.5TB Seagate |
|
|
|
|
|
#3 |
![]() Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts
|
AFAIK
Code:
sudo update-grub BTW, can you post the result of Code:
sudo os-prober |
|
|
|
|
|
#4 | |
![]() |
Quote:
Here's the results from os-prober. /dev/sda1:Windows 7: (loader):Windows:chain update-grub finds only Linux and Windows 7; Windows XP resides on /dev/sda2 |
|
|
|
|
|
|
#5 |
![]() Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts
|
Since os-prober doesn't pick it up you can always add it to 40_custom and it will be added to grub.cfg every time update-grub is executed (these manual entries will be added after the entries found by os-prober during the update-grub process).
So Code:
cd /etc/grub.d/ sudo gedit 40_custom Code:
menuentry "Windows XP" --class windows --class os {
set root=(hd0,2)
insmod ntfs
chainloader +1
}
After that, run Code:
sudo update-grub Good luck. |
|
|
|
|
|
#6 | |
![]() |
Quote:
Last edited by GoFigureItOut; May 27, 2012 at 04:06 PM. |
|
|
|
|
|
|
#7 |
![]() Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts
|
It errors at "missing NTLDR" because Windows XP boot loader wasn't installed on the partition with XP itself, so it relies on the Windows 7 loader. You might wanna do this:
Good luck. |
|
|
|
| The Following User Says Thank You to temp02 For This Useful Post: |
|
|
#8 | |
![]() |
Quote:
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ubuntu 9.10 Beta not detecting Win 7 drive in GRUB | mab1376 | Linux / BSD / Mac OS X | 1 | Oct 14, 2009 04:06 AM |
| Team launches Triple Channel Xtreem DDR3, Triple Bandwidth, X-Triple Speed | btarunr | News | 4 | Dec 8, 2008 06:55 AM |
| dual boot xp and ubuntu | freaksavior | Linux / BSD / Mac OS X | 23 | Oct 19, 2008 04:42 PM |
| Red Hat and Ubuntu Win Linux Popularity Poll | Polaris573 | News | 5 | May 30, 2008 09:41 AM |
| The ultimate triple boot ! | BXtreme | Linux / BSD / Mac OS X | 24 | Feb 10, 2008 03:25 AM |