LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2002, 04:31 AM   #1
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 32
grub doesn't recognize first hard disk with windows


I installed RH 7.2 without any problems but when I rebooted grub didn't give me the option to boot windows. I tried to intitialize a chainload but that didn't work either.
I have windows ME on the first hard disk and RH on a second both are configured as master drives.
Can anybody help me set up a double boot? Right now I'm booting from a disk wich is quit slow.
 
Old 01-02-2002, 12:25 PM   #2
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
This is my grub.conf

I only have one disk with 3 partitions (WIN2K,WIN98 and Linux)
Linux with 2 kernels

Maybe this give you some ideas

# 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,4)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
title Red Hat Linux (2.4.9-13)
root (hd0,4)
kernel /vmlinuz-2.4.9-13 ro root=/dev/hda6
initrd /initrd-2.4.9-13.img
title Red Hat Linux (2.4.7-10)
root (hd0,4)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
initrd /initrd-2.4.7-10.img
title Win2k
rootnoverify (hd0,1)
chainloader +1
title Win98
rootnoverify (hd0,2)
chainloader +1

Good luck
 
Old 01-02-2002, 04:10 PM   #3
WindozBytes
Member
 
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105

Rep: Reputation: 15
I'm using GRUB to dual boot Linux and NT, each on a separate drive; the grub.conf follows:
- - - - - - - - - - - - - - - - - - - -

title Red Hat Linux (2.4.9-13)
root (hd0,0)
kernel /vmlinuz-2.4.9-13 ro root=/dev/hde2 hdb=ide-scsi
initrd /initrd-2.4.9-13.img
title NT
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
- - - - - - - - - - - - - - - - - - - -

The only thing I can think of that may be missing from your file is the makeactive line. (I need the two "map" lines because windoze is not on the first drive in my configuration.)

Last edited by WindozBytes; 01-02-2002 at 04:11 PM.
 
Old 01-03-2002, 02:16 AM   #4
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by WindozBytes

rootnoverify (hd1,0)
makeactive
chainloader +1
- - - - - - - - - - - - - - - - - - - -

The only thing I can think of that may be missing from your file is the makeactive line. (I need the two "map" lines because windoze is not on the first drive in my configuration.)
I tried those lines on the command line but the system froze. Later I installed linux again but without a bootloader, leaving only the textual interface of grub and then it did work. I will try to make the change in the configuration file though, perhaps then it will work. Thanks
 
Old 01-04-2002, 02:54 PM   #5
rain_maker
LQ Newbie
 
Registered: Dec 2001
Distribution: redhat 7.2
Posts: 9

Rep: Reputation: 0
boot into linux, goto \boot\grub
edit grub.conf

you might see something like this:

rootnoverify
makeactive
chainloader +1

You might need just the "title"
so that it will be displayed...

If that doesn't work and your reinstalling...
When installing and your setting up the linux boot type, at the bottom of the screen linux partition is labeled with a title "redhat 7.2"...but windows partitions isn't, you have to hightlight it and type a name, and thats probably why there wasn't a prompt for windows after the install.

hope that helps...good luck
 
Old 01-07-2002, 01:43 AM   #6
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 32
oops

I think I found the problem. It doesn't show the windows disk there at all (I have to HDD), it doesn't recognize it!
That does seem strange to me though since it does install Grub in the MBR of that windows (C) disk.

Help?
 
Old 01-07-2002, 04:28 AM   #7
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Grrrr! The mighty grub!

Have a look here .

Hope this helps!

Bert
 
Old 01-07-2002, 04:31 AM   #8
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 32
I will certainly look at it, unfortunaly though I won't be able to do that untill next weekend, but I will post a message wether it worked or not.
 
Old 01-07-2002, 04:45 AM   #9
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Well, basically you need to change the partition id from 'Windows Extended' to 'Windows 95 Extended' that way Windows thinks it's well ... another windows partition. It will work. Have faith.
 
  


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
Suse 10 Won't Recognize Hard Disk scoobs SUSE / openSUSE 2 10-17-2005 11:42 PM
grub problem with 2 hard disk with boot loaders. (linux & windows 2000) vbsoftware General 3 01-04-2005 08:01 PM
Fedora can't recognize IBM hard disk size ericmacau Linux - Hardware 0 07-15-2004 10:25 PM
GRUB - adding new hard disk gedi1 Linux - General 2 06-16-2004 07:16 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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