Question about Canonical Ltd. Ubuntu

1 Answer

There is no grub menu just grub command

Last time i work with windows and turn off computer there but now
i turn on system and there is no grub menu just a command line with grub root

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Scholar:

    An expert who has written 20 answers of more than 400 characters.

  • Expert
  • 77 Answers

Try running the command grub-install or if that fails, try the help command

You could also boot off the Ubuntu CD and be able to reinstall grub

Regards,
Deboo

Posted on Jan 04, 2009

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 | Operating Systems

1 Answer

My system had linux and windows XP. TO remove linus OS i used active kill disk software and removed the linux partitions. Now the system is not bootingup and shows the GRUB -error 17. I even tried for...


Educated Guess:

I am guessing that your GRUB menu had both entries for Windows and Linux, and you would select the OS you wanted to boot from when GRUB came up.

Unfortunately, when you removed the Linux partitions you also removed the GRUB configuration files that specified where the Windows Partition is. I looked up "active kill" and I can assume there is no way anything will be revered from the Linux Partitions.

You might try the recovery console from mode from the Windows Bootable.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/recovery_console_overview.mspx


There is no way for me to really tell how trashed your disk is.Some of these commands may (or may not) be able to help you out (commands only available from the recovery console).

map
fixboot
fixmbr

Direct link to map command, which has links to other commands.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/bootcons_fixmbr.mspx?mfr=true

Oct 19, 2010 | Microsoft Windows XP Professional for PC

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 | Operating Systems

1 Answer

Am pulling my hair out. I'm a newbie to Linux but keen to get into it. Installed 9.10 as a dual boot alongside XP and after problems with grub, which I have re-mounted, I get to the OS choice page. XP...


Backup, Repairing and Reinstalling GRUB
  • To make a backup a copy of the existing menu.lst file use: cp /boot/grub/menu.lst /boot/grub/menu.lst.oldYou can try re-installing the grub using the Ubuntu Live CD, in two different ways.

GUI
  1. Boot your computer up with Ubuntu CD
  2. Go through all the process until you reach "[!!!] Disk Partition"
  3. Select Manual Partition
  4. Mount your appropriate linux partions / /boot swap .....
  5. DO NOT FORMAT THEM.
  6. Finish the manual partition
  7. Say "Yes" when it asks you to save the changes
  8. It will give you errors saying that "the system couldn't install ....." after that
  9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
  10. Jump to "Install Grub ...."
  11. Once it is finished, just restart your computer

Jul 27, 2010 | Canonical Ltd. Ubuntu

1 Answer

How can I uninstall Ubuntu from Dual Boot. I have a dual boot of Windows Vista Ultimate with Ubuntu 9.04 The specs of my computer is 2gb ram, 500 gb HDD and dual core processor 2.66ghz (E5300). I installed...


How to remove Ubuntu from a Vista dual-boot config

On my new PC I wanted (still want) to have toa go with Linux. I chose to experiment with Ubuntu. I downloaded thedesktop CD, burned it, freed up some disk space (inside Vista) andloaded up Ubuntu from the CD. After some experimenting I figured outhow to install Ubuntu in the empty disk space and it all worked fine(GRUB took over my booting (recognized Vista automatically!) and Ubuntuloaded up fine).

Then I tried to install my GPU drivers andeverything went wrong.. For some reason Ubuntu wouldn't boot anymore(failed to load X-Server or something). I was completely lost andwanted to remove Ubuntu.

This is where things start to get really messy!

Ifyou simply remove the Ubuntu partition, GRUB (Linux boot loader) willstill be on your PC (in control). It will trip out, as the Ubuntupartition will be removed.. Bad thing!

So you need to restore your Master Boot Record (MBR) for Vista (so that Vista will handle the booting, not GRUB).

Googleonly pointed me to sites that explained how to REMOVE VISTA, whichisn't what I wanted. Many sites talked about the 'fixmbr' command, butthis is really only available in Windows XP.

So how do you restore your MBR for Windows Vista?

1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr, and then press ENTER.

That'sit. Now when you reboot your PC, Vista will load automatically... Youcan now safely boot using your Ubuntu desktop CD, to use the built inGnome Partition Manager to remove your Ubuntu partition!

Apr 06, 2010 | Microsoft Operating Systems

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.


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)

Nov 20, 2009 | Canonical Ltd. Ubuntu

1 Answer

Boot loader for fedora8 & windowsxp


Boot a Linux Rescue Disk and Re-Install Grub with the command. "grub-install"

mount /dev/your_boot_partiton /boot
grub-install --root-directory /boot /dev/hda

The Boot Sector is Stored on the first 512 Bytes of the physical Disk.

Sep 23, 2009 | fedora Linux Operating System

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

1 Answer

Boot loader problem


I beleive that you are installed windows first and linux second,then dual booting will be configured automatically ,means linux will install the grub (boot loader)and configure it with what all Os u have.If your system is not booting and showing grub menu do one thing ,boot it from a linux cd and reinstall grub.

Oct 31, 2008 | Microsoft Windows XP Home Edition

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

Related Topics:

143 people viewed this question

Ask a Question

Usually answered in minutes!

Top Canonical Ltd. Operating Systems Experts

k24674

Level 3 Expert

7993 Answers

Christopher Thrash

Level 3 Expert

425 Answers

Cosma Papouis
Cosma Papouis

Level 3 Expert

404 Answers

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

Answer questions

Manuals & User Guides

Loading...