Ubuntu and Associated Distributions/Grub Command Prompt

Advertisement


Question
Hi,

I installed ubuntu 12.10 using Wubi.exe directly through the internet from ubuntu.com.

When i restarted the machine, i got the Grub> command prompt instead of the Graphical User Interface (GUI) screen. I am not technically proficient and don't know how to use the  command prompt. Please tell me, how to get rid of the Grub> command prompt and start the GUI screen.

I installed ubuntu on an NTFS drive (15 GB) whose attributes are set to INDEX and COMPRESS files.

I use a desktop PC running on Windows XP (Service Pack 3).


Regards,
Dc Z

Answer
There's Grub and there's the newer Grub.  I think Ubuntu uses the newer grub.  Rather than explain causes and possibilities, I'll tell you the brute force method I've used that works.  If you've got only one disk drive, get your hands on a Live CD, boot from it and see about repairing the Grub installation.  Once running from the live CD you'd go to a terminal, and run:
$ sudo su -

This should make you root and this should be evidenced by a new prompt: The pound sign. #

If it were my machine I'd need to play a little, as you may.  It's easy to forget exact steps that fixed a specific problem.  There are several commands that begin with 'grub-'.  Type this and hit the tab key a couple times to view all of them.  Run man to see what they do.  There should be one that fixes an existing installation.

If you've got more than one drive, the trouble is being caused when Grub tries to go into its second stage and can't find the drive its been told to boot from.  This can happen due to differences in the way the BIOS enumerates devices.  I've fixed it by moving the connector each drive plugs into.

I hope this gets you started.  You're welcome to follow-up with additional questions.  

Ubuntu and Associated Distributions

All Answers


Answers by Expert:


Ask Experts

Volunteer


John Crout

Expertise

The command line, configuration files, recompiling the kernel, maintaining a system, hardening a system, package managers, browsers. Questions about Debian, Ubuntu, KUbuntu, MINT, Knoppix, CentOS, Red Hat Enterprise, Linux Wifi, embedded Linux, Live CD, forensics tools, vulnerability and pen testing tools, virtual installations.

Experience

LiveCDs, Debian, Red Hat, CentOS, Running on VMware, MINT, Ubuntu Studio, NIST Working Groups,

Organizations
Association for Computing Machinery Information Systems Security Association (ISSA), United States Coast Guard Auxiliary, ISC2, ACM

Publications
RTCA/DO-178B, "Software Considerations in Airborne Systems and Equipment Certification", (member of SC-167), RTCA/DO-160C, "Environmental Conditions and Test Procedures for Airborne Equipment", (member of SC-135) Student Doctor Magazine EE Times Network World blog Navy CIO blog Medforum CGAUX groups and CGAUX National Staff groups Analytic Bridge LinkedIn

Education/Credentials
Master of Public Health (Epidemiology and Biostatistics) Bachelor of Science in Electrical Engineering (Computer Engineering Option) Digital Forensics Basics, Texas Engineering Extension Secure Software, Texas Engineering Extension Network Security, Texas Engineering Extension Infosec Basics, Texas Engineering Extension Information Assurance Awareness, Department of Defense Information Systems Security, United States Coast Guard Online safety for parents and children, Fort Collins Police Department Spear Phishing, Defense Information Security Agency, DISA Spear Phishing, United States Coast Guard, USCG Meeting the Media, Testifying, Presentations, Arch Lustberg FEMA (ICS-100, -200, -210, -700, 800) United States Coast Guard Defense Information Systems Agency United States Coast Guard Auxiliary Crosby Quality Workgroup Facilitator Trainer Crosby Quality Education System Wisconsin University, ISSA training workshops

©2016 About.com. All rights reserved.