LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-14-2005, 08:24 PM   #1
Braytac
LQ Newbie
 
Registered: Jul 2003
Location: Sydney, Aus
Distribution: Debian (Prefered), Ubuntu, Redhat, Fedora
Posts: 22

Rep: Reputation: 15
Exclamation Grub Loading, Please Wait......Error 18


Hi All
I have just finished building a new server. Intel mainboard P4 3.2GHZ running Debian 3.1. Two Ultra Wide SCSI HDD's. 36GB each.

I encounter a problem in doing the first boot after the installation.
see below:

Grub Stage 1.5

Grub Loading, Please Wait
Error 18

I've researched this GRUB error and I was able to find that the error basically means that the HDD's connected are to large for the BIOS that the machine is running. Now this mainboard is no more than a month old, however...and I think this may be the cause, I am using an Adaptec AHA-2940W SCSI Card to connect the hard drives. this model, from what i've found this card was released around the 1997 mark.

What I would like to know is is this card to old to work with Debian 3.1?
If there is a way around this problem, would running a BIOS upgrade on the card cause any further problems?
and lastly if it is possible to get working without a BIOS upgrade (As I would rather not in case I ruine the card by mistake) how can i do it?

I tried to install LILO but it failed every time for some reason. I am running a simple software mirror between the two disks.

Any help would be greatly appreciated.

thanks
 
Old 07-14-2005, 11:10 PM   #2
sourin
LQ Newbie
 
Registered: Mar 2004
Location: India
Posts: 2

Rep: Reputation: 0
Hi,

This happens when your controller is unable to manage the disk size attached. Check if you have any BIOS update for the controller from the vendor site. You can always backup your current BIOS before writing a new one. So do not worry about ruining your card. If something goes wrong you can always reload the old, from your backup.

A 1997 mark controller should not be a problem. Check if the control has any compatibility issues with the make of SCSI HDDs which you are using.

- Sourin
 
Old 08-04-2005, 07:27 AM   #3
kevin_hill54
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: fedore 3
Posts: 17

Rep: Reputation: 0
I had this same error on a brand new Gigabyte 7VT600 mobo with a 40 Gb HD. I had a 20 Gb working fine but tried to install a clean copy of Ubuntu onto a 40Gb hd. Had the message and figured it was a bad install so installed Slackware 10.1 had the same error. Makes no sense that I can install onto 40 Gb but can't run?

Any ideas

Kevin

Last edited by kevin_hill54; 08-04-2005 at 07:28 AM.
 
Old 10-21-2006, 09:27 AM   #4
Folbo
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
I am in the process of installing Ubuntu 6.06 server (Linux ... for the first time)

I am also seeing this error 18 from Grub

What I do not understand is that the computer seemed to be happy running both my 60Gb disks and a 120Gb disk when running under W2K.

I have wiped this out since I cannot seem to get dual boot to work.
I formatted a 60Gb drive at a low level (using the Maxtor Powermax utility)
and then I let the Ubuntu installer do its thing.

All seemed to go well, I was not even prompted about Grub (unlike when W2k was still on the system).

First boot ... error 18

Is Grub nescesary when you only have a single OS?
Why is the BIOS involved under Grub but not under W2k?

Most importantly ... where next? Linux is the way I would like to go but after 20 years building and programming computers under several different OSes, I am little confused and discouraged.

Many Thanks

Martin.
 
Old 10-22-2006, 06:54 AM   #5
kevin_hill54
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: fedore 3
Posts: 17

Rep: Reputation: 0
Don't give up on Ubuntu.

I can't remember the error fix but it was a hardware issue from memory. It was a while ago and I have since upgraded to Ubuntu 6.10. Use it you'll love it.

Good luck
 
Old 10-22-2006, 07:12 AM   #6
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Grub error 18:
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).
Probably means you need to edit the BIOS. Make sure the disk size settings include *LBA* instead of *NORMAL* or something else, to get past the 1024 cylinder limit. Then you shouldn't have this problem again.
 
Old 10-23-2006, 10:03 AM   #7
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
When i first instlled linux (ubuntu, and slackware) i got this problem, (allthough i have never workes with drives that big)

this fixed it for me...


when you instlall make sure you put GRUB in the MBR of the disk, not the superblock as some distors recomend...


tahtway it will overwrite anything that was there before and boot corectly...
if it is in the super block and there is still the remeins of somthing elce in the MBR (from an old distro or windows)
that will try to boot giving the error, (somtimes also error 15 can be caused by this)

my advice would be reinstall GRUB (if you can boot from a boot disk/CD)

elce
reinstll your distro

(to instll slackware you need to use LILO and tell it to install on the MBR)
 
Old 10-25-2006, 04:05 AM   #8
Folbo
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Thanks for the encouragement ....but I just cannot seem to get things moving

With a complete re-install of Ubunutu 6.06, overwriting the MBR, I am still faced with the rather cryptic Grub loading stage 1.5 ... Error 18

This occurs without fail no matter which physical drive I put Ubuntu on to, seemingly no matter how the drives are partitioned, and with a low level format between each attempt so as to remove any legacy issues from a prior install.

What is the smallest partition that I can usefully install unbuntu on? My last attempt will be to create this smallest partition at the start of the drive, and use this.



I still cannot get my head around why NT can see the drives, and boot from the drives successfully, yet Grub cannot. It is the same BIOS, set to LBA .... Windows works but Linux does not

Is there another boot method other than Grub / Lilo that works in a different way (other than NTloader!)?

I have seen a post elsewhere which basically suggest installing Grub onto a small partition, and copying whatever is installed there into Windows, and using the Nt boot loader instead. This seems a worth while approach but I cannot seem to find a way of installing Ubuntu/Grub and then booting to a Linux image. The problem seems to relate to not having permissions to copy the data to a floppy. I presume that I would have to be logged on as an administrator (as root), but I do not know how to do this. I have a copy of Knoppix that allows a CD based Linux to be run but that is as far as I can get.
Any help would be thankfully received.

