Question about Canonical Ltd. Ubuntu

1 Answer

I installed Ubunto 9.0 AND when it came up it said, GRUB LOAD,no such partition, then at a prompt it says,grub rescue.

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 7 Answers

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.
sudo grub
> root (hd0,0)
> setup (hd0)
> exit
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)
# makeactive
# 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

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
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.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Have a dual boot system, windows7 & linux. tried to update to windows 10. stuck at grub rescue.


It sounds like grub can't find the correct partition to boot Windows 10. This should get you through it: http://askubuntu.com/questions/654386/windows-10-upgrade-lead-into-grub-rescue
Keep in mind that Microsoft never tested the upgrade on a system that dual boots with Linux and uses the Grub loader. You are in uncharted waters.

Dec 24, 2015 | Computers & Internet

Tip

When a Windows install kills your dual boot to Linux


Distro installers are pretty good at identifying an existing Windows installation and setting up dual booting, but should you have to reinstall a spyware-riddled Windows install you'll find that your machine boots straight into Windows and that your Linux installation is gone!
Don't panic: all Windows has done is overwrite the Grub bootloader with its own equivalent, removing your boot menu. All your data is still there - you just need to reload the bootloader configuration into the disk's master boot record (MBR). You'll need to boot from a Live CD to do this, this, then open a terminal and run

sudo grub-install /dev/sda

This assumes you have everything installed on the first (or only) hard drive. Grub-install will usually make a good job of detecting a Grub installation and set things back to rights. If it doesn't, you'll have to do it manually, which is a lot easier than it sounds. Run sudo grub to enter the Grub shell. then run

find /boot/grub/stage1

...to determine which partition holds the Grub files. If Windows is on the first partition Grub is likely to be on the second, in which case this command will return something like (hd0,1). Now set Grub up with

root (hd0,1)
setup (hd0)
quit

The first command identifies the boot partition, the second writes the bootloader to the MBR and then you leave the Grub shell. Grub is only concerned with the location of /boot, so if you have a separate /boot partition, omit the /boot part from the find command.

on Mar 26, 2010 | Computers & Internet

1 Answer

Corrupted os


Have you tried a System Restore/Recovery? Do you have a Recovery Partition? Take a look here: http://www.unixmen.com/fixing-a-few-common-grub-errors-broken-bootloader-and-error-1715/

Apr 29, 2013 | Intel Hasee Nb Q540x-n 13.3" Laptop...

2 Answers

Computer wont boot, recovery disk doesn't work after reinstalling it says an error has occurred.


There are two ways, choose which is suitable for you: 1) If you deleted a Linux partition and want to get rid of GRUB: - Insert your Windows CD. - In your BIOS settings, select boot from CD/DVD. - After the welcoming screen, type R (to enter the Recovery mode). - At the console (command-prompt/terminal) type: fixmbr - Everything should run fine after that. 2) If you installed Linux and have a problem with GRUB: - Insert your Linux distro CD. - In your BIOS settings, select boot from CD/DVD. - Enter the Live desktop and open a terminal. - Type: sudo grub -Type: find /boot/grub/stage1 (You might receive more than one location. Select the one you want to install GRUB onto) - Type: root (hd?,?) (Where "?" is the location you want to install GRUB) - Type: setup (hd0) (This is to install GRUB onto mbr) - Type: quit (To exit grub) - Reboot and everything should be fine.

Aug 20, 2010 | Computers & Internet

4 Answers

What is grub error 17? how to fix it?


Its GRand Unified Bootloader used in Linux OS.
Normally you get this error when GRUB is not able recognise the partition from which you are trying to boot the system. Make sure the boot partition on your system is recognisable by GRUB (such as EXT3).

You can try to restore the GRUB using the LIVE CD
  1. Boot From Live CD
  2. Open Terminal Window
  3. type >sudo grub
  4. then type : find /boot/grub/stage1
  5. you'll get something like: (hd0, 1)
  6. then type : >root (hd0, 1)
  7. type: > setup (hd0)
  8. >quit
  9. >exit
Remove the Live CD and reboot the system.


Please let me know if you need any further assistance.


Thank you for choosing Fixya




Oct 30, 2009 | Compaq Presario M2000 Notebook

1 Answer

Cannot access XP after Ubuntu Installation


- reboot with LiveCD
- in CMD run command fixmbr, fixboot
restart, load Windows XP.
OR in Unbuntu Grub write XP portition

Aug 20, 2009 | Computers & Internet

1 Answer

GRUB PROBLEM on clone pc with Red hat linux 6.0


Boot up from Installation CD/DVD and type 'linux rescue' at boot: prompt, This will drop you at 'shell' prompt.
execute this

chroot /mnt/sysimage
cd /boot/grub
less grub.conf
less device.map


post the contents of device.map and grub.conf files ( first title, root and kernel lines of grub.conf ).

Apr 03, 2009 | Red Hat Enterprise ES 4 for Linux

1 Answer

Pc linux OS reboot loop


It might be cause by The MBR was messed up by a bad grub install. You can try to fix the grub.

If you want to try reinstalling grub, boot from the live CD, log in as root, open a Konsole window, and at the prompt, ([root@localhost ~]#) type;

[root@localhost ~]# grub <Enter>

GNU GRUB version 0.97 (640K lower / 3072K upper memory) <-- This is the output from grub after <Enter>

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> <-- The grub prompt.

From the grub prompt type;

grub> find /boot/grub/stage2 <Enter>
(hd0,0)
(hd0,4)
(hd0,5)
(hd0,9)
(hd0,11) <-- You'll only have one, use it
(hd1,0)
(hd1,2)
(hd1,4)

grub> root (hd0,5) <Enter> <-- Use what showed up above for yours
Filesystem type is ext2fs, partition type 0x83 <-- Grub reports both ext2 and ext3 as ext2. Don't worry about it.

grub> setup (hd0) <Enter> <-- That is a zero (hd0), not a letter
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.

grub> quit <Enter>

Your done; grub is reinstalled


P.S.: If this information was helpful, please rate this solution.

Dec 06, 2008 | fedora Linux Operating System

2 Answers

Ubuntu error 22


While in Ubuntu do:

sudo fdisk -l to find the drive you want to boot to.

On the command line type:
"sudo grub", this will give you the grub shell >

If the disk you want to install the MBR is sda* for instance, then type (at the grub prompt):
"setup (hd0)"

then type "quit" at the prompt.

Aug 25, 2008 | Canonical Ltd. Ubuntu

Not finding what you are looking for?
Canonical Ltd. Ubuntu Logo

120 people viewed this question

Ask a Question

Usually answered in minutes!

Top Canonical Ltd. Computers & Internet Experts

k24674

Level 3 Expert

7993 Answers

Bill Boyd

Level 3 Expert

42084 Answers

Are you a Canonical Ltd. Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...