Hi,<br><br>Yesterday I tried to compile and install the same kernel version after deleting all the old files and downloading the <br>source again.To my surprise it worked on Debian without any problems.<br>However, following the same steps on Ubuntu is still giving problems.<br>
The kernel and modules are being compiled successfully and initramfs file is also getting created without any problems.Grub is also detecting the <br>kernel image and the initramfs image.<br>But as soon as I reboot the Ubuntu virtual machine it gives the following error (without displaying options for selecting the kernel ) <br>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mount: mounting none on /dev failed: No such device</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Gave up waiting for root device. Common problems :</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">- Boot args (cat /proc/cmdline)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> - Check rootdelay =(did the system wait long enough ?)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> - Check root = (did the system wait for the right device ?)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">- Missing modules (cat /proc/modules; ls dev)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ALERT! /dev/disk/by-uuid/6d5778f2-9e9e-402b-b2a0-43aca187ac1f does not exist.Dropping to a shell!</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Busybox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Enter 'help' for a list of built-in commands</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">(initramfs) _</span><br><br>I am facing the same problem again and again on Ubuntu.And the worst thing is it doesn't allow me to boot the older kernel and throws the error on startup.<br>
<br>Here are the steps which I am performing :<br><br>- download kernel source from <a href="http://kernel.org">kernel.org</a> (v 2.6.39.2)<br>- unzip the bz2 file<br>- Configure the source - <b>make defconfig</b><br>-compile the source - <b>make</b><br>
- compile the modules - <b>make modules</b><br>- install the modules - <b>make modules_install</b><br>- install the kernel - <b>make install</b><br>- <b>cd /boot</b><br>- <b>update-initramfs -c -k 2.6.39.2</b><br>- <b>update-grub<br>
</b><br><br>Please help me to figure out what am I doing wrong here. The exact same steps are working on Debian virtual machine.<br><br><br>Thanks<br>Vaibhav Jain<br><br><br> <br><br><br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 11:42 PM, Mulyadi Santosa <span dir="ltr"><<a href="mailto:mulyadi.santosa@gmail.com">mulyadi.santosa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Jul 9, 2011 at 12:14, Vaibhav Jain <<a href="mailto:vjoss197@gmail.com">vjoss197@gmail.com</a>> wrote:<br>
> The command executes successfully and creates an initramfs image. However<br>
> on booting the new kernel an error occurs and it takes me to the initramfs<br>
> prompt.<br>
<br>
</div>could you tell us specificly what the error messages are?<br>
<font color="#888888"><br>
<br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</font></blockquote></div><br>