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

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

How do i get to recovery mode for ubuntu?


  1. Switch on your computer.
  2. Wait until the BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.)
  3. Quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you've missed the point where you can enter the GRUB menu.)
  4. Select the line which starts with "Advanced options".
  5. Select the line ending with "(recovery mode)", probably the second line, something like: Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
  6. Press Return and your machine will begin the boot process.
  7. After a few moments, your workstation should display a menu with a number of options. One of the options (you may need to scroll down to the bottom of the list) will be "Drop to root shell prompt". Press Return with this option highlighted.
  8. The root partition is mounted read-only. To mount it read/write, enter the command
    mount -o remount,rw /
  9. If you have /home, /boot, /tmp, or any other mount point on a separate partition, you can mount them with the command
    mount --all (This must be done following step 8 so that /etc/mtab is writable.) Alternatively, you could try selecting "Enable networking" in step 7, though this has been found to cause the system to hang (see https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/981792).
NOTE 1: If you have Ubuntu Quantal (12.10) or earlier, omit step 4 (the recovery mode menu items are displayed on the top-level menu).
NOTE 2: If you reboot, there is no need to hold the Shift key in step 3. The GNU GRUB menu will continue to be displayed automatically on each boot until a normal startup of Ubuntu completes. To configure GRUB so the menu is always displayed, even after a normal startup, see https://help.ubuntu.com/community/Grub2/Setup.

Oct 16, 2013 | Compaq 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

What is GNU grub?


The Grand Unified Bootloader (GRUB for short) is a program developed by the GNU software foundation. This program allows your Windows machine to load a number of different operating systems by presenting the user with a choice when the machine boots. This allows you, for example, to have both Linux and Windows XP installed on the same machine. If you find that you need to restore your XP system to a previous state and want to remove GRUB from your Windows XP, the process can be done in just a few minutes.

Ensure that your computer can boot from the CD/DVD drive. Start your computer and watch the startup screen. It will flash the key combination you need to press to enter BIOS. Enter this key combination and go into the system BIOS. Look under "Boot Options" or "Boot Order". Select "Boot from CD/DVD Drive" and make sure that it is listed as the first in the boot order. Save your changes before you exit the BIOS. Open the CD/DVD drive and insert your Windows XP install DVD. Reboot your system. Press "R" for "Recovery Console" when the "Welcome to Setup" screen appears. Enter the administrator password. At the prompt, type the following command: fixmbr Allow the XP system to recover the boot sector. When finished, it will return you to the command prompt. Type:exit Reboot your XP system. Hope this helps.

Dec 30, 2012 | Computers & Internet

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 | Computers & Internet

1 Answer

Unit wont start, gray screen then goes to a screen with options on how to start unit and then goes blank


Answer:To load the last known good configuration in Windows 2000 / XP reboot the computer and as it's booting booting press and hold your "F8 Key" which should bring up the "Windows Advanced Options Menu" as shown below. Use your arrow keys to move to "Last Known Good Configuration" and press your Enter key.
Trouble Getting into Windows 2000 or Advanced Options menu - If after several attempts you are unable to get into Windows 2000 or Windows XP Safe Mode as the computer is booting into Windows turn off your computer. When the computer is turned on the next time Windows should notice that the computer did not successfully boot and give you the Safe Mode screen.
Note: With some computers if you press and hold a key as the computer is booting you will get a stuck key message as the computer is booting. If this occurs instead of pressing and holding the "F8 key" tap the "F8 key" continuously until you get the startup menu.

Windows Advanced Options Menu
Please select an option:
Safe Mode
Safe Mode with Networking
Safe Mode with Command Prompt
Enable Boot Logging
Enable VGA mode
Last Known Good Configuration (your most recent settings that worked)
Directory Services Restore Mode (Windows domain controllers only)
Debugging Mode
Start Windows Normally
Reboot
Return to OS Choices Menu
Use the up and down arrow keys to move the highlight to your choice.
As can be seen from the above example, you should be able to highlight and press enter to load the last known good configuration. Once completed the computer should restart and attempt to load into Windows.
Will running the Last Known Good Configuration delete anything?
No, running the last known good configuration will restore your last good system settings and will not delete anything. The only thing you may have to reinstall programs you have recently installed because the configuration for those programs may have been lost.

Jan 27, 2010 | NEC Versa VX Notebook

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

2 Answers

Grub command after installing windows vista


It is very simple insert the windows xp cd and enter into the recovery console and type fixmbr it asks yes or no to write new mbr type yes
thats all

or else if you have win98 boot cd in the command prompt type fdisk/mbr

Mar 02, 2009 | Computers & Internet

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

Related Topics:

143 people viewed this question

Ask a Question

Usually answered in minutes!

Top Canonical Ltd. Computers & Internet Experts

k24674

Level 3 Expert

7993 Answers

laikexpert
laikexpert

Level 3 Expert

281 Answers

Christopher Thrash

Level 3 Expert

425 Answers

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

Answer questions

Manuals & User Guides

Loading...