On Tue, Jul 20, 2010 at 10:50 AM, sandeep kumar
<[email protected]> wrote:
> On 7/19/10, Nilesh Govindarajan <[email protected]> wrote:
>>>> Then copy arch/<arch>/boot/bzImage to /boot/vmlinuz-custom
>>>> Add entry in grub.cfg
> i tried these things on ubuntu 9.10(schoolos)
> copied linux-2.6.33.2 to /home/sandeep/linux folder
> cd to linux-2.6.33.2
> make defconfig
> make
> sudo make modules_install
> sudo make install
>
> in the /boot it made system.map vmlinuz and config files for 2.6.33.2
> but there is no initrd.img for the compiled kernel
> edited grub.cfg to include custom kernel entry and made use of initrd
> of distribution kernel
>
> finally after reboot i can see custom entry and when i entered it told
> that it cant load modules.dep
> and ALERT UUID does not exist
> it took me to built in shell ash every line beginning with
> (initramfs)
> issued reboot and came out to the distribution kernel
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>

Try creating a custom initrd with the relevant command- mkinitrd (on
rh), mkinitcpio (on arch). I don't know what's the command to create
initrd in ubuntu. Also check the UUID (as suggested by sharad).

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://j.mp/arHk5e

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to