Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
If you get errors, go to step 7. (Otherwise, it is optional.)
Depending on your situation, you might have to reinstall grub:
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:
At this point, you should be able to boot normally.
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 ?).
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.
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.
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.
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?