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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-30-2003, 12:34 AM
|
#1
|
|
Member
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68
Rep:
|
Building a custom kernel
I've been trying to build my own custom kernel on my red hat 8.0 system. I've followed the directions verbatim using the "The Official Red Hat Linux Customization Guide", but I can't boot up the custom kernel. I get the following error:
"net4: Unix Domains sockets 1.0/SMP for linux Net4.0........ds: no socket drivers loaded.......VFS: Cannot open root device "LABEL=/" or 00:00 ...............Please append a correct "root=" boot option .....Kernel Panic VFS: unable to mount root fs."
Does it have something to do with my file system. Can anyone helP? I did it once before and didn't encounter any problems. Thanks
|
|
|
|
06-30-2003, 12:58 AM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
You have 2 processors?
|
|
|
|
06-30-2003, 08:54 AM
|
#3
|
|
Member
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68
Original Poster
Rep:
|
No I just have 1 pentium 4 2.66 ghz.
|
|
|
|
06-30-2003, 09:08 AM
|
#4
|
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
You'll have to spit out your lilo.conf file. It may be that there's nothing wrong with your kernel your just booting it incorrectly.
|
|
|
|
06-30-2003, 09:14 AM
|
#5
|
|
Member
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68
Original Poster
Rep:
|
I use grub instead of lilo. Here it is:
default=3
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14custom)
root (hd0,0)
kernel /vmlinuz-2.4.18-14custom ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14custom.img
title Red Hat Linux (2.4.18-14.custom.070203)
root (hd0,0)
kernel /vmlinuz-2.4.18-14.custom.070203 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.custom.070203.img
title Red Hat Linux (2.4.18-14.custom.070103)
root (hd0,0)
kernel /vmlinuz-2.4.18-14.custom.070103 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.custom.070103.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
|
|
|
|
06-30-2003, 09:16 AM
|
#6
|
|
Member
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68
Original Poster
Rep:
|
Here's how I create the custom kernel too.
cd /usr/src/linux-2.4
make mrproper
make xconfig change to pentium 4 change CONFIG_SOUND_OSS =M
make dep
make clean
change version on Makefile
make bzImage
make modules
make modules_install
make install.
Maybe that would help too.
|
|
|
|
06-30-2003, 06:15 PM
|
#7
|
|
Member
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285
Rep:
|
lilo
Have you tried getting rid of the LABEL portion thats added by redhat. Just do it like this
root = /dev/hdxx
where xx is the dev with your / partition (example /dev/hda1)
I have no idea why redhat tries to use LABEL but it's not necessary and is known to cause some people issues.
Or better yet use grub.
grub == no more running /sbin/lilo
good luck to you
|
|
|
|
07-01-2003, 12:59 AM
|
#8
|
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Rep:
|
change ur LABEL=/ TO /dev/hda* it worked for me
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:57 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|