Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-21-2004, 05:22 PM   #1
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Urgent - wanna know boot files for 2.6.3 kernel


Sorry for labeling the post as Urgent...but I have been trying to compile the 2.6.3 kernel since the last 7 hrs...After numerous errors and problems, I have finally compiled it...And i want to boot into this new kernel....However, I'm confused because I dont know what files exactly are required for this 2.6.3 kernel...

The compile process generated 2 and vmlinux...In addition, I have copied the new file 'bzImage' to the /boot directory.......Now before I reboot, I wanna make sure everything is perfect....Can anyone tell me if only these 3 files are required ?? In /boot directory, the contents of /boot right now are:

{ ...any file marked '.old' belongs to 2.4.20-8 kernel }

-rw-r--r-- 1 root root 5824 Jan 25 2003 boot.b
-rw-r--r-- 1 root root 1179446 Feb 22 04:28 bzImage-2.6.3
-rw-r--r-- 1 root root 612 Jan 25 2003 chain.b
-rw-r--r-- 1 root root 44291 Mar 14 2003 config-2.4.20-8
drwxr-xr-x 2 root root 4096 Feb 22 04:31 grub
-rw-r--r-- 1 root root 148131 Feb 14 21:16 initrd-2.4.20-8.img
-rw-r--r-- 1 root root 473 Feb 14 21:16 kernel.h
-rw-r--r-- 1 root root 23108 Feb 25 2003 message
-rw-r--r-- 1 root root 21282 Feb 25 2003 message.ja
lrwxrwxrwx 1 root root 20 Feb 14 21:16 module-info -> module-info-2.4.20-8
-rw-r--r-- 1 root root 15436 Mar 14 2003 module-info-2.4.20-8
-rw-r--r-- 1 root root 640 Jan 25 2003 os2_d.b
lrwxrwxrwx 1 root root 16 Feb 22 04:22 ->
-rw-r--r-- 1 root root 517045 Mar 14 2003
-rw-r--r-- 1 root root 805339 Feb 22 04:17
lrwxrwxrwx 1 root root 19 Feb 14 21:16 ->
-rwxr-xr-x 1 root root 3511065 Feb 22 04:17 vmlinux
-rw-r--r-- 1 root root 3036023 Mar 14 2003 vmlinux-2.4.20-8.old
lrwxrwxrwx 1 root root 16 Feb 14 21:16 vmlinuz -> vmlinuz-2.4.20-8
-rw-r--r-- 1 root root 1096436 Mar 14 2003 vmlinuz-2.4.20-8

Pls help me out here...and let me know which files to put...and if a file is not there..then how to go on to create it...

Thanx and Regards,

Old 02-21-2004, 06:22 PM   #2
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Original Poster
Rep: Reputation: 31
Well...I went through Dr.Ozz's tutorial again...and I've managed to find all files that would boot the new kernel...A big thanx to Dr.Ozz for such a easy tutorial on a complex topic...!...

However, After having rebooted, I was greeted with an error in the very beginning....

VFS: Cannot open root device LABEL=/ or unknown-block (0,0)
Please append a correct "root=" boot option

Kernel Panic: VFS: unable to mount root fs on unknown block (0,0)

By the way, I've compiled ext3 fs directly into the kernel...and linux is installed on /dev/hda2...

What can be done now? Any suggestions?


Old 02-21-2004, 08:41 PM   #3
Sideshow Bob
LQ Newbie
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
I think you need to change your /boot/grub/grub.conf file to say kernel vmlinuz-2.6.3 ro root=/dev/hda2 if hda2 is the right address.
Old 02-21-2004, 10:52 PM   #4
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
and while your at it show us your lilo.conf or grub.conf file (whichever you use )
Old 02-22-2004, 03:07 AM   #5
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Original Poster
Rep: Reputation: 31
Well...Dr.Ozz, thanx a million!!....your tutorial rescued me at the right time.. ...and I have managed to boot with 2.6.3 kernel in my second try itself!

I just removed this from the grub command line
root=LABEL=/ hdc=ide-scsi. After removing it the new kernel booted successfully.

However, I have also encountered few other problems..

1. My mouse is not working anymore....Not in 2.6.3 and not in 2.4.20-8 too...

2. Secondly, during boot up, I get this message:

Mounting local filesystems: fs type vfat is not supported by kernel

I had compiled vfat support directly in the kernel, then why does it say this?

3. There are some [ FAILED ] messages with respect to IPTABLES....I havent yet checked them...

4. I also think there is some problem with Network Card configuration...I'll check it soon and then let u guys know what exactly the problem is...

Pls help...

Thanx and Regards,

Old 02-22-2004, 03:24 AM   #6
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Sorry for labeling the post as Urgent...
well don't do it then!


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Hint: Wanna try Linux, so wanna rig your Windows system to dual-boot? sundialsvcs Linux - Newbie 2 08-16-2005 02:56 PM
Dual boot problem wanna help :D khussein General 0 06-15-2005 03:25 PM
URGENT - BOOT UP in Kernel and not KDE busaussie Linux - General 18 06-11-2005 10:46 AM
wanna make a LILO boot-CD akudewan Linux - General 3 05-29-2004 07:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 PM.

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