LinuxQuestions.org
Review your favorite Linux distribution.
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 06-20-2005, 03:29 PM   #1
Julian2005
LQ Newbie
 
Registered: Feb 2005
Location: Wales (uk)
Distribution: Fedora Core 4
Posts: 8

Rep: Reputation: 0
Grub config


Hi,

I wasnt to sure whether to put this in the newbe or the software section, but since im new to linux here it is (move it if need be).

the problem i'm having is that i had windows xp installed on my hard drive that was set to master, i got a new hard drive and put it in as slave and put Fedora Core 4 on it and couldn't get it working, so i took the xp drive out and put my new hard drive as the master to install fedora and it worked first time. I then put my my windows hard drive in as slave, so xp is installed on one hard drive set as slave, and linux is on the master hard drive.

Now my problem is that i have to keep going into the bios to change which hard drive to boot from, and xp cant see linux because of the file system, and linux cant see xp which i thought that it could. I have tried modifying the grub.conf and putting all sorts in there but nothing seems to work, so is it possible to set grub to boot both since i didnt have the 2 hard drives in when i installed linux or not. any help as to how i can do this would be GREATLY appreciated.

Thanks
Julian
 
Old 06-20-2005, 03:38 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Check google for a grub howto or something.

I'm pretty sure you can make grub boot either and it probably looks something like this:

Code:
title Windows
rootnoverify (hd1,0)
hide (hd0,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader +1
This seems to assume that windows is the primary slave and linux is the primary master.
 
Old 06-21-2005, 11:39 AM   #3
Julian2005
LQ Newbie
 
Registered: Feb 2005
Location: Wales (uk)
Distribution: Fedora Core 4
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

It works, thanks, and i managed to get my xp drive mounted under linux, i was typing:

mount dev/hdb2 /media/hdb rather than mount /dev/hdb2 /media/hdb

so i thought that linux couldn't see xp but it was just me not typing the right thing in.

but it works, great stuff thanks a lot.

Julian
 
  


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
grub config file not there linuxmandrake Mandriva 1 05-28-2005 02:13 PM
grub config in ubuntu linusownsme Linux - Newbie 1 05-07-2005 03:45 PM
grub ./config error darkRoom Linux - General 3 02-09-2005 06:26 AM
Lunar grub config vredfreak Linux - Distributions 1 11-17-2004 11:09 PM
Grub.config help iLLuSionZ Linux - Newbie 19 11-09-2003 03:02 AM


All times are GMT -5. The time now is 10:59 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