LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-23-2010, 01:10 AM   #1
droark
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Problem setting up dual-boot


I am having trouble with a Linux/Win XP dual boot setup. Each O/S is installed on its own SATA disk. When the disks are installed separately, both Fedora and XP boot up normally. What I am trying to acomplish is dual-boot capability using GRUB and the two disks.

My two SATA disks are as follows:

(sda or hd0,0) 465GB Fedora 12

(sdb,1 or hd1,0) .20GB
(sdb,2 or hd1,1) 465GB NTFS

My best guess at grub.conf is shown below. I have also tried all the other disk and partition combinations with no positive effect:

# 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/mapper/vg_shorty-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
# hiddenmenu
#title Fedora (2.6.32.16-141.fc12.i686.PAE)
# root (hd0,0)
# kernel /vmlinuz-2.6.32.16-141.fc12.i686.PAE ro root=/dev/mapper/vg_shorty-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.32.16-141.fc12.i686.PAE.img
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_shorty-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
 
Old 07-23-2010, 02:58 AM   #2
zeno0771
Member
 
Registered: Jun 2006
Location: Northern IL
Distribution: Arch64
Posts: 106

Rep: Reputation: 19
What trouble are you having specifically?

Is sdb1 a /boot partition for Fedora or a Win system partition? XP generally doesn't need those but if it was an OEM install it might be a backup/restore partition. If it's /boot, GRUB could be looking in the wrong place and/or for the wrong thing. Need this info to be of any more help.

Generally, in a dual-boot setup Win has to be installed first; Anaconda (and most other installers) are usually pretty good at finding Windows installs and modifying GRUB accordingly. Doing it manually and with Linux first usually results in boot issues; worst-case you can corrupt the MBR.
 
Old 07-23-2010, 03:53 AM   #3
Archit
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
there is a simple way.
download and install "acronics OS selector" in xp .
when ever u r machine boots it first shows u a screen of OS selector.
u then choose u r OS
 
Old 07-23-2010, 05:00 AM   #4
droark
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by droark View Post
I am having trouble with a Linux/Win XP dual boot setup. Each O/S is installed on its own SATA disk. When the disks are installed separately, both Fedora and XP boot up normally. What I am trying to acomplish is dual-boot capability using GRUB and the two disks.

My two SATA disks are as follows:

(sda or hd0,0) 465GB Fedora 12

(sdb,1 or hd1,0) .20GB
(sdb,2 or hd1,1) 465GB NTFS

My best guess at grub.conf is shown below. I have also tried all the other disk and partition combinations with no positive effect:

# 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/mapper/vg_shorty-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
# hiddenmenu
#title Fedora (2.6.32.16-141.fc12.i686.PAE)
# root (hd0,0)
# kernel /vmlinuz-2.6.32.16-141.fc12.i686.PAE ro root=/dev/mapper/vg_shorty-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
# initrd /initramfs-2.6.32.16-141.fc12.i686.PAE.img
title Fedora (2.6.31.5-127.fc12.i686.PAE)
root (hd0,0)
kernel /vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=/dev/mapper/vg_shorty-lv_root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
title Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1
-----
I spend 95 percent of my time in Linux. I need to find a way to make GRUB work other than switching the SATA cables around and reboot. Thanks.
 
Old 07-23-2010, 07:02 AM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Lats ask the most important question again:
Quote:
Originally Posted by zeno0771 View Post
What trouble are you having specifically?
You must explain in detail what is happening.


Everything looks OK except
Code:
rootnoverify (hd1,0)
, I think you it should read
Code:
rootnoverify (hd1,1)
if Windows is actually installed on that second partition.

Last edited by DrLove73; 07-23-2010 at 07:04 AM.
 
  


Reply

Tags
boot, dual, grub, linux, xp


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
Problem setting dual boot Javier Santoyo Linux - Newbie 3 09-08-2009 12:21 AM
Problem setting up a dual boot (WinXP/SUSE 10.0) system firecrotch Linux - General 3 02-05-2006 05:24 AM
Setting up dual boot with Knoppix gnukish DamnSmallLinux 7 07-12-2005 12:04 AM
Setting up new HD for dual boot and storage Decemoto Linux - Newbie 7 03-13-2005 09:06 PM
Setting up Dual Boot Partitions rockin chair Linux - General 3 05-08-2002 09:37 AM


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

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