LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual boot windows and fedora (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-windows-and-fedora-712065/)

palisetty_suman 03-16-2009 04:46 PM

dual boot windows and fedora
 
Hi while creating dual boot, i used the option "use free space and create custom layout" but i did not get the dual boot option. My sir just told me that, i need to add a line
grub.conf
I don't know when and where to add this line. Please help me.

Berticus 03-16-2009 04:55 PM

The solution to this problem is pretty much everywhere.

At the end of the file, add:
Code:

title Windows
rootnoverify (hd0,1)
makeactive
chainloader +1

Change (hd0,0) to the partition Windows is on. A number prefixed with hd refers to the hard drive number, the second parameter is the partition number. The count starts with 0. So first hard drive is hd0, second hard drive is hd1, et cetera. Likewise, first partition is 0, second partition is 1, et cetera.

So if you want first hard drive, first partition it's (hd0,0)
first hard drive, second partition (hd0,1)
second hard drive, first partition (hd1,0)

PTrenholme 03-16-2009 05:04 PM

Your "sir" told you? :scratch:

Anyhow, you need to edit the file /boot/grub/grub.conf to include a stanza like this:
Code:

title Vista
        rootnoverify (hd0,0)
        chainloader +1

b]

F.Y.I.: You need "root" access to edit the gruub.conf file, so open a terminal and use the command su - to long in as "root" using that terminal window. Then use the command nano /boot/grub/grub.conf to edit the file.

Note 1: Unless you over-ride the default, anaconda should have created a Windows logon stanza for you labeled "Other," so if you see an "Other" option, try it.

Note 2: You may have the "hidemenu" option in your grub.conf file. If you do, you need to press the "Escape" key when the GRUB splash screen is displayed in order to see your menu choices.


All times are GMT -5. The time now is 05:31 AM.