LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 10-12-2007, 12:16 PM   #1
Kappa1
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Dual Boot not working (Fedor 7 x86-64 and XP)


I have Windows XP & Windows Server 2003 installed on my Dell E520
(Core2, 2GB RAM, one 250GB hard disk). Last night I installed Fedora
Core 7 x86_64, but I can't see Windows OS listed on the start up.
Where are they gone? During the installation it did ask me to install
GRUB, which I did.

Is it something to do with the fact that Fedora 7 that I installed is
64-bit OS, while Windows are 32-bit operating systems (both XP &
2003).

How can I go about to resolve this issue.

Thanks in advance for your suggestions

Kappa

Last edited by Kappa1; 10-12-2007 at 12:26 PM.
 
Old 10-12-2007, 12:38 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
What partitions are used for which OS?
 
Old 10-12-2007, 01:11 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Your /boot/grub/grub.conf file should look somewhat like this, where the XP stuff is in red:
Code:
$ sudo cat /boot/grub/grub.conf
Password:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/Fedora/Base
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.22.9-91.fc7)
        root (hd3,0)
        kernel (hd3,0)/vmlinuz-2.6.22.9-91.fc7 ro root=/dev/FC7/Base rhgb quiet
        initrd (hd3,0)/initrd-2.6.22.9-91.fc7.img
title Fedora (2.6.22.7-85.fc7)
        root (hd3,0)
        kernel (hd3,0)/vmlinuz-2.6.22.7-85.fc7 ro root=/dev/FC7/Base rhgb quiet
        initrd (hd3,0)/initrd-2.6.22.7-85.fc7.img
title Mandrive
        root (hd0,0)
        kernel /vmlinuz BOOT_IMAGE=2.6.17-14 root=/dev/Mandriva/Base resume=/dev/Mandriva/Swap splash=silent vga=788
        initrd /initrd.img
title Mandrive 2.6.2.17-15
        root (hd0,0)
        kernel /vmlinuz-2.6.17-15mdv BOOT_IMAGE=2.6.17-15 root=/dev/Mandriva/Base resume=/dev/Mandriva/Swap splash=silent vga=788
        initrd /initrd-2.6.17-15mdv.img
title Fedora Core (2.6.20-1.2948.fc6) USB
        kernel (hd4,1)/vmlinuz-2.6.20-1.2948.fc6 ro root=/dev/USB_Fedora/Base rhgb quiet
        initrd (hd4,1)/initrd-2.6.20-1.2948.fc6.img
title Win XP Pro
        rootnoverify (hd2,0)
        map (hd0) (hd2)
        map (hd2) (hd0)
        chainloader +1
title Win 98 SE
        rootnoverify (hd1,0)
        map (hd0) (hd1)
        map (hd1) (hd0)
        chainloader +1
Now, in your case, since you have only one drive, you won't need to map directives (which tell GRUB to logically exchange the drive assignments). The rootnoverify directive, for a single drive, should look loke this: rootnoverify (hd0,n), where "n" is the number of the partition containing the OS you wish to boot. Note that GRUB numbers partitions starting at 0, not 1.

If you've got your Fedora 7 system working, the command /sbin/fdisk -l /dev/sda should list all your partitions. Here's an example:
Code:
$ /sbin/fdisk -l /dev/sda

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       12161    97578810   8e  Linux LVM
(Of course, your drive should have more partitions. In fact, you will probably see an "Extended" partition which overlaps some other partition(s). This is normal, and to be expected.)
 
Old 10-12-2007, 06:36 PM   #4
Kappa1
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
That's what my grub.conf is:
---------------------------------------------------------------

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img
title Other
rootnoverify (hd0,0)
chainloader +1

----------------------------------------------------------------

Here is what the partition structure looks like:

[root@localhost penguin]# /sbin/fdisk -l /dev/sda

Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sda2 12749 20397 61440592+ f W95 Ext'd (LBA)
/dev/sda3 20398 22947 20482875 83 Linux
/dev/sda4 22948 23011 514080 82 Linux swap / Solaris
/dev/sda5 12749 20397 61440561 7 HPFS/NTFS

--------------------------------------------------------------------------------------------------

I have 2 partitions for Windows and 1 ext3 partition for Fedora 7 x86_64.

Will running FDISK /MBR from bootable disk get Windows XP & 2003 back? Or is there anyway I can keep Fedora as well without messing about stuff.

Thanks very much PTrenholme for your help.

Last edited by Kappa1; 10-12-2007 at 06:47 PM. Reason: Added something to the previous
 
Old 10-13-2007, 01:41 AM   #5
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
boot fedora in rescue mode and once u r in shell...jus use grub-install command to reinstall the fedora as well as the windows OS in ur boot loader...
 
Old 10-13-2007, 07:58 AM   #6
Kappa1
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Problem has been resolved. I can see Fedora Core and Others, selecting Others takes me to Windows which is great. It was kind of strange, as yesterday my keyboard was not even working at the bootloader screen.

Pareveen_2003, I'm out of the woods before I could try grub-install. Anyway, thanks very much to all.


Kappa1
 
  


Reply


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
help me to rescue my grub on x86 system with dual boot adityakumar Linux - Software 9 12-28-2006 07:01 AM
Cant get dual boot working... please help trancekid Fedora 8 06-25-2006 10:10 AM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM
Dual Boot option is not working. lowrida Linux - Newbie 24 08-02-2005 04:58 PM
Problem with dual boot after Fedor install -no windows claudius753 Linux - Newbie 4 02-22-2004 05:12 AM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration