LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual booting windows and linux? (https://www.linuxquestions.org/questions/linux-newbie-8/dual-booting-windows-and-linux-831571/)

David2010 09-11-2010 12:04 PM

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.

colorpurple21859 09-11-2010 12:26 PM

Have you tried easybcd, It will allow you to boot linux from the windows bootloader.

David2010 09-11-2010 01:20 PM

Hm...

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)
makeactive
chainloader +1
boot"

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. :-/

ronlau9 09-11-2010 01:59 PM

Because windows is not on the first drive being hd0 you have to map you're drives
map (hd0) (hd1)
map (hd1) (hd0)

David2010 09-11-2010 02:30 PM

Quote:

Originally Posted by ronlau9 (Post 4094585)
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)
makeactive
chainloader +1
boot"

prashant3161 09-11-2010 02:37 PM

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.
ww.ubuntugeek.com/how-to-restore-grub-boot-loader-after-installing-windows.html

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.


All times are GMT -5. The time now is 08:32 AM.