LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-07-2007, 04:00 PM   #1
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
Grub refuses to work, error 18


So I updated my bios and Grub refuses to work, giving me an error 18.

What is error 18, and how am I supposed to get past it? As it stands I can't load up Linux because it's on a partition on my slave hard drive...
 
Old 02-07-2007, 04:08 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
From the GRUB manual...

Quote:
18 : Selected cylinder exceeds maximum supported by BIOS
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).
 
Old 02-07-2007, 04:11 PM   #3
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
...so How do I fix it?
 
Old 02-07-2007, 04:36 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
First thing to try is edit the BIOS. When you turn the power on the computer, press the key(s) as required for your computer, during POST (Power On Self Test). On some computers, you press the control key, others it may be alt+F7. At any rate, check your computers documentation for the key(s) to press during POST to edit the BIOS.

Go through the menu items until you find the one that shows you the hard drives, with their sizes, cylinders, sectors, etc. On the right hand end of the line for the slave drive, it probably shows the word NORMAL. Tab across to that word, then (I think it's the enter key to press) to cycle though options. Stop when you get to LBA (for hard drivers larger than the limit mentioned by Arow).

Save and exit. The boot process should then proceed normally.
 
Old 02-07-2007, 04:45 PM   #5
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I think it's already in LBA mode; in the BIOS there are two options for my hard drives under LBA: Auto and Disabled. They're both on auto.
 
Old 02-07-2007, 11:14 PM   #6
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Still looking for help here, I can't seem to get it to work...
 
Old 02-07-2007, 11:16 PM   #7
wahming
Member
 
Registered: Jan 2007
Posts: 133

Rep: Reputation: 15
Try reinstalling grub. Pop in your linux disc and enter linux rescue. Run grub-install /dev/hd#
 
Old 02-08-2007, 10:03 AM   #8
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I tried that from the live CD and it says I don't have permission or something along those lines. But I have re-installed Ubuntu several times without any success.

Still completely lost here. I even tried making a small boot sector at the very start of the hard drive, as suggested when I researched the issue, but still no dice.
 
Old 02-08-2007, 10:12 AM   #9
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Might be a sign of giving up, but you might want to try lilo instead of grub (as last resort)

What's the content of your grub conf file ?
 
Old 02-08-2007, 10:31 AM   #10
wahming
Member
 
Registered: Jan 2007
Posts: 133

Rep: Reputation: 15
Several reinstalls? Give up on the software and start examining hardware. Yank out all other hard drives, reinstall linux, throw grub onto the mbr.
 
Old 02-08-2007, 11:12 AM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
It pays to learn how to rescue a Linux using just a Live CD.

To restore Grub Task B4 and B5 of the last link of my signature refer.

I think restoring Grub should cure it if the unbootable Linux can be mounted and the files checked OK.
 
Old 02-08-2007, 11:25 AM   #12
wahming
Member
 
Registered: Jan 2007
Posts: 133

Rep: Reputation: 15
Saikee: I'm curious, is there any significant difference between running linux rescue and booting from a livecd?
 
Old 02-08-2007, 12:58 PM   #13
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Not really.

If you run the Linux rescue it may automatically search the Linux and mount the partition for you. You still need to chroot to it and do the boot loader restoration work.

Using the Live CD you then understand the steps involved, know how to find which partition to mount and mount the partition manually yourself. It is a good education and pretty fundamental to a Linux user to know. You grab Linux by its horn!

The important part of it is once you learn the steps you can rescue any Linux with any Livce CD.

Linux rescue is not universally provided by every distro and each family has its own way of slightly different rescuing operation.
 
  


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
Boot Errors: Be it lilo or grub, it won't work.from 'L 99 99...' to 'Error 2' bomberman324 Linux - General 7 11-18-2005 11:17 PM
Fedora Core 4 refuses to make grub work adamb10 Fedora 1 06-14-2005 07:23 AM
grub refuses to read grub.conf 0pal_t0ad Linux - Newbie 2 03-27-2005 05:40 AM
yum refuses to work arjun_sh Linux - Newbie 4 03-19-2005 07:52 AM
XV refuses to work snooo Linux - Software 14 08-12-2004 07:27 AM


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