On Mon, Jul 19, 2010 at 12:01 PM, sandeep kumar
<[email protected]> wrote:
>> Then copy arch/<arch>/boot/bzImage to /boot/vmlinuz-custom
>> Add entry in grub.cfg
> i tried ur method and it asked me to load the kernel first
> i think the problem is with the initrd
> could you please provide the step by step procedure of how you did the
> release you used and the distribution on which you worked
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>
This procedure is not distro specific.
In grub.cfg, linux line *must* appear before the initrd line, else
grub will complain about it.
Example (Grub2):
menuentry "Linux Custom Kernel" {
set root=(hd0,1)
linux /vmlinuz-custom root=/dev/disk/by-label/Root ro
initrd /initrd-custom.img
}
Example (Grub1):
title "Linux Custom Kernel"
root (hd0,1)
kernel /vmlinuz-custom root=/dev/disk/by-label/Root ro
initrd /initrd-custom.img
--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
Cheap and Reliable VPS Hosting: http://j.mp/arHk5e
--
l...@iitd - http://tinyurl.com/ycueutm