LinuxQuestions.org
Review your favorite Linux distribution.
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-01-2004, 05:03 AM   #1
methuselah
LQ Newbie
 
Registered: Oct 2003
Location: Drouin, Australia
Distribution: Ubuntu 9:10
Posts: 19

Rep: Reputation: 0
GRUB boots Windows 2000 but not Linux


I am in the midst of getting my Radeob 9600Xt Video Card to work properly under Red Hat Linux 9.0, and have installed a new kernel, Version 2.4.26

I used to boot the computer with a floppy disk, and decided I would install GRUB and use it to boot both Windows and also Linux.

My computer has the following hardware :-

AMD2600XP processor, Gigabyte GA-7VT600 1394 Motherboard
ATI Radeon 9600XT Video card with 256mb RAM
1.024 GB Kingston RAM
IDE Primary Master Western Digital 10GB with Windows 2000 Pro /dev/hd0
IDE Primary Slave ASUS CD/RW 52x32x52
IDE Secondary Master Maxtor 160GB - 2 partitions both Windows 2000 Pro /dev/hd1
IDE Secondary Slave - Maxtor 30 GB 3 partitions, Linux boot 102mb, /dev/hdd1Linux Swap 1992 MB, /dev/hdd2. Balance - 27227 MB Linux main partition /dev/hdd3 with the ext3 file system

I haven't set up the grub.conf file yet, and have been trying to boot
linux using grub with the following commands :-

grub > root (hd2,2)

grub > kernel /boot/vmlinuz-2.4.6 root=/dev/hdd3

which generates a "15: File not found" error message

I have also tried "kernel /boot/vmlinux and a few other permutations,
however I always end up with the File not found message - obviously I am
not satisfactorily identifying the kernel to grub

I can still boot the system to Linux using a floppy, and as I mentioned
above, grub is very happy to boot Windows 2000 for me using the
chainloader+1 command -

My /boot directory contains the following :-

[root@linux boot]# ls
boot.b grub.conf~ message.ja vmlinux-2.4.20-8
chain.b initrd-2.4.20-8.img module-info vmlinuz
config-2.4.20-8 kernel.h module-info-2.4.20-8 vmlinuz-2.4.20-8
config-9600xt lost+found os2_d.b vmlinuz-2.4.26
grub menu.lst System.map
grub.conf message System.map-2.4.20-8
[root@linux boot]#

I reckon I have to be close, but no joy so far, any help greatly appreciated

Thanks,

Sean W.





 
Old 09-01-2004, 05:18 AM   #2
gsd750
LQ Newbie
 
Registered: Sep 2004
Location: Scotland
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
I've just been through the same problem with a new FC2 install...(first time I've ever installed Linux)

if you can find the menu.lst file on your boot partition using cat:

grub> cat (hd?,?)/boot/grub/menu.lst

you will see the kernel arguments to launch from grub, then you can type that into grub to boot

grub> root(hd?,?)
grub> kernel (hd?,?)/boot/vmlinuz....
grub> boot

or you can use "configfile" to test it out:

grub> configfile (hd?,?)/boot/grub/menu.lst

then you can install grub to your hard drive with
root(hd?,?)
setup(hd?,?)

this was the article I used used to get FC2 to dual-boot with XP : http://www.linuxjournal.com/article.php?sid=4622
after the FC2 install butchered my MBR !


(I had to boot with a Knoppix CD to find out where the hell menu.lst was!)

Last edited by gsd750; 09-01-2004 at 05:19 AM.
 
Old 09-01-2004, 05:21 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
tried
Code:
kernel /boot/vmlinuz-2.4.26
?

Last edited by Demonbane; 09-01-2004 at 05:22 AM.
 
Old 09-01-2004, 05:57 AM   #4
methuselah
LQ Newbie
 
Registered: Oct 2003
Location: Drouin, Australia
Distribution: Ubuntu 9:10
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks gsd750

I have found menu.lst in the /boot directory, I will reboot the computer and see if grub can locate it with the cat command, will have a look at the article you quote.

Thanks Demonbane,

yes, no joy
 
Old 09-01-2004, 06:07 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
ok I just realized you have a separate boot partition, try this instead
Code:
root (hd2,0)
kernel /vmlinuz-2.4.26
by the way the grub prompt supports auto completion using tab

Last edited by Demonbane; 09-01-2004 at 06:44 AM.
 
Old 09-01-2004, 06:30 AM   #6
methuselah
LQ Newbie
 
Registered: Oct 2003
Location: Drouin, Australia
Distribution: Ubuntu 9:10
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks Demonbane,

You little beauty,

It works !!!

Many thanks

Sean W
 
  


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
Grub Boot Linux / Windows 2000 randybell Linux - Newbie 4 07-24-2005 12:36 PM
grub problem with 2 hard disk with boot loaders. (linux & windows 2000) vbsoftware General 3 01-04-2005 08:01 PM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 02:20 PM
GRUB boot loader problem with Windows 2000 bukich Linux - General 1 06-11-2004 06:42 AM
GRUB Boot menu with SuSE9.0 and Windows 2000 Advanced Server SteveK1979 Linux - Newbie 4 02-19-2004 04:05 AM

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

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