LinuxQuestions.org
Help answer threads with 0 replies.
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-19-2003, 09:37 PM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
grub.conf problem


I recompiled the kernel with 2.4.22 then i won't be able to boot, boot error, sth like kernel panic can't access root file system, can't access lable=/
i did the following thing after the recompilation
i copied the boot file in /usr/src/linux-2.4.22/arch/i386/boot/bzImage to be /boot/vmlinuz-2.4.20-mvw
copied the /usr/src/linux-2.4.22/System.map to be /boot/System.map-2.4.22-mvw
recreated the symbolic links :
ln -s System.map-2.4.22-mvw System.map
ln -s vmlinuz-2.4.22-mvw vmlinuz
then in /boot i did
mkinitrd initrd-2.4.22.img 2.4.22
then edited the grub.conf to be:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Red Hat Linux (2.4.22)
root (hd0,0)
kernel /vmlinux-2.4.22-mvw ro root=LABEL=/
initrd /initrd-2.4.22.img

after i selected to boot from 2.4.22 kernel, the system won't boot.......kernel panic...
what could went wrong?
 
Old 09-19-2003, 09:40 PM   #2
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
i can boot with the old 2.4.18-14 kernel with no problem
 
Old 09-20-2003, 12:18 AM   #3
dant0j
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Hey,

I have the same problem but i have been able to boot change the following to grub.conf

root=LABEL=/

root=/dev/hda2 (2 being the / partition) I don't see why I can't just leave it as LABEL=/ ???

it boots but everything fails on boot

It says its mounting / as readonly

Anyway its givin me the darn sh*ts.... Can't be that hard...??

Why can't we do this ?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub.conf problem ANU Linux - Software 4 01-06-2004 09:16 AM
grub.conf problem BlandoCal Fedora 23 12-12-2003 04:23 AM
Grub.conf problem BlandoCal Linux - Software 4 12-10-2003 09:05 PM
SiI680 cards and grub.conf problem prospectofdeath Linux - General 1 11-23-2003 04:50 AM
grub.conf problem usr Linux - Newbie 1 10-25-2003 03:01 PM


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