Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-19-2003, 09:37 PM   #1
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/ to be /boot/
recreated the symbolic links :
ln -s
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:

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
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
LQ Newbie
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0

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


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 ?


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration