星期五, 4月 27, 2012

Help editing GRUB on Ubuntu 12.04


I have just upgraded my installation of Ubuntu 12.04 beta, and now I won't start the GUI. If I go into "Previous versions of Linux" from the boot-menu I can start the old upgrade without problems. The one that doesn't works runs kernel 3.2.0-23-generic. The one that works is running 3.2.0-22-generic.

ans:

If you want to remove an entry from boot menu you just need to edit /boot/grub/grub.cfg remove the appropriate entry

CASE2

You do not use the start-up manager to edit the GRUB file. The startup manager is used to select configurations of the GRUB.
If you are installing or loading OS-X you will want it to use the bootloader currently on your Ubuntu system. Direct it to use the GRUB file to boot. Once installed, reboot into Ubuntu and update the GRUB file by sudo update-grub.
IF when done with OS-X and want to remove it, reformat the OS-X partition and run sudo update-grub
now if all else fails boot Ubuntu using a Live CD and install boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair 
 
SOURCE 

沒有留言: