LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-05-2007, 11:52 AM   #1
zylo
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Unhappy Can't Boot Linux from Second Hard Drive


I've been looking everywhere for the solution to this problem, but I still can't find it. I'm getting tot he point of givign up on being able to resolve this, as my system's configuration is just so convoluted and complicated that it might just be too difficult to get working anyways.

But, here's my last shot at getting something to work.

Background info:

I have 3 drives: 2 set up as a RAID running Windows XP, and the second drive which has several partitions; one has Vista on it, the other has Ubuntu 6.10

Here's the issue. I boot from the RAID first, with the Windows Vista bootloader. The bootloader will boot Windows XP or Windows Vista successfully, but I have found no way to boot to Ubuntu on the second drive. I've tried every combination of tossing the dd if=/dev/hdb6(ubuntu partition) of=ubuntu.bin and running off of that, but I've come up with nothing but errors.

I know it's not a RAID issue because the raid is built before anything else can come up, thus effectively reducing the drive to being recognized as one drive.

I can boot to Ubuntu if I throw in my 6.06 Ubuntu Install CD, then selecting Boot From First Hard Drive at the install cd's prompt screen.

If it sounds too complicated by now, you can see my frustration in wondering why I even bothered to set it up this way. I had XP first on the RAID, and I just installed Vista and Ubuntu on my secondary drive.

So, coming down to some questions I hope someone can answer for me:

1) How can I tell which partition on the second drive boots Ubuntu? If I can get it to boot without any problems if I put in a CD and tell the CD to boot from first hard drive, what does that necessarily mean it's doing?
2) Is there a way to put into Vista's Bootloader the correct info for booting from that drive?
3) Might my configuration be overwriting the MBR? If so, is it possible for me to reinstall Grub somewhere else so I can put that location into Vista's Bootloader to recognize and boot Ubuntu that way?


I've played alot with NeoGrub, toyed with different combinations of outputting the boot sector of various partitions, but none of those dd outputs ever worked except to show "GRUB" on the screen and do nothing else afterwards.

I'm at my wits end. I suppose there has to be a solution to this, but if I can't get this to work, how can I remove Vista, keep Ubuntu as-is, and restore XP's bootloader?

Thanks a bunch for any help you're even considering offering me. It's more than I even expect is possible.
 
Old 04-05-2007, 01:16 PM   #2
Robert Diggs
Member
 
Registered: Dec 2006
Location: Florida
Distribution: The ones that come in magazines and books.
Posts: 136

Rep: Reputation: 15
Hey,

I know as of right now there are quite a few of compatibility issues with Linux and Vista right now. I believe Linux magazine is coming out with a new issue next month showing these problems along with, possibly, fixes for these issues. Stay tuned to that and you might find a fix to your problem.

Regards,

Brandon
 
Old 04-05-2007, 05:11 PM   #3
zylo
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Post Can switch BIOS around

So I did a little fiddling and I was able to change the boot order from the RAID to the IDE drive with Vista and Ubuntu on it.

By switching the boot order to the IDE from the RAID, I can boot Ubuntu right off of the IDE drive. Does this mean that I have installed GRUB onto the MBR of the IDE drive? If so, is there a way to tell the Vista Boot Loader to boot off of another physical drive?

Oh, and Mr. Diggs, can you provide me a link to what magazine or potential article you say might fix this? I'm interested to find out what could be done.
 
Old 04-06-2007, 12:34 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
How about if you remove the XP Raid assembly temporarily, just run the other drive as master and follow this tutorial:

http://apcmag.com/5045/how_to_dual_b...sta_with_linux

After you have Vista and Ubuntu set up and happening on this drive, either modify grub to alter the drive order for these two and add an entry for XP, then put the Raid array back. If you do this you would have to map Vista to fool it into thinking it is still on the first drive.
Now, I have no raid experience, but maybe you can leave this drive as primary, and add XP raid as secondary drive and again, add an entry for XP and map it to think it is on the primary drive. To map a Windows OS in grub would be something like this for XP on the second drive first partition:

Code:
title Windows XP
      rootnoverify   (hd1,0)
      map            (hd0,0) (hd1,0)
      map            (hd1,0) (hd0,0)
      makeactive
      chainloader +1
This is not written in stone, just a suggestion, I don't have Vista.
Here is a "older" grub howto:

http://www.linuxquestions.org/questi...hreadid=237511

You should probably google on how to make a grub boot floppy to play with till you get it right before you install it to the MBR.
 
Old 04-06-2007, 01:01 AM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Is this a motherboard raid? If so, and if you're going to have to use the raid as your first drive in the boot sequence, you'll probably need to put a "/boot" partition on it and install grub to it. You may even need to install dmraid on the Linux side.
 
  


Reply

Tags
boot loader, grub, tripleboot, ubuntu, vista, xp



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot but can't see linux hard drive from XP battlezonehawk Linux - General 15 06-10-2007 03:01 PM
Boot Linux from external hard drive?? wootletootle Slackware 9 01-19-2007 05:46 AM
can't boot from usb: how to boot linux from ext. hard drive? bernhardtjeff Linux - Newbie 5 07-07-2006 01:42 AM
Wish to Boot Linux from USB Hard Drive mdaoud Linux - Newbie 3 02-20-2006 06:44 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration