How to Compile 2.6 kernel for RedHat 9 and 8.0 and get Fedora Updates
Mike Chirico (mchirico@xxxxxxxxxxxxxxxxxxxxx or mchirico@xxxxxxxxxxx)
Copyright (c) 2004 (GPU Free Documentation License)
Last Updated: Mon Sep 13 08:58:06 EDT 2004
Mike Chirico (mchirico@xxxxxxxxxxxxxxxxxxxxx or mchirico@xxxxxxxxxxx)
Copyright (c) 2004 (GPU Free Documentation License)
Last Updated: Mon Sep 13 08:58:06 EDT 2004
The latest version of this document can be found at:
http://prdownloads.sourceforge.net/souptonuts/README_26.txt?download
kiran kumar <kiran07_nitk@xxxxxxxxxxxxxx> wrote:
warm regards,
hi all,
i am working with kernel 2.4.20-8 . when i try to install with the kernel 2.6.15.5, while booting it gave following oops message :
EXT3-fs: mounting filesystem with ordered data mode
VFS:Mounted root(ext3 filesystem)readonly
freeing unused kernel memory:216k freed
kjournald starting:commit interval 5 seconds
warning:unable to open an initial consoale
kernel panic: not syncing,no init found.try passing init=option to kernel
the steps i am following to compile the kernel is :
make oldconfig
make
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.15.5
make modules_install
make install
my grub.conf file is:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
#title Red Hat Linux (2.4.20-8custom)
# root (hd0,0)
# kernel /vmlinuz-2.4.20-8custom ro root=LABEL=/
# initrd /initrd-2.4.20-8custom.img
title Red Hat Linux (2.6.15.5)
root (hd0,0)
kernel /vmlinuz-2.6.15.5 ro root=/dev/hda1
initrd /initrd-2.6.15.5.img
title Red Hat Linux (2.6.15.52.6.15.5.)
root (hd0,0)
kernel /vmlinuz-2.6.15.52.6.15.5. ro root=LABEL=/
initrd /initrd-2.6.15.52.6.15.5..img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title test
root (hd0,0)
kernel /test ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title new-test
root (hd0,0)
kernel /new-test ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title timer
root (hd0,0)
kernel /vmlinuz-2.6.15.5 ro root=LABEL/
initrd /initrd-2.6.15-.img
fdisk -l shows :
Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 65 522081 83 Linux
/dev/hda2 66 1340 10241437+ 83 Linux
/dev/hda3 1341 2615 10241437+ 83 Linux
/dev/hda4 2616 4865 18073125 f Win95 Ext'd (LBA)
/dev/hda5 2616 2870 2048256 82 Linux swap
/dev/hda6 2871 4865 16024806 83 Linux
what is passing init=option to kernel ? pls help me how so solve this ?
kiran kumar s.k
N.I.T.K,surathkal
Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.