Question about Canonical Ltd. Ubuntu
If you run a dual-boot system with Linux and Windows, this has happened to you. You had to do your monthly reinstall of Windows, and now you don’t see the linux bootloader anymore, so you can’t boot into Ubuntu or whatever flavor of linux you prefer.
Here’s the quick and easy way to re-enable Grub.
1) Boot off the LiveCD
2) Open a Terminal and type in the following commands, noting that the first command will put you into the grub “prompt”, and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly.
> root (hd0,0)
> setup (hd0)
Reboot (removing the livecd), and your boot menu should be back.
Only read below if Windows is now missing from the boot menu
If you installed Ubuntu before you installed Windows, then Ubuntu will not have anything in the grub configuration for Windows. This is where you’ll have to do a bit of manual editing to the grub boot menu file.
If you open the file /boot/grub/menu.lst with the following command:
sudo gedit /boot/grub/menu.lst
You’ll see a sample section for Windows, which you’ll want to uncomment and add to the boot menu list in whatever position you want it in. (uncomment by removing the #’s)
# title Windows 95/98/NT/2000
# root (hd0,0)
# chainloader +1
Note that you should also verify that hd0,0 is the correct location for Windows. If you had installed Windows on the 4th partition on the drive, then you should change it to (hd0,3)
Posted on Nov 20, 2009
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Posted on Jan 02, 2017
Tips for a great answer:
Dec 24, 2015 | Computers & Internet
on Mar 26, 2010 | Computers & Internet
May 18, 2014 | Computers & Internet
Apr 29, 2013 | Intel Hasee Nb Q540x-n 13.3" Laptop...
Aug 20, 2010 | Computers & Internet
Oct 30, 2009 | Compaq Presario M2000 Notebook
Aug 20, 2009 | Computers & Internet
Apr 03, 2009 | Red Hat Enterprise ES 4 for Linux
Dec 06, 2008 | fedora Linux Operating System
Aug 25, 2008 | Canonical Ltd. Ubuntu
Sep 18, 2012 | Canonical Ltd. Ubuntu
120 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: