LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2008, 06:18 PM   #1
vinrod
LQ Newbie
 
Registered: Mar 2008
Location: Lancaster, CA
Distribution: none yet.
Posts: 2

Rep: Reputation: 0
Received Grub Error 18 on boot up.


Hello all:
I am a first time poster so please be gentle. I am also a Linux newbie with a healthy desire to learn.

A friend of mine gave me his son's hard drive and asked if I could recover data from it. He didn't know what OS was installed, just that it has a "glitch" of some sort. I plugged it into my first system and received the error that my board couldn't read the drive. Something about something being too long. I realized then that it was a 64bit install of a linux OS. Unknown distribution.

Then I plugged it into and AMD 64 X2 board and received a Grub error 18. After looking around, the majority of answers revolve around nuking the drive and starting over. Unfortunately, this is not an option as the drive is not mine and data is required to be removed from the drive and saved.

Is there a way of reinstalling grub so that the system will load the OS or will that jack the data and/or make the system unable to access the data? The data is very important to my friends son. Much thanks and I appreciate any help.
 
Old 03-08-2008, 06:24 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Try this site, you are able to download a grub that you can put on cd and boot anything that is bootable. Also there are directions on the use.

http://www.gnu.org/software/grub/

Last edited by Larry Webb; 03-08-2008 at 06:31 PM.
 
Old 03-08-2008, 10:56 PM   #3
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
This type of error usually occurs when the next stage of the boot process is too far out on the hard drive for the BIOS to access. The bootstrap CD mentioned above will probably not work unless you also include the Linux kernel from the system on the hard drive on the CD. Also, if the hard drive is bad, you can run a terminal utility called badblocks to search for bad partitions. These things can be set up by using a live CD (e.g. Kubuntu).
 
Old 03-13-2008, 02:58 PM   #4
buckjams
LQ Newbie
 
Registered: Nov 2006
Location: Phoenix , Arizona
Distribution: Ubuntu Dapper -Edgy- Fiesty- Gutsy :: Linux Mint :: kanotics :: PClinuxOS :: freespire :: DSL ::
Posts: 29

Rep: Reputation: 15
Hi , Joey . I have a error 15 on a new 60gb HD. You mentioned using badblocks in the terminal.. I used sudo ls badblocks, it did'nt work.. What do you type in the terminal off a live cd?? I'm using a fiesty live cd to troubleshoot the hd problem..I did a gutsy install and there is a bad file on the cd I later found out.. I have been playing with Linux for over a year now and consider myself Green.. Any help would be great..I have tried wiping the drive and no go..This is a new HD... Thanks...
Buck....
 
Old 03-14-2008, 12:44 AM   #5
vinrod
LQ Newbie
 
Registered: Mar 2008
Location: Lancaster, CA
Distribution: none yet.
Posts: 2

Original Poster
Rep: Reputation: 0
Found the fix

Hope this doesn't post twice. Thank you to everyone who made suggestions. During my research I found a site that provided the total fix. http://www.ultimatebootcd.com/ I would strongly suggest you check it out. Great stuff and free. Be well.
 
Old 03-14-2008, 11:55 PM   #6
buckjams
LQ Newbie
 
Registered: Nov 2006
Location: Phoenix , Arizona
Distribution: Ubuntu Dapper -Edgy- Fiesty- Gutsy :: Linux Mint :: kanotics :: PClinuxOS :: freespire :: DSL ::
Posts: 29

Rep: Reputation: 15
Thank's for the info Vin... I will post the results when I have tried the CD..

Buck..
 
Old 03-15-2008, 10:45 PM   #7
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
Quote:
I used sudo ls badblocks, it did'nt work
If I'm not mistaken, [K]Ubuntu Gutsy's live CD has badblocks installed by default (and most likely Feisty, too). When you say `sudo ls badblocks', you're listing the contents of the current directory. You can type `whereis badblocks' to locate it in standard Linux places. If `sudo badblocks' doesn't work, then you can type `sudo apt-get install badblocks' to install it.

Note that badblocks has three notable modes:

1. Non-destructive read-only (tests reads on all parts of the hard drive; safe and fastest)
2. Non-destructive write-read (writes test data to disk, reads it back, and places original data back; slowest and slightly dangerous)
3. Destructive write-read (fills the hard drive with garbage while testing it; slow, but faster than 2).

You'll also want to pass the -s flag so you'll get a progress bar. Type `man badblocks' for more information.

Last edited by JoeyAdams; 03-15-2008 at 10:47 PM. Reason: Added that Ubuntu Gutsy/Feisty probably do have badblocks installed.
 
  


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
Sofware RAID 1 + Fedora Core 3 + Boot Error L1 + GRUB 21 ERROR najeebsyed2 Linux - Hardware 0 10-25-2007 01:20 PM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
error message received while trying to load boot disk bcampbell91 Linux - General 1 08-15-2005 12:28 PM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:13 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