Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-21-2009, 10:58 PM   #1
LQ Newbie
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
Windows 7, Ubuntu, Raid0

So i have windows installed over a raid0, and i have ubuntu installed on my 3rd hard drive,

After installing ubuntu and the boot loader to my 3rd drive, Linux booted fine and dandy, so i went into grub menu.lst to add windows 7 back into the boot loader, added the following code and hit restart,

title Windows 7
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1

windows shows up in grub just like it should be when i go to boot it i get the dreaded "BOOTMGR is missing" error...

I have tried using the repair function on the W7 dvd, but with no luck, it was unable to identify any installed versions of windows.

any ideas on where to go from here?

**I know threads like this come up every 15 seconds and i do thank you in advance if you are able to help out with this**
Old 09-21-2009, 11:17 PM   #2
LQ Newbie
Registered: Feb 2009
Posts: 7

Original Poster
Rep: Reputation: 0

I have worked out why it wont boot, i have windows 7 on partition two for some reason, So for the boot command to work would it look like this?

title Windows 7
root (hd0,2)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1

Being hard drive 0, partition 2?

No would it be root (hd0,2)(hd1)??

Im lost now...

Last edited by ratiohack; 09-21-2009 at 11:19 PM.
Old 09-22-2009, 07:18 AM   #3
Senior Member
Registered: Jun 2008
Posts: 1,809

Rep: Reputation: 216Reputation: 216Reputation: 216
From memory...

I believe that the GRUB numbering system starts with 0 for both the HDD and the partition. If you want to boot from the second partition of the first HDD, the notation would be "hd0,1".
Old 09-22-2009, 09:22 AM   #4
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware, Ubuntu
Posts: 9,930

Rep: Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297Reputation: 2297
Grub does count from zero as thorkelljarl indicated so if your windows is on the second partition of the first drive:

rootnoverify (hd0,1)
chainloader +1

should work. Drop the map commands as they are only need on second or later drives.


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
Raid0 and ubuntu (7.10 and 8.04 ) geburah Linux - Hardware 5 05-03-2008 05:38 PM
Ubuntu Error 21 on WinXP with Windows on RAID0 Drive and Ubuntu on eSATA drive videocheez Linux - Newbie 12 06-13-2007 11:23 AM
Adaptec ASR-2820SA in Raid0 slower than SW-Raid0 phab Linux - Hardware 0 01-22-2007 09:03 AM
RAID0 Ubuntu install, help needed kamil212 Linux - Newbie 1 06-12-2006 07:43 AM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 01:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 AM.

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