Once I see the errors, I end up with a BusyBox shell, initramfs and it looks like I can run only a few commands.<div><br></div><div>Is there any expert in the Marietta area that I can seek help from ? I am in the east cobb area.</div>
<div><br></div><div>-Narahari<br><br><div class="gmail_quote">On Mon, Jan 31, 2011 at 6:32 AM, Chuck Peters <span dir="ltr"><<a href="mailto:cp@axs.org">cp@axs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div><div></div><div class="h5">On Sun, Jan 30, 2011 at 11:38 AM, Narahari 'n' Savitha <span dir="ltr"><<a href="mailto:savithari@gmail.com" target="_blank">savithari@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Friends:<div><br></div><div>I upgraded my ubuntu with the command sudo apt-get dist-upgrade.</div><div>I then have a new entry in the grub list.</div><div><br></div><div>When I boot to the .25 or .24 version of the kernel, I get the message</div>
<div><br></div><div>init not found, pass value to init.</div><div><br></div><div>I am not sure how to do this and also why this even happened ?</div><div><br></div><div>I have not made any hardware changes.</div><div><br>
</div><div>-Narahari</div><div><br></div><div>PS: For me to post screen shot please let me know where and how to post images.</div></blockquote></div></div><div><br>Don't bother with the screen shots.<br><br>Maybe I should first mention: Do you have your data backed up? If so you can reinstall and recover... Or use a LiveCD and backup your data to a USB drive or rsync over the network.<br>
<br>But if this is right you will need to fix the filesystem before recovering the data...<br>First hit of google Maverick init not found, pass value to init <br><a href="http://ubuntuforums.org/showthread.php?t=1594621" target="_blank">http://ubuntuforums.org/showthread.php?t=1594621</a> <br>
<br>All they did was manually fsck the filesystem. fsck is file system check for ext2,3,4 file systems. They didn't seem to cover how they did it all that well since it seems to have just one partiton, so here is a little trick that might make it easier. Put a file called forcefsck in the root of the partition or partitions will force the file system check.<br>
<br>Boot with a LiveCD, probably what you used to install Ubuntu. Use whatever GUI file manager thing they have, the web page talks about using gparted, I thought that was for partitioning, not mounting drives... In kde dolphin is the default GUI file manager, to mount the partition or partitions, click on the left side. Make sure it is a ext partition, you don't want to do this on xfs or other partition types without making sure you don't need other options or whatever, ie xfs has its own repair utility.<br>
Open a terminal...<br>df -h, or lshw or dmesg to determine the filesystem you want.<br>mount with no options to check the filesystem type <br>sudo touch /forcefsck using the correct path.<br><br>For example I plugged in a 40GB PATA drive with one of those USB adapters.<br>
Mounted it with dolphin. <br>cp@meerkat:~$ df -h<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/sda1 19G 4.3G 15G 23% /<br>...<br>/dev/sda7 270G 22G 248G 8% /home<br>
/dev/sda6 9.2G 2.3G 6.5G 26% /mythbuntu<br>/dev/sdb1 36G 22G 13G 64% /media/disk<br>cp@meerkat:~$ mount<br>/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)<br>...<br>/dev/sda7 on /home type xfs (rw)<br>
/dev/sda6 on /mythbuntu type ext4 (rw,commit=0)<br>/dev/sdb1 on /media/disk type ext4 (rw,nosuid,nodev,uhelper=hal)<br>cp@meerkat:~$ sudo touch /media/disk/forcefsck<br>cp@meerkat:~$ sudo umount /media/disk<br>and reboot without the CD...<br>
<br>Hopefully all goes well, it will take longer than normal to boot since the fsck can take a while depending on the size of the partition(s). <br><br>If it doesn't work you will likely see some message about having to run fsck manually. Repeat the above steps and run fsck on the partition. In the example above I would run fsck /dev/sdb1. <br>
<br> <br>My first thought was it sounds like grub, the boot loader, can't find the root filesystem. For that see:<br><a href="https://help.ubuntu.com/community/Grub2" target="_blank">https://help.ubuntu.com/community/Grub2</a> <br>
</div></div><br>Look at the "Reinstalling Grub" and "Command line and Rescue mode" sections. Usually the easiest way to do this is boot with a LiveCD, aka the standard Ubuntu CD you used to install it (not the alternate cd) or a USB key setup properly with the LiveCD. Note it can be done with the alternate CD or other boot/rescue tools, but then you are limited to command line (can't open firefox to the above URL) and make sure you have the right version of grub. <br>
<br>I should mention a couple caveats here. grub-install -v as mentioned in the help page will tell you the version of grub on the livecd. You should be able to determine the version by looking in the logs of the install, in the above example /media/disk/var/log/apt/term* or /media/disk/var/log/installer/ , The page mentions "No <em>/boot/grub/menu.lst</em>. It has been replaced by <em>/boot/grub/grub.cfg"</em>. They have changed the way grub works, so on an upgraded machine you may have the menu.lst file, all my 10.04 machines were upgraded and still have the menu.lst file. <br>
<br>If the problem is as Mike Warfield suggested, the solution is to mount the partition(s) and use a chroot to reinstall the kernel or manually recreate initramfs.<br><font color="#888888"><br>Chuck<br><br>
</font><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br></div>