LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-10-2003, 08:24 PM   #1
rusium
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9, XP Pro
Posts: 12

Rep: Reputation: 0
Question grub.conf simple question


I just installed a new physical hard drive, with windows xp on a fat32 partition. Linux recognizes it, mounts ok, and it works fine. I just want to have it listed as a boot option, what do I need to add to grub.conf to make it successfully boot into windows?
 
Old 05-10-2003, 08:43 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
i think you should take a look at this
 
Old 05-10-2003, 10:30 PM   #3
rusium
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9, XP Pro
Posts: 12

Original Poster
Rep: Reputation: 0
.

k, i read pretty much everything i can get my hands on about grub options and what not.

so heres what im trying to use..
---
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1)
chainloader +1
boot

for some reason when i leave the command "makeactive" in there, it gives me an error 12 invald drive or whatever. but when i take it out, it boots into dos and does the whole looking for boot from cd, floppy, ide-0 thing and then tries to boot from floppy. any ideas?

thanks,
Dan
 
Old 05-10-2003, 11:39 PM   #4
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
my grub reads:
title=winxp
boot (hd0,1)
chainloader (hdo,1)+1

the spacing is important and the trickiest part is naming the partition.
hda would be hd0 and hdb would be hd1 and hdc would be hd2 and so on.
then you have got to have a comma and another number representing the partition number first partiton on hda would be (hd0,0) mbr on hda would be just (hd0) you must have the () also yours if its the only thing on hdb would probably be (hd1,0) or in total:

title=hatefulwinxp
root (hd1,0)
chainloader (hd1,0)+1

just like that and rember spacing is important
 
Old 05-11-2003, 12:41 AM   #5
rusium
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9, XP Pro
Posts: 12

Original Poster
Rep: Reputation: 0
.

that doesnt solve the problem, im just at the same screen that asks me to insert a floppy, or just loops me to the same screen over and over again, I tried adding in some other options such as map and tried different hd numbers but nothing seems to work

i believe this problem may have something to do with windows but im not sure, im open to anything at this point
 
  


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.conf question ndegrace Linux - Software 5 01-09-2005 04:51 PM
Simple Mandrake/Grub question webwolf70 Mandriva 4 09-26-2004 02:27 PM
Simple resolve.conf question (Search Command) rrosenkoetter Linux - Networking 2 04-05-2004 08:46 PM
quick grub.conf question dot hog Linux - Newbie 1 10-17-2003 05:19 PM
Simple Grub question mpooley Linux - Software 1 11-22-2002 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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