LinuxQuestions.org
Review your favorite Linux distribution.
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-28-2009, 05:27 PM   #1
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Rep: Reputation: 0
Triple Boot Problems


First I'd like to say that I am new too Linux and am seeking to learn this operating system.

My System:
Processor: Intel Q6600
Motherboard: eVGA 780i
Hard Drives: 3 SATA 160 GB Drives(First Two setup in a Striping Raid and other just normal)
OSs: Operating a Dual Boot with XP SP3 & Vista SP1

My aspirations for my computer setup at to have a Triple Boot with XP, Vista, and Ubuntu. I currently have XP and Vista setup and operating in a Dual Boot w/ the Vista Boot loader on my Raid setup. I installed Ubuntu on the third drive in its own partition and left it to install the boot loader on HD0, but when I attempted to reboot, I received the GRUB Error 21. I tried loading Ubuntu 8.04 a couple of months ago and had the same problem. I then reloaded Ubuntu with the boot loader installed on the Ubuntu partition and am able to load into Ubuntu by changing my BIOS boot configuration to boot from the third hard drive.

I'd like to be able to boot to Ubuntu using my Vista Bootloader and would appreciate any assistance in that endeavor. I tried chainloading the grub bootloader when I had installed Ubuntu 8.04, but when I attempted to boot, I received a file not found error(hence the GRUB error 21).

I know my boot loader problem has something to do with my two hard drives from my research on the web, but I don't have a solution. Also, I can't access my Ubuntu Partition from XP or Vista and would appreciate any help in accomplishing that as well.

I have other problems as well, but I'll start with that.

Thanks in advance to anyone that provides assistance!
 
Old 04-28-2009, 06:08 PM   #2
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Also, I am running Vista as 64-bit, XP as 32-bit, and the 64-bit Version of Ubuntu 9.04.
 
Old 04-28-2009, 06:16 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Grub Error 21 is "selected disk does not exist".

This could mean the Raid setup may be not detected by Ubuntu.

You need to copy Ubuntu's first 512 bytes into Vista booting partition to fire up Ubuntu. The steps to use Vista's bootmgr to boot Linux is here.

If you intend to add systems to the box ditch the RAID! I have Grub booting about 35 systems. 5 of them MS Windows (W2k,Xp,Vista-64, W7-32 & w7-64). Raid is a handicap because not every system can see it.

There are a few Windows drivers to mount Linux partitions available for Xp and Vista.

Last edited by saikee; 04-28-2009 at 06:23 PM.
 
Old 04-28-2009, 08:02 PM   #4
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the help, I tried putting "dd =if/dev/sdc2 of=/mnt/sda/sdc2.bin bs=512 count=1" into the Ubuntu terminal to copy those 512 bytes, but received a permission denied for dev/sdc2. Any suggestions?

I am pretty sure sdc2 is right, I tried a couple of different varients, but got the same results.
 
Old 04-28-2009, 08:42 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
For Ubuntu you'll need sudo - do it as "sudo dd ..."
 
Old 04-28-2009, 10:26 PM   #6
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I used the "sudo" and it worked, but I couldn't copy it to the vista hard drive cause I am unable to mount the raid drives in ubuntu. I copied the 512 bytes to a file and put it on a floppy drive. Ubuntu and Vista can see the floppy and my dvd-rom drive. I put the .bin file in my vista drive and followed the rest of the directions. I said the .bin file was in /ubuntu.bin. When the vista bootloader attempted to run the linux entry, it said it was unable to find the .bin file. I'm assuming this is because it was not in the proper place. Any suggestions on how to fix this?

Thanks again about the "sudo". Is that something that you need to place in front of all commands in ubuntu?

Thanks all!!
 
Old 04-28-2009, 10:47 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
"man sudo_root"
 
Old 04-28-2009, 10:52 PM   #8
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
I don't understand, should I try that in the terminal to fix the drives?
 
Old 04-28-2009, 11:12 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,721

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
Nope - that is to allow you to answer for yourself this question you (also) posed ...
Quote:
Originally Posted by WJStyles View Post
Thanks again about the "sudo". Is that something that you need to place in front of all commands in ubuntu?
 
Old 04-28-2009, 11:21 PM   #10
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Ahhh, thanks then, I'll check it out!
 
Old 04-29-2009, 02:20 AM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Wait a minute

According to M$ practice you will have to install Xp first. When Vista was installed it used Xp partition as a springboard to boot itself while itself must reside in another partition which is not bootable independently. Therefore the bootmgr should be in Xp partition and so should the Ubuntu's first 512 bytes.

So have you put the Ubuntu.bin in the partition (should be XP) that dual-boots the two M$ Windows?

This is the arrogance of M$ systems. Their boot loader does not come out to another partition to fetch the part to dual boot. The owner has to put it on a plate and hand deliver to the the "c" drive for it to boot a non-M$ system.
 
Old 04-29-2009, 08:09 PM   #12
WJStyles
LQ Newbie
 
Registered: Apr 2009
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the help saikee! I didn't know that about my XP and Vista Dual boot and that is interesting. Well I moved the file to my XP drive and tried it again, but the only thing that comes up is "GRUB _". With the underscore being a cursor. I tried typing, but nothing comes up.

However, I actually decided to try something else. I have an almost complete machine that is just sitting and collecting dust, so I thought I might build a Linux machine with it. I figure, like you said no raid and since I'm a a beginner it would be better to simplify things. So when I'm done with this post I'm going to give it a try. I'll let ya know the results. Thanks Again man!!!
 
Old 04-30-2009, 01:11 PM   #13
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
WJStyles,

In one PC I am boot a Xp in hda5, Win7-32 and Win-64 in sda10 and sda11. These three M$ systems are booted from a Dos partition in sda1 which is completely empty as the NTLDR and bootmgr files are all hidden there. I put Ubuntu Linux in sda17 so that it controls the MBR. The rest of the disk is empty.

So to boot Xp Grub boot to sda1 which fires up bootmgr from the Win7. Inside it I choose NTLDR for old Windows. I then get the standard NTLDR screen to choose either Xp or Dos to boot.
 
  


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
Triple Boot Problems With Ubuntu 7.10 - Xp - Vista Linux Newcomer Ubuntu 4 04-06-2008 07:05 PM
triple boot problems invasian Linux - General 8 08-30-2004 04:18 PM
triple boot config and mouse problems gdiv Slackware 4 07-05-2004 10:42 AM
Triple Boot, install problems... mannymann Linux - Newbie 12 05-13-2004 08:38 AM
triple boot win98/win2k/linux problems kerbewm Linux - Software 4 04-08-2002 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 PM.

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