Re: kernel compile questions

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

 



Either I found something, or it just works for me.

My procedure is as follows:

make mrproper
make distclean
make xconfig& (to keep the shell open)
make dep bzImage modules modules_install
make install
lilo

Then I do a dd of the boot sector which is alias in my bash like this:
alias ddlilo='dd if=/dev/hdb1 of=/mnt/c_dos/boot.lnx bs=512 count=1'

The 'make install' copies the System.map, the vmlinux, the initrd and every 
thing for you.  I also edit the makefile to give the build a extention that I 
can track.

It works for me ever since RH 7.2

Garf


On Sunday 13 October 2002 20: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.
>
> -Brandon





[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