LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2003, 03:03 PM   #1
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Rep: Reputation: 15
Unhappy WinXP/RH9 - Dual Boot?


Hello,
I just got a new computer with two hard drives, 10 GB and 5 GB. I put Windows XP on the larger one without any problems, then installed RedHat 9 on the smaller one. Now when I load my computer, it just says "GRUB" in the upper-left corner. I can't type anything from there and my Linux Boot Disk just says "unable to load operating system". I tried using the rescue mode on the first setup disc, but I can't figure out how to edit files/change directories, etc. Could someone tell me (step-by-step) how to setup the boot loader correctly?

Thanks,
- Smiley
 
Old 09-25-2003, 03:42 PM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
if you boot using the rescue mode on the first disc, mount your linux HDD under mount/sysimage (it will give you the option, chose this), then type "chroot /mnt/sysimage", then "cd /sbin", then ./grub-install /dev/<whatever you HDD is
(for the master on the primary IDE /dev/hda, slave on primary /dev/hdb, and so on... - it should tell you it found a linux installation on /dev/hda1 or whatever when it asks you whether or not you want to mount it, just take the last number off the end)
type "exit" twice, and it should be fine
 
Old 09-25-2003, 04:01 PM   #3
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
Thanks for the help; it recognizes both operating systems on the grub-install, however when it boots the next time (I've taken the CD out) it says:

GRUB Loading stage 1.5.


GRUB loading, please wait...
Error 17


Is something else maybe causing problems?

Thanks,
- Smiley
 
Old 09-25-2003, 05:30 PM   #4
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
The GRUB Manual says this
"17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB."

post your /boot/grub/menu.lst file, and your partition information, and post which hard drive you boot from, it's possible that there is an entry pointing to the wrong partition.

BTW, I am Triple-Booting 98/RH9/XP installed in that order on my 16GB HDD and have had no problems with GRUB.
 
Old 09-25-2003, 10:52 PM   #5
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
Sorry, I'm really new to Linux and don't know how to read files from a command line...

Partition Information:

IDE 0: 10 GB (1 partition), Win XP
IDE 1: 5 GB, RH9
1 GB swap
100 MB /boot
3.9 GB /

I put the GRUB boot loader on the first hard drive (the BIOS is set to boot from that one). But from what you said I guess it's possible it had a problem reading the first one... I'll try putting it on the second one and change the BIOS options when I get a minute.

BTW if you could tell me how to edit files from command-line Linux, that'd be helpful.

Thanks,
- Smiley
 
Old 09-26-2003, 01:08 PM   #6
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
you need to use a text editor (obviously) - i use emacs, just type emacs /boot/grub/menu.lst or whatever other file you need. It takes a bit of getting used to, it's [CTRL] + X to bring up the menu, then [CTRL] + S to save, [CTRL] + C to exit, read the man pages for more.

P.S. do you not have XFree86 in 3.9GB?
P.P.S do you really need 100MB for a /boot partition, mine is in my / and takes up just under 7MB on RedHat
P.P.S 1GB is way to much swap, 256Mb works fine, although i have 512MB
 
  


Reply



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
Partition help for dual-boot WinXP and RH9 livatlantis Red Hat 2 10-15-2004 04:52 AM
RH9 and WinXP, dual boot Ulaire Smiley Linux - Newbie 3 09-27-2003 09:09 AM
RH9/WinXP Pro dual boot whisper8003 Red Hat 3 08-30-2003 09:08 PM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 06:40 PM
RH9, winXP dual boot - not bootloader screen Stanley George Linux - General 2 06-22-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration