Re: Unable to load Kernel on FC4/FC6

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

 




Hi,

I faced a similar problem and was able to sort it out by changing the root= kernel option to point to /dev/hda1 (where I mount root).

I follow the steps below after compilation of my vanilla kernel

As root :
make modules_install
mkinitrd -v -f /boot/intird-<version>.img <version>
cp arch/i386/boot/bzImage /boot/vmlinux-<version>
cp System.map /boot/System.map-<version>
cp .config /boot/config-<version>  //This is just for my reference.

Once done I manually edit the /boot/grub/grub.conf file and create an entry for my custom kernel.
copy paste from entry and modify the vmlinuz and initrd entires, rest all is kept identical.

title My linux (kernel-version)
        root (hd0,0)
        kernel /vmlinuz-<version> ro root=/dev/hda1 rhgb quiet
        initrd /initrd-<version>.img

Then reboot.

I need some insight on

1. What additional steps will be performed by make install as compared to what I follow.
2. What is the pitfall in my method.










Arjan van de Ven <arjan@xxxxxxxxxxxxx>

12/20/2006 03:28 PM

To
hemen.kapadia@xxxxxxx
cc
kernelnewbies@xxxxxxxxxxxx
Subject
Re: Unable to load Kernel on FC4/FC6





On Wed, 2006-12-20 at 15:05 +0530, hemen.kapadia@xxxxxxx wrote:
>
> Hi,
>
> Check the root=.....kernel option in grub.conf. Try using something
> like root=/dev/hd..... partition corresponding to where you mount root
> instead of the label /.

actually really don't do this. This will damage your installation and
prevent future upgrades to work well.

if you do "make install" (after modules_install) an initrd will be made
and added to grub automatically which makes this all just work.

--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

ForwardSourceID:NT0000696E    
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



[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