Ubuntu 9.10 Hangs Frequently

NoOp glgxg at sbcglobal.net
Wed Apr 7 01:44:48 UTC 2010


On 04/06/2010 05:51 PM, MirJafar Ali wrote:
...
> 
> Hi,
> 
> Not very comfortable in editing grub. Scared .
> 
> Mir

You can just reinstall as Goh suggested.

However, you don't need to edit the file to test. Just reboot & at the
grub menu edit temporarily. It *won't* change your menu.lst file, so
even if you have problems the system will remain the same on a reboot.

*Print this out before you start so that you have something to refer to.*

At the grub menu, hit Esc and then 'e' to edit the commands.
You will see something like:

root (hd0,1)
kernel /boot/vmlinuz-2.6.31-14-generic
root=UUID=d8c39032-d863-4d42-8943-5d409181aaee ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet
savedefault

We are going to "temporarily" edit the last two lines by changing
2.6.31-14 to 2.6.31-20. Use the down arrow key to move the cursor to
'kernel', and then enter 'e'. The cursor will move the end of the line
(ro splash quiet). Use the <- arrow to get to the '-' inbetween
14-generic. Now use the backspace key to remove 2.6.31-14 - the line
will now look like this:

grub edit> kernel /boot/vmlinuz---generic root=UUID=d8c39032-...

enter 2.6.31-20 to replace the previous 2.6.31-14. The line then should
look like this:

grub edit> kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=d8c39032...

press the 'Enter' key.

Now use the arrow key to move down to the initrd
/boot/initrd.img-2.6.31-14-generic line and press the 'e' key. Edit that
line in the same manner so that it now shows:

initrd /boot/initrd.img-2.6.31-20-generic

press the 'Enter' key.

Now press the 'b' key to boot.

The system _should_ boot to the 2.6.31-20-generic, and you then should
be able to check 'uname -a' to verify. If that works, don't do anything
else, just post back & let us know the results. If it doesn't, reboot
using 2.6.31-14 & post back.






More information about the ubuntu-users mailing list