LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-15-2006, 10:20 AM   #1
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308
Blog Entries: 1

Rep: Reputation: 31
grub problem


I have an older compaq (5 years) with 2 hard drives.
Drive 1 has Windews ME.
Drive 2 has Kubuntu 6.06

I replaced drive2 with another drive that also had Kubuntu 6.06.
When I go to boot I get:

"GRUB Loading stage 1.5

GRUB loading, please wait
Error 18"

Any suggestions?

Thanks
 
Old 08-15-2006, 10:25 AM   #2
justanothersteve
Member
 
Registered: Aug 2005
Location: Missouri, USA
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
This is an excerpt from the wiki here at LQ (http://wiki.linuxquestions.org/wiki/GRUB#Error_18)

Error 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 on others.). In more practical terms this means the BIOS is unable to start executing the kernel because the kernel is not located within the block it can access at boot up time.

This can be circumvented by creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.

The kernel it self does not suffer from the same limitations as the BIOS so after the BIOS has loaded the kernel the kernel will have no problem accessing the whole harddrive. Newer BIOSes will automatically translate the harddrives size in a way that it can be completely contained within the first 1023 cylinders and hence modern computers do not suffer from this problem.
The same error can happen when the BIOS detects a disk in a different way as Linux does. This can happen when changing motherboards or when moving a GRUB-bootable disk from one computer to another. If this happens, just boot with a GRUB floppy, read the C/H/S numbers from the existing partition table and manually edit the BIOS numbers to match. If using a SUSE linux and installing on VM Ware this problem is solved by creating a small partition at the very beginning of the harddisc, and mounting it as /boot.
 
Old 08-15-2006, 10:48 AM   #3
impeteperry
Member
 
Registered: Dec 2003
Location: Riverside, RI, USA
Distribution: Ubuntu/Kubuntu
Posts: 308

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks for the prompt reply.

I also get error 21 on an another computer.

What caused all this was that, while I was away, I had 5 hard disks on 3 computers affected by some kind of power surge (or grandchild surge). Computers were off but still connected to surge protectors which were on.

i had removed windows XP from my main computer sometime ago and had Linux on both drives.. With everything out, I reinstalled XP which uses "systemCommander" and was able to get up and running on both drives.
This left me with a spare 200 g drive which I was going to replace a 60 g drive on computer #2 which I was going to replace a 20 g drive on computer #3. This is where I get the error 21.

thanks again

Last edited by impeteperry; 08-15-2006 at 11:08 AM.
 
  


Reply



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
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Grub Problem VeggieHead Linux - Software 4 10-04-2005 04:45 PM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 09:36 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM
grub problem i m gr8 Mandriva 1 04-26-2004 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:38 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
Open Source Consulting | Domain Registration