LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 01-19-2008, 01:00 AM   #1
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Rep: Reputation: 15
Dual Booting


Hey I know that there are a few post here on dual booting already; however I was unable to find one that matched my situation. I have two IDE hard drives each containing an OS. The first ( primary ) contains fedora 8. The second (slave) contain Windows XP. The problem is that I am unable to configure the GRUB menu to give me the option of loading Windows. If anyone has some pointer for the newb id appreciate it. thanks in advance Linux gurus.
 
Old 01-19-2008, 02:20 AM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
Hi, can you post your current "menu.lst"?
 
Old 01-19-2008, 08:28 AM   #3
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
Here is my current GRUB configuration; However I think that when I added the last line I obviously goofed up. thanks for responding.


# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.9-85.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.9-85.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.9-85.fc8.img
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img

title Windows XP
map (hd1)(hd0)
map (hd0) (hd1)
root(hd0,1)
chainloader +1
 
Old 01-19-2008, 09:23 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Try it this way:

Quote:
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
makeactive
boot
first, you tell GRUB that Windows is on the 2nd drive, first partition. (hd1,0)

then, you tell GRUB to tell Windows that this is really the first drive. (the two map commands)

Trying to understand exactly what happens in this process gives me a headache....YMMV..
 
Old 01-19-2008, 01:25 PM   #5
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
I have tried that but, I get the following message and Windows never boots:
Booting Windows XP (title I gave it )
map (hd1)(hd0)
map (hd0 (hd1)
chainloader +1
make active
boot
GRUB
 
Old 01-19-2008, 07:27 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You're missing the root command, and you are missing a parentheses in the 2nd map command, and "makeactive" has no space.

Are you saying that is literally what it is spitting out??

Just to be double-sure we are on the same page, boot up into Linux, open a terminal, "su" to root and enter "fdisk -l" (lower case ELL, not a ONE). Post the results here (cut and paste so we don't lose anything to typos.)
 
Old 01-19-2008, 11:12 PM   #7
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
Yeah thats what it printed out upon a reboot. Here is my current hd configuration.thanks in advance for the help.



Disk /dev/sda: 7510 MB, 7510164480 bytes
255 heads, 63 sectors/track, 913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005977b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 913 7132860 8e Linux LVM

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x8c3ed9c0

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 10336 78140128+ 7 HPFS/NTFS

Disk /dev/dm-0: 6174 MB, 6174015488 bytes
255 heads, 63 sectors/track, 750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
 
Old 01-20-2008, 06:54 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The fdisk output looks OK, except that you don't have any swap space for Linux. (Will not affect your Windows issue.) for completeness, what are dm-0 and dm-1? What other devices are installed (or connected by usb or firewire)?

If the stuff in your previous post is the literal output, then you have some errors in the menu.lst file. Check to be sure that you entered exactly what I gave you. Post your menu.lst here.
 
Old 01-20-2008, 09:05 AM   #9
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
There is nothing else connected to my computer besides the two HDs so I dont know what dm-0 is.Here is my menu.ls and I believe that I entered everything the way you said too.


# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.9-85.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.9-85.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.9-85.fc8.img
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img

title Windows XP
root(hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
makeactive
boot
 
Old 01-20-2008, 12:09 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
In the Windows entry, add a space between root and (hd1,0). That's the only possible thing that I see.
 
Old 01-20-2008, 10:48 PM   #11
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
Ahh paying attention to detail is important after all.Worked like a charm thank so much pixellany.
 
Old 01-21-2008, 12:09 AM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
We like happy endings....
 
  


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
dual-booting with an existing windows dual-boot ShadStar Linux - Newbie 3 02-28-2007 04:05 PM
Questions about dual booting, dual hard drives, and partitioning Raybrandt Linux - Newbie 4 04-22-2006 09:19 PM
Dual Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

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

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