Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-11-2010, 01:04 PM   #1
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Dual booting windows and linux?

I have windows xp on my first hard drive and Linux on the second hard drive.

The windows hard drive is labeled hda1 and the linux hard drive is labeled hdb1.

I am using GRUB to boot the linux hard drive and it is installed on hdb.

Is there any way to boot the secondary linux hard drive using the windows bootloader?

I have tried several online tutorials for it but none of them work.
Old 09-11-2010, 01:26 PM   #2
Senior Member
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,503

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Have you tried easybcd, It will allow you to boot linux from the windows bootloader.
Old 09-11-2010, 02:20 PM   #3
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23

I got linux to boot up by swapping the slave hard drive and setting it as the master hard drive.

So now hda1 is linux and hdb1 is windows.

Linux boots perfectly.

But now I can't boot into windows from grub.

I tried using:

"rootnoverify (hd1,0)
chainloader +1

But all that does is restart the machine.

In order to get into windows I had to disable the primary hard drive in the bios. Obviously this isn't even close to a solution. :-/

Last edited by David2010; 09-11-2010 at 02:28 PM.
Old 09-11-2010, 02:59 PM   #4
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Because windows is not on the first drive being hd0 you have to map you're drives
map (hd0) (hd1)
map (hd1) (hd0)
1 members found this post helpful.
Old 09-11-2010, 03:30 PM   #5
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Originally Posted by ronlau9 View Post
Because windows is not on the first drive being hd0 you have to map you're drives
map (hd0) (hd1)
map (hd1) (hd0)
Thank you!!!

That fixed my problem.

"map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
Old 09-11-2010, 03:37 PM   #6
LQ Newbie
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Problem in dual booting system

Hi all,
Actually i had ubuntu 10.04 on my system and now i have installed windows 7 on my system.Initially ubuntu was not visible so i installed grub using some steps i found on net.

But now there is another problem that my windows is not visible in the boot menu.
I have also checked the grub.conf file the entry for windows 7 is there.
So now can anyone suggest me some solution to this problem.


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
New to Linux - dual booting with Windows FlameLover Linux - Newbie 4 12-12-2005 10:18 AM
Dual booting windows + linux untwisted Linux - General 8 09-23-2004 02:26 PM
Dual Booting Linux and Windows Mandarb Linux - Software 3 05-05-2004 10:41 AM
Dual booting Linux and Windows XP windozeman Linux - Newbie 2 03-24-2004 02:10 PM
dual booting windows with linux garorag Linux - General 1 01-19-2003 10:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration