LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2006, 01:15 PM   #1
cooldeal
LQ Newbie
 
Registered: Mar 2005
Distribution: RHL 9
Posts: 1

Rep: Reputation: 0
Exclamation Dual Boot with 2 Hard-disks


Can You please Help me with Dual Boot.

I am learning Linux. I recently installed RH9 2.4 at home, but I access it only using the bootable Floppy. I have two Hard-disks.
I have Windows XP in the primary HD which was already installed when I took my HP PC. I installed Linux in second Hard-Disk.

If I change my Hard-disk order, as in, IF I make my Linux hard-disk as the Primary Hard-disk then I can boot into Linux directly using the option on the GRUB screen. But when I try to log in at Windows, I cannot. I want to Log in to Windows using the option on the GRUB screen.

The Details:

------------------------------------------
Hard-disk / Partitions / OS
------------------------------------------
1 / Vfat, NTFS / Windows XP
------------------------------------------
2 / ext3 / Linux
------------------------------------------

And My /boot/grub/menu.lst looks like this :

#boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,4)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows XP Home
rootnoverify (hd1,0)
chainloader +1


Do Let me know as to what I can do to solve this problem.
 
Old 01-04-2006, 03:50 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
How to boot windows from non-first disk
 
Old 01-04-2006, 03:50 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
For starters, you say that you have Windows on first drive, and RH( on the second drive. Your menu.lst says the opposite....

In grub-speak, the first drive is hd0, so the windows entrie need to point there, and the RH entries need to point to hd1.

don't understand "vfat/NTFS"

How did you install grub---did you let the RH installer do it for you? manual setup ?
 
Old 01-04-2006, 03:51 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Emerson
That's not what he is looking for. He has Windows on the first disk
 
Old 01-04-2006, 03:53 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Cooldeal,

My understanding is that you installed FC3 on a 2nd hard disk and put GRUB in the MBR of that hard disk. Now you're tired of using a boot floppy and swapped drives. Now you want Linux on the first drive (hd0) and XP on the second drive (hd1), and you want GRUB to control which you boot. Assuming (always dangerous) I understand you correctly, try this:

http://www.linuxquestions.org/linux/...d_HD_with_Grub

Last edited by pljvaldez; 01-04-2006 at 03:57 PM.
 
  


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 hard disks and OS's gigatwo Linux - Hardware 1 07-20-2005 02:12 PM
Two hard disks better for dual boot? zigzago Linux - Hardware 5 03-18-2005 03:29 AM
dual boot xp and mandrake 10.0 on two different hard disks bmxpunk Mandriva 9 04-25-2004 09:04 AM
Dual-boot on two Hard Disks, MBR, etc admanb Linux - Newbie 4 02-06-2004 04:45 PM
Dual boot on inspiron with multiple hard disks mattkat Linux - Laptop and Netbook 1 09-15-2003 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration