Re: kernel compile questions

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 13 October 2002 08:51 pm, 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.

You didn't create an initrd.img, which you most likely need. If your root 
partition is ext3, and ext3 kernel support is modular, you need an 
initrd.img to load the ext3 modules. 

man mkinitrd for details on creation.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3} in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9qhyun/07WoAb/SsRAlOhAKCtzVn+XbjRGXCwV9pro1vBZ4T+bQCghADP
OgXjyzmu67M7qrYJ9Tz9Qek=
=xh2M
-----END PGP SIGNATURE-----





[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