Re: recomiling the kernel

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

 



On Thursday 08 July 2004 14:31, so usp wrote:
> I recently tried to recompile the kernel on my Fedora
> Core 2, but when I boot using the new one I get the
> following message:
> "kernel panic: no init found. Try..."
> I used the source from the FC2, and executed the
> following commands:
> # ln -s linux-2.... linux
> # cp /boot/config... /usr/src/linux/.config
> # make oldconfig
> # make
> # make modules_install
> # cp arch/i386/boot/bzImage /boot
> # vi /etc/grub.conf

Based on the grub.conf you included, it looks like you may have skipped 
remaking your initrd.  Check out the mkinitrd command.  Or if you don't 
want to bother with the initrd, then make sure your disk drivers and 
filesystem code are included in the kernel (i.e. not being built as 
modules).



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux