LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 10-25-2008, 07:33 AM   #1
bearguy2u
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Talking Grub error 21


I was on windows XP last night and was wanting to dimonstrate my new head phones to a friend and I clicked on the music file in my documents and a folder came up with a title of one of my old email address that I don't use anymore, when I clicked on it everything froze. I then had restart via hard boot and when the screen come back on it was black with the error code GRUB.....error 21.
I had recently tried loading Ubuntu 7.0 on a seperate drive and found it didn't have ATI drivers so my screen shut down when desktop loaded. I sence ordered a disk with Ubuntu 8.0 on it tried loading it and it would get to the desk top and I would see the pretty pheonix and then the keyboard and DVD-RW quit qorking so it couldn't finish loading. I then took the HDD out of my PC and took it to my instructor at ITT and had him load it for me sence he likes to play with linux. So, when all this happened I had no Linux anywhere near my system so I really don't know what happened with this error 21 code. I spent the next 2 hours reloading windows XP on the larger partition of my main hard drive and that's another story for another time but at least now I have more room.
If someone can offer usefull tips to this Linux virgin I would appreciate it.
 
Old 10-25-2008, 07:41 AM   #2
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
http://www.gnu.org/software/grub/manual/grub.html
 
Old 10-25-2008, 02:37 PM   #3
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
So are you getting the Grub error before you see the Grub menu, or after you get the Grub menu and select an OS? I assume it's the former case. If you want help troubleshooting, how about booting your Live CD, open a terminal (applications > accessories > terminal) and first posting:
Code:
sudo fdisk -lu
And we can work from there.
 
Old 10-29-2008, 08:18 AM   #4
bearguy2u
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I was trying a music selection for a friend and the system froze had to hard boot then black screen and the error listed was all I found and the system would not boot had to reistall windows to do anything.
 
Old 10-29-2008, 09:40 AM   #5
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,134

Rep: Reputation: 621Reputation: 621Reputation: 621Reputation: 621Reputation: 621Reputation: 621
It's difficult to come up with a solution to your problem with the information you have given. You indicate you tried to install Ubuntu 7.0 and 8.0 on a separate drive and were unsuccessful. What's the timeline? Were you able to boot xp after either installation attempt? I'm assuming you had both drives in the computer at the time? I expect that what happened is the default installation of Grub (to mbr of first drive) occurred so that you have the initial stage of Grub looking for the rest of the bootloader which is in the drive you removed.

Grub Error 21: Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.

Post the output of the command suggested by CJS.
 
Old 10-29-2008, 09:53 AM   #6
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Ubuntu
Posts: 530

Rep: Reputation: 125Reputation: 125
In the post you say:
Quote:
I then took the HDD out of my PC and took it to my instructor at ITT and had him load it for me sence he likes to play with linux. So, when all this happened I had no Linux anywhere near my system so I really don't know what happened with this error 21 code.
The error is showing because you had the drive removed at the time.
 
  


Reply

Tags
error, grub


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Grub 1.5 Please Wait...... Grub Failed Error 18 2words4uready Linux - Newbie 5 06-12-2008 05:37 PM
Sofware RAID 1 + Fedora Core 3 + Boot Error L1 + GRUB 21 ERROR najeebsyed2 Linux - Hardware 0 10-25-2007 01:20 PM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration