Urgent - wanna know boot files for 2.6.3 kernel
Hi...
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 files...System.map 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 System.map -> System.map-2.6.3 -rw-r--r-- 1 root root 517045 Mar 14 2003 System.map-2.4.20-8 -rw-r--r-- 1 root root 805339 Feb 22 04:17 System.map-2.6.3 lrwxrwxrwx 1 root root 19 Feb 14 21:16 System.map.old -> System.map-2.4.20-8 -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, amit |
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? Regards, amit |
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.
|
and while your at it show us your lilo.conf or grub.conf file (whichever you use )
|
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, amit |
Quote:
|
All times are GMT -5. The time now is 02:20 AM. |