LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2011, 03:22 PM   #16
AeroBoy1987
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0

Sorry everyone about the reposts, when I reloaded this page half my posts had disappeared :-(
 
Old 04-13-2011, 03:24 PM   #17
AeroBoy1987
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Can I just start over? Should I start by wiping everything, installing Windows 7 onto Disk 1, then WinXP Pro also on Disk 1 (1/2 and 1/2) and use Disk 2 entirely for linux? Would this then give me all the boot options?
 
Old 04-13-2011, 03:26 PM   #18
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
I do not know what (hd,0) or (hd,1) means, but assuming the websites are correct, (hd,0) would be my Windows 7 HD and (hd,1) would be my Windows XP/Ubuntu HD?
In grub2, your Windows 7 is (hd0,1) and your Windows XP is (hd1,1) and Ubuntu is (hd1,5)

Quote:
Originally Posted by AeroBoy1987 View Post
Can I just start over? Should I start by wiping everything, installing Windows 7 onto Disk 1, then WinXP Pro also on Disk 1 (1/2 and 1/2) and use Disk 2 entirely for linux? Would this then give me all the boot options?
I wouldn't do anything that drastic.
If you really can still boot XP by telling the BIOS to switch the boot sequence then everything is nearly correct already. You're one minor change away from having the triple boot work. I'm just not comfortable enough with Ubuntu 10 to instantly tell you what to do. Someone will soon or maybe kindofabuzz did already.

According to the Ubuntu grub2 documentation, the command
sudo update-grub
should fix the grub2 configuration and see both copies of Windows. But I think if that were true, the original install of Ubuntu would have set up the triple boot correctly.

So there is some file in the directory /etc/grub.d that can be edited to force the next sudo update-grub command to do the right thing. I'm just short a few details because I don't know what is currently in that directory on your system.

There is also a file /etc/default/grub which controls the behavior of update-grub. Can you show us the contents of that file in case it contains a reason sdb1 isn't enabled.

Last edited by johnsfine; 04-13-2011 at 03:39 PM.
 
Old 04-13-2011, 03:27 PM   #19
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Well, your post #14 answers my question of post #15. Grub is installed in the mbr of /dev/sda

Markus
 
Old 04-13-2011, 03:45 PM   #20
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
I found Gentoo documentation covering this situation. It looks like this would also apply to Ubuntu, even though I can't find it in Ubuntu documentation.

Create or Edit the file /etc/grub.d/40_custom

Insert the following text:

Code:
menuentry "Microsoft Windows XP" {
	insmod chain
	set root=(hd1,1)
	drivemap -s hd0 hd1
	chainloader +1
}
Then use the command
sudo update-grub
 
Old 04-13-2011, 04:27 PM   #21
remmilou
LQ Newbie
 
Registered: Mar 2010
Location: Amsterdam
Distribution: Debian
Posts: 10

Rep: Reputation: 4
Another direction to search:
Start Win7 and go to manage disks and look vor de disk with WinXp on it. If it is a dynamic disk and you have shrunk it with the Ubuntu installer, then you might have corrupted it. Dynamic disks must be shrunk from Win7.
Don't know the exact details, cause I do not use Windows.
Success
 
Old 04-13-2011, 04:45 PM   #22
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If Ubuntu is operational go to open filemanger
mount all windows partitions and enter
os-proberthen
update-grub
you may have to
sudo os-prober
sudo update-grub
I had to do it this way on a quad-boot.

Last edited by EDDY1; 04-13-2011 at 04:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Impossible to boot even with A packages splintercdo Slackware 3 02-04-2011 04:24 PM
[SOLVED] how can I incorporate windows boot loader into grub? Triple boot, single hard drive olkirf Linux - Newbie 8 10-24-2010 09:36 AM
LXer: How to Triple-Boot Your Mac with Windows and Linux, No Boot Camp Required LXer Syndicated Linux News 0 05-05-2010 10:30 AM
Installing goblinX in triple boot laptop... no boot in the other linux OS amalgam Linux - Newbie 2 02-14-2008 02:08 PM
Impossible to boot Linux overnight Nightfrost Linux - General 4 06-17-2004 09:21 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration