Re: kernel compile questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2002-10-13 at 20:51, Brandon Dorman wrote:
> Hello, 
> 
> 	I recently compiled the 2.4.19 kernel with the following commands: (i
> just changed the numbers to .19 instead of .17)
> 
> tar jxvf linux-2.4.17.tar.bz2
> mv linux linux-2.4.17
> make menuconfig
> make dep
> make clean
> make bzImage
> make modules
> make modules_install
> cp arch/i386/boot/bzImage /vmlinuz-2.4.17
> cp /vmlinuz-2.4.17 /boot/vmlinuz-2.4.17
> open up /etc/lilo.conf, point it to /boot/vmlinuz-2.4.17
> 
> I might have missed something somewhere in the kernel configuration
> options, but upon boot it says, "kernel panic, cannot mount root
> partition."  Did I miss a step or copy something wrong?  Thanks.

If your /boot partition is ext3 or reiserfs, you missed the mkinitrd
step.  LILO can't access the kernel on a journaling file system so it
needs help, that where the initial ramdisk (initrd) comes in.

man mkinitrd

Best Regards,
Keith
-- 
LPIC-2, MCSE, N+
Life's the same, except for my shoes
Got spam? Get spastic http://spastic.sourceforge.net





[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux