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.
|
|
07-14-2005, 11:43 PM
|
#1
|
LQ Newbie
Registered: Jul 2005
Posts: 15
Rep:
|
dual boot:cannot boot redhat linux 9 with win xp
Hello,
Iim a newbie to linux
problem: cant see boot menu where i can choose between rh9 and winxp. it goes to winxp by default.
I have been able to acces redhat 9 using boot diskette
I had winxp installed first and then i installed rh 9.
I used grub
I did not use MBR, installed it on /boot
and the options i had got were: DOS, or redhat
I chose DOS to be the default
Any help as to how I can get a menu to select btw linux and winxp
Thank s in advance
How can
|
|
|
07-15-2005, 12:07 AM
|
#2
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
I've got a rather strong feeling that Windows' bootloader is installed in the MBR, and therefore the system is seeing that and never even getting a chance to check your /boot config.
Reinstall grub to the MBR instead of /boot (it sounds like your config file will be accurate the way it is), and that should fix things:
/sbin/grub-install /dev/hda (where /dev/hda is your master hard drive, presumably where both OS's are residing)
|
|
|
07-15-2005, 11:26 AM
|
#3
|
LQ Newbie
Registered: Jul 2005
Posts: 15
Original Poster
Rep:
|
re: dual boot loader
Hi,
I did not mention this before.
I have one 40 GB hard drive
partition 1 - 19GB ---> where windows is installed
partition 2- NTFS 7GB
partition 3-NTFS 7GB
I have an extended partition
then 3 more partitions for redhat linux which is total of about 4.5 GB
/ root 3.9GB
/boot 118MB
swap 360 MB
So I have windows and redhat 9 installed on two different partitions
and /boot partition is well beyond the 8GB.
So I wonder if it is the issue of 1024 cylinder problem
How do I install grub again please.?
Thanks
|
|
|
07-15-2005, 11:53 AM
|
#4
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
First, take a look in your /etc/grub.conf file to ensure that there are indeed sections for booting both Windows & Linux. From what you said earlier, I fully expect this to be fine.
Then, as root, issue the command:
/sbin/grub-install /dev/hda
And you should be good :-)
|
|
|
07-15-2005, 08:01 PM
|
#5
|
LQ Newbie
Registered: Jul 2005
Posts: 15
Original Poster
Rep:
|
re
hi
i issued the command
/sbin/grub-install /dev/hda
I got a PROBLEM.
When i rebooted, i saw the grub menu BUT i could not log into DOS(windows)
but could log into redhat
the options were
redhat
DOS
when I clicked on DOS, it just came back to the grub menu again and again
I can no longer log into windows anymore
Please note that I have one hard drive and I have partitioned it to run both winxp and redhat 9
please help
thanks
|
|
|
07-15-2005, 11:28 PM
|
#6
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
Looks like the RH9 setup didn't get it quite right. Could you post your grub.conf file?
|
|
|
07-16-2005, 12:30 AM
|
#7
|
LQ Newbie
Registered: Jul 2005
Posts: 15
Original Poster
Rep:
|
Hi, here's the grub.conf file from /boot/grub/grub.conf
I am typing this as I cant get my internet to work from linux rh9
#boot =/dev/hda7
default=1
timeout=10
splashimage=(hd0,6) /grub/splash pm.gz
title Red Hat Linux (2.4.20-8)
root(hd0,6)
kernel /vmlinuz-2.4.20-8 root=LABEL=/hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify(hd0,0)
chainloader +1
I used windows cd to boot to recovery mode and typed fixboot
Now the grub menu is gone and it automatically logs into windows
thanks for your help in advance
help please
|
|
|
07-16-2005, 12:16 PM
|
#8
|
LQ Newbie
Registered: Jul 2005
Posts: 15
Original Poster
Rep:
|
can someone help me out here
thank you
|
|
|
07-16-2005, 09:31 PM
|
#9
|
Member
Registered: Jul 2005
Location: india
Distribution: redhat, bsd
Posts: 34
Rep:
|
hi dinow
got ur question, firstly u didn't need to install grub at MBR. The boot sequence of a i386 arch makes bios to search for the active partition of the disk. If the active one is found its boot sector/record is loaded and run. so instead u would have made partition with /boot active and ur problem will be solved.
in present case, u go to the linux rescue mode and again install grub. prefer at MBR, may be rewriting ur mbr will fix ur prob this time.
hoping fr the best
|
|
|
07-17-2005, 05:27 PM
|
#10
|
Member
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929
Rep:
|
Try adding the line 'makeactive' to your grub.conf file, under the DOS section.
So now it will look like this:
#boot =/dev/hda7
default=1
timeout=10
splashimage=(hd0,6) /grub/splash pm.gz
title Red Hat Linux (2.4.20-8)
root(hd0,6)
kernel /vmlinuz-2.4.20-8 root=LABEL=/hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify(hd0,0)
makeactive
chainloader +1
|
|
|
All times are GMT -5. The time now is 07:44 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
|
|