LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-17-2003, 09:10 PM   #1
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Rep: Reputation: 15
problem with booting to new kernel (2.4.21) with Grub


I have Redhat 9 currently installed, and for some reason my mobo (ASUS P4T-E) doesn't like the floppy driver being built into the kernel, so I had to rebuild it making it a module, however the source for kernel 2.4.20-19.9 that comes with RH 9 won't recompile, keeps giving me errors that header files are missing. So I downloaded 2.4.21 from kernel.org and attempted to compile it, which I was able to do, however at boot time it doesn't like it, here is my grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hdb2
# initrd /boot/initrd-version.img
#boot=/dev/hdb
default=2
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-19.9)
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-19.9 ro root=LABEL=/ hda=ide-scsi
initrd /boot/initrd-2.4.20-19.9.img
title Linux (2.4.21)
root (hd0,1)
kernel /boot/bzImage vga=791 root=/dev/hdb2 read-only
title Windows XP
rootnoverify (hd0,0)
chainloader +1

for some reason my linux partition /dev/hdb2 is not being recongnized, it has been extremely frustrating, and I don't know if it is seeing it at boot time, all I see is my cdrom hdc and my zip hdd, and I have built ide support into the new kernel. please help...

-Frustrated 5 year newbie
 
Old 08-17-2003, 09:52 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
you didn't specify the path to initrd for linux 2.4.21 and you say your cdrom is hdc, so why are you passing hda=ide-scsi? and are you running /sbin/grub-install after making changes?
 
Old 08-18-2003, 12:36 AM   #3
Techweenie1
Member
 
Registered: Feb 2003
Location: Hinsdale/Chicago, IL, USA
Distribution: Slackware 10 (2.6.8.1)
Posts: 43

Original Poster
Rep: Reputation: 15
as for the initrd is that a must have? It's just a ram disk right? The first kernel was installed for me by the redhat installer, I have no clue why it is passing hda=ide=scsi I just left it as is, being that it boots properly, again I'm still very much a newbie, why would the rh installer put that there?
 
Old 08-18-2003, 01:29 AM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
you've just got bzimage down for your kernel file?
Is that what you compiled it too?

this is my current Grub entry for linux.

title GNU/Linux 2.4.21-sorsha
root (hd0,4)
kernel /vmlinuz-2.4.21-sorsha1 root=/dev/hda6 vga=10 /dev/hdd=ide-scsi

if you CD to /boot and look around there should be a vmlinuz a system.map and possibly a config file with version that match your new compiled version.

I also have no initrd. the ide-scsi bit is for CDRW's

Last edited by leonscape; 08-18-2003 at 01:30 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With Booting XP using GRUB bowb4steve Linux - Newbie 2 10-28-2004 09:25 PM
booting problem using grub tacca *BSD 3 10-23-2004 04:58 PM
Computer freezing while booting kernel in Grub anorman Linux - Software 2 05-03-2004 12:52 PM
Booting Grub once kernel is loaded. American Psycho Linux - Newbie 2 04-03-2004 12:56 AM
RH 9 Problem Booting with Grub scottym Linux - Distributions 1 08-03-2003 11:54 PM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration