LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-19-2003, 11:55 PM   #1
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Rep: Reputation: 30
Unhappy In desperate need... Grub wont detect my windows partition...


Im using ntfs with win xp. I partitioned the hd for linux before installing. I went through the usual motions of installing 7.3 as Ive done it many times before with no problems...

However when I rebooted the grub boot screen only lists the redhat OS. It doesnt seem to detect my windows partition and OS. How can I get grub to detect my windows XP partition. It must be there somewhere because when I ran:

mount -t ntfs /dev/hda1 /mnt/windows

I got

mount: fs type ntfs not supported by kernel.

I also remember during the installation that it said I was going to overwrite the "linux partitions" only... So Im assuming that my windows OS is still there. I am in desperate need of help as I have a lot of valuable papers on my win partition...
 
Old 08-19-2003, 11:59 PM   #2
Zb7
Member
 
Registered: Jul 2003
Location: Cincinnati, Ohio
Distribution: Slackware 9 (current), Gentoo 1.4, Redhat shrike
Posts: 86

Rep: Reputation: 15
Boot into Linux and find your /boot/grub/grub.conf file


edit it and add these lines


title=Windows
rootnoverify (hd0, 0) #This assumes that windows is the first partition on your first hard drive
chainloader (hd0,0)+1
 
Old 08-20-2003, 01:18 AM   #3
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Hi thanks. Ive edited the file. Now I just need to remove the # from either end of it. I tried

mv #grub.conf# grub.conf

But it tells me Im missing a file argument. I checked the man but didnt find an argument that would help... What command should I use?
 
Old 08-20-2003, 01:26 AM   #4
gargamel237
Member
 
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
try escaping the #'s.

mv \#grub.conf\# grub.conf
 
Old 08-20-2003, 01:34 AM   #5
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Thanks guys! I got the boot loader to recognize xp!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO wont detect windows partition InfidelLewis Slackware 7 04-29-2005 03:29 PM
grub wont boot windows xp sonesay Red Hat 1 04-27-2005 01:14 AM
grub wont boot windows on second hard drive ryan00davis Linux - General 12 05-19-2004 03:13 PM
GRUB boot loader on TurboLinux doesn't detect Windows shantanun Linux - Newbie 2 02-18-2004 08:49 AM
Grub help - Windows XP wont boot! Kennifer Linux - Software 8 06-09-2003 01:37 AM


All times are GMT -5. The time now is 04:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration