Results 1 to 3 of 3
Hi.
I'm writing because I've a problem when I compile my kernel.
I've Red Hat Enterprise 4 (now my kernel is 2.6.9-22). I downloaded kernel 2.6.27.18 from The Linux Kernel ...
- 09-11-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
Kernel panic on boot after recompiling kernel
Hi.
I'm writing because I've a problem when I compile my kernel.
I've Red Hat Enterprise 4 (now my kernel is 2.6.9-22). I downloaded kernel 2.6.27.18 from The Linux Kernel Archives. I used these commands (as root):
I edited /boot/grub/menu.lst for my new kernel.Code:cd /usr/src tar -jxvf /home/thecell/Desktop/linux-2.6.27.18.tar.bz2 cd linux-2.6.27.18 cp /home/thecell/Desktop/config-2.6.27.18-mykernel .config # I already have a config file to compile make cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.27.18-mykernel make modules_install cp .config /boot/config-2.6.27.18-mykernel mkinitrd -v /boot/inird.img-2.6.27.18-mykernel 2.6.27.18-mykernel cp System.map /boot/System.map-2.6.27.18-mykernel cp vmlinux /boot/vmlinux-2.6.27.18-mykernel
On booting, the result was:
Code:Booting 'Red Hat Enterprise Linux (2.6.27.18-mykernel) root (hd1,0) Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz-2.6.27.18-mykernel ro root=/dev/VolGroup00/LogVol00 rhgb quiet [Linux-bzImage, setup=0x3000, size=0x227320] initrd /initrd.img-2.6.27.18-mykernel [Linux-initrd - 0x1fde4000, 0xfb36c bytes] Red Hat nash version 4.2.1.6 starting Unable to find device-mapper major/minor Reading all physical volumes. This may take a while... No volume groups found Unable to find volume group "VolGroup00" ERROR: /bin/lvm exited abnormally! (pid 883) mount: error 6 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd/dev failed: 2 [ 5.516193] Kernel panic - not syncing: Attempted to kill init!
Moreover, I want to say that i'm not an expert, that when I installed red hat I used default partitioning suggested from red hat (but I know something about partitioning), and that i'm using vmware. I hope you can help me, because i searched in the web, but i didn't find anything that resolved my problem.

P.S. Sorry if my English isn't perfect
- 09-12-2009 #2Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
Nobody can help me...
- 09-13-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
Ok, I renounce...
I won't recompile kernel...


Reply With Quote
