Pages

Thursday, January 7, 2010

Ubuntu 9.10 can't boot.



Hi, recently I received Ubuntu 9.10 CD Desktop Edition. During the install, I deleted all partitions of Ubuntu 9.04 and do fresh install of 9.10. Everything was okay, installed succesfully, but when it comes to reboot, below message appeared:

Common problems:
- Boot args (cat / proc / cmdline)
- Check rootdelay = (did the system wait long enough?)
- Check root = (did the system wait for the right device?)
- Missing modlues (cat / proc / modules; ls / dev)
ALERT! / dev / disk / by-uuid / xxxxxxxxxxxxxxxxxxxxxxxxx does not exists.
Dropping to a shell!

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

What I did was:

In the grub menu, press "e" to edit the kernel boot string',

from

recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 1751283b-b905-49fb-bc81-93e2e561bfd9
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=1751283b-b905-49fb-bc81-93e2e561bfd9 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic

change to:

recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 1751283b-b905-49fb-bc81-93e2e561bfd9
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=1751283b-b905-49fb-bc81-93e2e561bfd9 ro quiet splash all_generic_ide floppy=off irqpoll pci=nomsi
initrd /boot/initrd.img-2.6.31-14-generic


Then, "ctrl+x" to boot and I can boot into Ubuntu 9.10 happily...


To change that permanently, we have to edit the grub file.


sudo gedit /etc/default/grub

Add the last line, like this:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX="all_generic_ide floppy=off irqpoll pci=nomsi"

 Then run update-grub2


sudo update-grub2

No comments:

Post a Comment