Martin.
 
Old 10-26-2006, 04:30 AM   #9
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Rep: Reputation: 15
This sorted me out with a fresh kubuntu install

Quote - Colin Watson's post from this site
https://launchpad.net/distros/ubuntu...ller/+bug/9006

I ran the Warty Warthog installer on an older computer, a Super 7 motherboard
with a K6-III processor. I believe the BIOS was the problem. The hard disk is
a 20 GB disk, and the BIOS pre-dates disks that large.

The installation ran to completion, and then the system would not boot. GRUB
returned the terse message "Error 18".

I Googled for "GRUB Error 18" and what I found suggested that it was a problem
with the BIOS accessing deeply into the hard disk. I re-ran the installer, and
this time manually partitioned the hard disk, with the very first partition a
small "/boot" partition for GRUB and the kernel.

The installation ran to completion and the system booted up just fine. (By the
way, a K6-III/450 with 384MB of RAM makes a pretty nice Ubuntu system.)

Possible solutions:

* make the standard disk configuration have a /boot partition

* detect an old BIOS, and if detected create a /boot

* don't change the installer, but put documentation in the README (not ideal,
but the least amount of work)


===========================================
I took this on board and created the following partitions on my compaq armada lappy e500 from the Kubuntu 6.06.1 install.

#hda1 /boot 100MB b
#hda2 / 8GB
#hda3 300MB swap
#hda5 /data 21GB

Grub boots the kernal from the boot partition and fires up the "hda2" files without problems. I even wnet to the chore of installing a new bios to fix the issue but it didnt help.

Hopefully this solves some of everyones problems. It saved me twice!!

Sadly this'll mean you'll have to run the install again but it *should* work. And im doing the same thing on another lappy right now.....
 
Old 10-26-2006, 04:34 AM   #10
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by Folbo
Is there another boot method other than Grub / Lilo that works in a different way (other than NTloader!)?
Please jesus don't use the ntloader, there are a few other fairly good boot loaders out there but they all fail in comparison to GRUB and Lilo.

The best alternative I can think of out of the top of my head is "gag" which is a graphical boot loader. I found it once on the systemrescuecd live distro.

---Sorry to double post mods
 
Old 10-28-2006, 06:09 AM   #11
Folbo
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Thanks for the suggestions ... will try again

I must admit that if were not for you guys Linux would be back in the bin again until it can do the things the ntloader could do many years ago.

Xel'naga666: On your list of partitions, what happened to hda4?
 
Old 10-28-2006, 01:57 PM   #12
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Rep: Reputation: 15
Folbo: Yep ure right....I am missing a partition in there. And to be honest I have no idea how it happened. Thats how cfdisk wrote to my disk at the time. But it all works. So hopefully nothing is wrong with it. I noticed this on a installation on my friends SuSe lappy too. Not sure what causes it. Is it really a big issue?? If so, do you know of a way to change hda5 into hda4 without wiping the data??

Also, hda5 is a fat32 partition because at the time I was writing back and forth from winXP and Linux (not now, lol) and I havent been able to change it into a ext3 filesystem yet?? Did having a fat32 part. cause this problem??
 
Old 10-30-2006, 02:46 AM   #13
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
Quote:
Originally Posted by Folbo
Thanks for the suggestions ... will try again

I must admit that if were not for you guys Linux would be back in the bin again until it can do the things the ntloader could do many years ago.

Xel'naga666: On your list of partitions, what happened to hda4?
From my experiance Hda4 woudl be teh start of teh logical partitioning after primary partitioning,
Hda4 will be a physical primary partition containing the logical partitions Hda5 as it isnt really a partition in its own right it dousent show as existing,
if you view the disk with cfdisk it shoudl show you it as tehre with the tag Logical
 
Old 08-13-2007, 10:45 PM   #14
wicke
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Exclamation GRUB 1.5 problem

I installed Ubuntu 6.10 on my computer, and got the Error 18 message.
The PC I installed it onto:
Intel NX440LX Mobo
Pentium II 266MHz
256MB PC13 SDRAM
20GB IDE master with XP Pro
60GB IDE slave with multiple partitions (music, Ubuntu, etc.)

I set a 10GB partition on the 60GB for Ubuntu. It installed fine, but after rebooting, I got that darned error message. Any help would be appreciated, especially quick responses! I've got a lot of important work on the XP drive.
 
Old 09-09-2007, 10:59 AM   #15
digideus
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
I'm also having the GRUB error 18 problem, but ive noticed that some distributions dont have the issue whereas some do. I managed to get around it by re-selecting LBA in the bios when using Ubuntu 7, but I cant for the life of me get it working with Mepis Linux, so I guess I'm going to stick with Ubuntu.

Is this possibly because of the partitioning tool bundled with the distro? Mepis 2004 has Qparted, whereas Ubuntu's one is a part of the installation process.

On a side note, this is my first SERIOUS attempt at Linux, but I do have 20+ years of experience in computers and supporting them in huge network environments, so this should be a doddle, right? hehe

Last edited by digideus; 09-09-2007 at 04:13 PM. Reason: added possible reason for error
 
  


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 loading Error 17 cmlal Slackware - Installation 38 11-27-2010 03:21 AM
Error after loading Ubuntu from GRUB rapaport Ubuntu 7 06-09-2008 05:27 AM
GRUB loading statge2read error rollerhl Linux - General 2 03-05-2005 08:04 PM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 08:27 PM
GRUB loading stage2Read Error SparceMatrix Linux - General 8 06-10-2003 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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