LinuxQuestions.org
Visit Jeremy's Blog.
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 03-27-2004, 01:33 PM   #1
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
yum update kernel* = deleted grub??


Hello All,

I am having a very frustrating chain of problems...

I have a dual boot box running Redhat 9 and windowsXP. Was all working well before I
fiddled with it!

First I was trying to install the drivers for my new usb wireless adaptor and having
no sucess at all.

So I decided I was using an old kernel 2.4.20-8 and it was time to update to
2.4.20-30.9. I have used yum to upgrade a couple of other things and it went fine, so
I decided to do it with

yum update kernel*

downloaded and installed the kernel and kernel source but when I went to restart the
comp. I got the grub 0.93 prompt, to which I could not boot anything. Luckily I had
made a 2.4.20-8 boot image disk, so i could still get back into redhat with the bootdisk.

I noticed the /boot/grub/grub.conf file was completely empty, which I found strange. I tried to rewrite it manually, but everytime I reboot I just get "GRUB GRUB" at the top left hand corner of the screen, and then nothing happens?

XP runs on the first harddrive hda or hd0

the linux /boot dir. is on hdb (hd1) on the 2nd partition, I believe.

this is my /boot/grub/grub.conf
----

#my rewritten grub file of 28th march 2004

default=0
timeout=10
splashimage=(hd1,1)/grub/splash.xpm.gz
title Redhat Linux (2.4.20-8)
root (hd1,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-8.img

title Redhat Linux (2.4.20-30.9)
root (hd1,1)
kernel /vmlinuz-2.4.20-30.9 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-30.9.img

title Windows XP
rootnoverify (hd0,0)
chainloader +1

----

output from /boot/grub/device.map

# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb

----

output from df -h

Filesystem Size Used Avail Use% Mounted on
/dev/hdb3 12G 7.1G 3.9G 65% /
/dev/hdb2 99M 15M 80M 16% /boot
none 251M 0 251M 0% /dev/shm

----

I have been trying by trial and error to get the grub.conf settings right, but it is driving me crazy!!

Can anybody help??

Thanks in advance

Lucas
 
Old 03-27-2004, 01:52 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
ro root=LABEL=/ hdb=ide-scsi


I dont believe hdb=ide-scsi belongs in front of your LABEL=/ tag.
 
Old 03-27-2004, 02:12 PM   #3
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Original Poster
Rep: Reputation: 30
so make it:

kernel /vmlinuz-2.4.20-8 ro root=LABEL=/

only?

Thanks

Lucas
 
Old 03-27-2004, 02:15 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
yes, or kernel /vmlinuz-2.4.20-8 hdb=ide-scsi ro root=LABEL=/

may fix it.
 
Old 03-27-2004, 02:23 PM   #5
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Original Poster
Rep: Reputation: 30
ok tried that, and I then I got

GRUB GRUB GRUB GRUB

come up on the top left corner at boot time, then no action??

Thanks

Lucas
 
  


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
yum update everything but kernel exigent Red Hat 15 02-27-2014 08:52 PM
yum update kernel cant find ATI mod true_atlantis Fedora 2 09-30-2005 04:47 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
FC2 still boots to old kernel after YUM update delldo Fedora 3 12-22-2004 04:06 PM
module-init-tools and new kernel yum update Ynog Fedora 0 12-25-2003 01:56 PM


All times are GMT -5. The time now is 11:37 PM.

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