LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-30-2008, 01:25 PM   #1
alexAR55
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Rep: Reputation: 0
Ubuntu no longer booting


I get the following error during boot up:

Verifying DMI Pool Data.............
GRUB Loading stage 1.5.

GRUB loading, please wait...
Error 21

Any ideas how to resolve this? Thanks in advance.

Alex
 
Old 04-30-2008, 06:05 PM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Depends on distro? If it was a live install you can fix fairly easy, if not get a live cd:

Boot from live cd
login as root (or su)
type grub in a term
root /dev/sda? (? being where your controlling distro was)
setup sd? (or wherever you want the mbr loaded)
quit

DONE!
 
Old 04-30-2008, 06:39 PM   #3
alexAR55
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Original Poster
Rep: Reputation: 0
I'm using Ubuntu 8.04 and have the live CD. What would the code be for that distro? Thanks.

Alex
 
Old 04-30-2008, 08:25 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,990

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Error 21: Selected disk does not Exist. More detailed information would be needed before you could get a definitive answer. I had this error on my computer and it was just a loose connection from the power supply to the first hard drive. What were you doing immediately prior to getting this error, had you installed any new software, hardware, etc.?

You may not need to re-install Grub. If you do
su (hit enter)
(enter passwd)
you will get the grub prompt
grub> root (hd0,1)##this command shows boot partition for your system as first drive,2n partition
setup (hd0)##this writes Grub to mbr of first drive
quit

That is not likely your setup so you need to make changes. If you are not sure how, post again with results of "fdisk -l" command. Also post any changes you may have made recently, if any. This would probably be the way to go rather than re-installing grub.

Last edited by yancek; 04-30-2008 at 08:34 PM.
 
  


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
Sound no longer working in Ubuntu gpaciga Linux - Newbie 27 11-29-2007 10:54 PM
7.10 Ubuntu upgrade no longer shuts down emil32 Ubuntu 4 11-19-2007 06:36 PM
Ubuntu 7.10. Some packages no longer functioning mattnorb Ubuntu 10 11-13-2007 01:29 PM
Ubuntu server no longer accessing internet xTheLostx Linux - Networking 3 09-29-2005 09:03 PM
No longer booting into GRUB J_K9 Linux - Newbie 13 03-10-2005 12:40 PM


All times are GMT -5. The time now is 06:10 AM.

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