Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > Grub error 18

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-13-2005   #1 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 3
Grub error 18

Grub Error 18: Exceeds Bios ( post #1)

Hello,

Thank you in advance.
I was running Suse 10 and just added Debian 3.1 to multiboot.
I can boot to Suse just fine however, when I try to boot to newly installed Debian, I get:

Grub Error 18: Selected cylinder exceeds maximum supported by BIOS
root (hd0,2)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinz-2.6.8-2-386 root =/dev/hda3 ro

Here's fdisk output:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 102 819283+ 82 Linux swap / Solaris
/dev/hda2 103 10546 83891430 83 Linux (**Suse 10**)
/dev/hda3 * 10547 19369 70870747+ 83 Linux (**Debian 3.1**)
/dev/hda4 19370 19457 706860 5 Extended
/dev/hda5 19370 19457 706828+ 82 Linux swap / Solaris

Here's the menu.lst:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 vga=0x314 selinux=0 resume=/dev/hda1 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

( ** I added this part to existing Suse's menu.lst**)
title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda3 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot
pridefc is offline  


Reply With Quote
Old 11-14-2005   #2 (permalink)
Linux Enthusiast
 
Join Date: Aug 2005
Posts: 541
How large is the Debian partition?
chopin1810 is offline   Reply With Quote
Old 11-15-2005   #3 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
Quote:
Originally Posted by [url=http://gen2.linux.co.uk/doc/en/grub-error-guide.xml
GentooUK[/url]]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).

Try an update for your BIOS and/or move your boot partition to the front (or at least into the appropriate range).
Another option is to copy your Debian kernel (and initrd if you use one) to your Suse /boot partition and edit your /boot/grub/grub.conf file accordingly: that is, pointing to the new location of your kernel and initrd (and root (hd0,1)) while leaving the root=/dev/hda3 kernel parameter pointing to the Debian root / directory. You can make a /debian directory in your Suse /boot directory if you want, to keep things orderly, but you need to account for that in your Grub statements. Lemme know how you want to set it up and post your grub.conf if you have questions.

Whenever installation of multiple distros is anticipated, it's a good idea to have a dedicated /boot partition near the beginning of the drive: that partition can then be shared by all distros as needed.

*edit (darn, you already posted your grub.conf!)
Assuming you choose to mkdir /boot/debian in your Suse /dev/hda2 partition and copy your Debian kernel and initrd there, you would then change your Debian grub.conf stanza so:
Code:
title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/debian/vmlinuz-2.6.8-2-386 root=/dev/hda3 ro
initrd /boot/debian/initrd.img-2.6.8-2-386
savedefault
boot
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 11-15-2005   #4 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 3
Thanks.

Back in business.

Thank you. You saved my day.
pridefc is offline   Reply With Quote
Old 11-15-2005   #5 (permalink)
Just Joined!
 
Join Date: Oct 2005
Posts: 6
as I am a newbie myself.. would this also work with loading another distro with SUSE 10 on another harddrive?

I had a simular problem with trying to load Vector Linux on a Hdb1 partician while having SUSE on the HDA drive.
kitanis is offline   Reply With Quote
Old 11-15-2005   #6 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
Quote:
Originally Posted by kitanis
would this also work with loading another distro with SUSE 10 on another harddrive?
If it's basically the same problem, yes. Grub works at a very basic level and so has some limits in how it recognizes your hardware components and arrangement. The Linux kernel, on the other hand, when properly configured, knows all and sees all. So this solution addresses just that: it puts the kernel in a place where Grub can recognize and load it, and then the kernel takes over from there.

I first used this solution when I had an ATA/133 expansion card to drive a "large" hard drive in an older machine whose BIOS could not recognize the large drive and where Grub could not productively recognize it. I put the Linux kernel in a /boot partition on a suitably small drive connected directly to the motherboard. The kernel, of course, could recognize the ATA/133 card so all worked well.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 05-23-2006   #7 (permalink)
Just Joined!
 
Join Date: May 2006
Posts: 1
Grub error: boot between suse10.1 and debian

I have a related problem. On my Iry 80gb master hard disk (hda) I have WinXP in the first 2 gb and Suse 10.1 in the rest of the drive. I have Debian on the IIry 80gb master (hdc). I have been trying to edit the Suse grub to list the debian as an alternative boot but I only get grub errors. The suse grub window offers:
suse10.1
windows
safe suse10.1
|boot ...........

Fdisk shows the following (abbreviated):
1st master suse hd
Boot fs blocks
/dev/hda1 * FAT16 2048256
/dev/hda2 W95 extd 77987542+
/dev/hda5 linux swap 1052226
/dev/hda6 linux 5245191
/dev/hda7 linux 4200966
/dev/hda8 linux 1052226
/dev/hda89 linux 1052226
/dev/hda10 linux 208813+
/dev/hda1 linux 2104483+
/dev/hda12 linux 409626
/dev/hda13 linux 409626
/dev/hda14 linux 1052226
/dev/hda15 linux 57842001

2nd master debian hd
/dev/hdc1 linux 20972826
/dev/hdc2 extended 2321392+
/dev/hdc3 linux 20972857
/dev/hdc4 linux 33881085
/dev/hdc5 linux swap 2321361

What grub commands will give choice of debian while suse is starting to boot?
Thanks for any help
Don Parsons
dfp10@capital.net
dfp10 is offline   Reply With Quote
Old 09-28-2006   #8 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 1
Send a message via ICQ to sanchiro Send a message via Yahoo to sanchiro
can't read SATA drive

I am experiencing the same "Error 18: Selected cylinder exceeds maxiumum supported by BIOS" message.

My dilemma is my drive, an SATA is too big for the BIOS to recognize. It was installed when my machine booted off an IDE drive which contained the drive translation code, compliments of Maxblast (it's a Maxstor drive). This would fool the old BIOS, and then the SATA would load up after booting off the IDE drive.

Now though, I want to remove the IDE drive and boot up, but can't. My new BIOS chip arrives tomorrow (we tried but could not flash update it), and hopefully this will resolve it, but is there some other way?
sanchiro is offline   Reply With Quote
Old 10-31-2006   #9 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 1
Quote:
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).

Try an update for your BIOS and/or move your boot partition to the front (or at least into the appropriate range).
Please forgive my ignorance, but how would I move the boot partition? I have a single OS install of Open Solaris 10 and it gives me the error whenever I try to load the Normal OS or the failsafe version.
gtsjames is offline   Reply With Quote
Old 10-31-2006   #10 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,058
Send a message via Yahoo to devils casper
Quote:
Originally Posted by gtsjames
Please forgive my ignorance, but how would I move the boot partition? I have a single OS install of Open Solaris 10 and it gives me the error whenever I try to load the Normal OS or the failsafe version.
you can use GParted to move partitions. before doing that, visit websitre of your MotherBoard's manufacturer ans check latest version of BIOS. in case, your machine BIOS is older, upgrade it.....



casper
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:56 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2