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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-02-2002, 04:31 AM
|
#1
|
Member
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373
Rep:
|
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.
|
|
|
01-02-2002, 12:25 PM
|
#2
|
Member
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132
Rep:
|
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
|
|
|
01-02-2002, 04:10 PM
|
#3
|
Member
Registered: Aug 2001
Location: CT, USA
Distribution: Mandriva 2008
Posts: 105
Rep:
|
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.
|
|
|
01-03-2002, 02:16 AM
|
#4
|
Member
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373
Original Poster
Rep:
|
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
|
|
|
01-04-2002, 02:54 PM
|
#5
|
LQ Newbie
Registered: Dec 2001
Distribution: redhat 7.2
Posts: 9
Rep:
|
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
|
|
|
01-07-2002, 01:43 AM
|
#6
|
Member
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373
Original Poster
Rep:
|
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?
|
|
|
01-07-2002, 04:28 AM
|
#7
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Grrrr! The mighty grub!
Have a look here .
Hope this helps!
Bert
|
|
|
01-07-2002, 04:31 AM
|
#8
|
Member
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373
Original Poster
Rep:
|
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.
|
|
|
01-07-2002, 04:45 AM
|
#9
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|