LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2013, 10:12 AM   #1
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Rep: Reputation: Disabled
grub>


Good Morning. Home computer is Linux Ubuntu. Hastily hit restart button when computer monitor kept shutting off. Now, I get a screen that gets to "grub>" . I keep getting "no command". What command will get me back to my main screen? Thank you.
 
Old 05-31-2013, 02:26 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Sounds like grub 1st stage in the MBR has lost track of the rest of grubs files and can't complete the boot process.

Here are instructions from askubuntu.com on how to fix that.
Quote:
Boot from the live CD (your ubuntu install cd).
Determine the partition number of your main partition. GParted can help you here. I'm going to assume in this answer that it's /dev/sda2, but make sure you use the correct partition number for your system!

Open a terminal and mount your partition:
sudo mount /dev/sda2 /mnt # make sure that sda2 is correct!

Bind mount some other necessary stuff:
for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done

chroot into your Ubuntu install:
sudo chroot /mnt

At this point, you're in your install, not the live CD, and running as root. Now you need to update grub.
update-grub

If you get errors, go to step 7. (Otherwise, it is optional.)

Depending on your situation, you might have to reinstall grub:
grub-install /dev/sda
update-grub # I'm not sure if this is necessary, but it doesn't hurt.

If everything worked without errors, then you're all set:
exit
sudo reboot

At this point, you should be able to boot normally.
I hope this helps.
 
1 members found this post helpful.
Old 05-31-2013, 03:32 PM   #3
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi. Thank you for the reply. I do not have the CD. Is there an alternative route?
 
Old 05-31-2013, 06:41 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,052

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
There are several - almost all will require you to be (more) forthcoming with information if you want our help.

It's very unlikely there is a grub command that will fix this simply from the screen you are on. What version of Ubuntu is it - do you have any other liveCD/USB available; can you create one in need (do you have another computer to connect and download, or a friend that can ?).
 
1 members found this post helpful.
Old 06-01-2013, 07:36 PM   #5
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi!
Grub Version 1.99-21 Ubuntu 3.9.
Grub menu offers Ubuntu - Linux 3.2.0-44 generic - pae OR generic - pae "recovery mode" OR previous Linux version.
Have entered and attempted to boot each one of the three to no avail.

Thank you.
 
Old 06-01-2013, 07:39 PM   #6
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
p.s. computer with Linux operating system was a donated item to me. Therefore, I never had the Linux live CD. I am communicating via girlfriends computer, which is non-Linux.
 
Old 06-01-2013, 08:23 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,989

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
You are not going to be able to solve your problem if you can't access anything. If you don't have an Ubuntu CD, you can download the file of Ubuntu or any other Linux distribution on another computer, burn it as an image to a CD, then put it in your computer and boot the computer with the CD in the drive. You may have to change the boot priority setting in the BIOS. Usually, when your first boot the computer, you will see a message telling you to press a specific key to 'enter setup' or 'enter BIOS'.

Until you get a CD/USB you can use, there's not much anyone can tell you as there is not enough information available.
 
1 members found this post helpful.
Old 06-01-2013, 09:58 PM   #8
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Thank you, I will burn a CD. After I load this CD, will the BIOS prompt me to enter "setup" ???
 
Old 06-01-2013, 10:03 PM   #9
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
p.s. http://www.ubuntu.com/download/desktop - would this be a correct download site?

or

http://en.kioskea.net/download/download-1734-ubuntu

appreciate all of your help.
 
Old 06-01-2013, 10:41 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,052

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
Yep - use the Ubuntu link. From your options, that looks like a 32-bit machine. I'd suggest you get the latest version (Ubuntu 13.04) and make sure the "Choose your flavour" is 32-bit.

On that same page, has some instructions for creating a liveCD/USB under Windows. Boot that, then I'd suggest you use Boot-Repair to attempt to fix your issue from the liveCD. Use the "2nd Option" in that link - it'll install the tool in the liveCD environment and allow you to hopefully fix your machine.
 
Old 06-02-2013, 08:44 AM   #11
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Thank You! I will keep you posted.
 
Old 06-02-2013, 09:54 PM   #12
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
trying to download Linux Ubuntu 13.04 to usb drive. I'm having difficulty helping my bf, because, I have windows. Do I have to download to my pc? Can I not just save to USB drive? Thanks!!
 
Old 06-02-2013, 10:25 PM   #13
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
p.s. I think I've got it working. It's downloading now and looks like one of the sample screens. Fingers crossed.
 
Old 06-05-2013, 01:43 PM   #14
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
follow up: I have uploaded the usb and cd recovery for my bf and he should receive it today. We are hoping that when he receives them today that he will have success in his recovery. Is there anything that we should be aware of upon initially rebooting the system?
 
Old 06-05-2013, 09:49 PM   #15
georgiashadow
Member
 
Registered: May 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Please Help. BF has the CD and USB for Linux Ubuntu Recovery. What does he do next? He has put the CD in the drive, rebooted, but "Grub" screen....What Command? How to get to BIOS???

---------- Post added 06-05-13 at 09:50 PM ----------

How do open a terminal?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 11:56 PM
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 05:29 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 07:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM


All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration