Computer won't boot up for some reason, Grub Error 18.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Computer won't boot up for some reason, Grub Error 18.

Postby g0lrk on Thu May 29, 2008 6:09 pm

Running Daryna and came to switch on and it reported that it had a Grub error 18.
After Googling this seems to come back as a problem with the size of disk that the bios can handle!
Cannot understand this as it has been running OK for a while so cannot be that?
Wondering what else.
Here's my menu.lst:
Code: Select all
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
default      0

gfxmenu=/etc/grub/message.mint

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,0)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,1)
# kernel   /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hdb1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## ## End Default Options ##

title      Linux Mint, kernel 2.6.22-14-generic
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro quiet splash
initrd      /boot/initrd.img-2.6.22-14-generic
boot

title      Linux Mint, kernel 2.6.22-14-generic (recovery mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.22-14-generic root=/dev/hdb1 ro single
initrd      /boot/initrd.img-2.6.22-14-generic
boot

title      Linux Mint, kernel memtest86+
root      (hd0,0)
kernel      /boot/memtest86+.bin
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

-----------------------------------------------------
Here's my fstab:
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hdb1
UUID=ab000aa2-8af6-4d28-b47d-bbc63c7eac54 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hdb5
UUID=f2e29e50-30a3-4178-a730-a4c482812ed6 none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0


Hope they help.
Many thanks indeed, Kevin.
User avatar
g0lrk
Level 3
Level 3
 
Posts: 128
Joined: Wed Jun 27, 2007 10:43 am
Location: A tiny planet somewhere!

Linux Mint is funded by ads and donations.
 

Re: Computer won't boot up for some reason, Grub Error 18.

Postby 67GTA on Thu May 29, 2008 10:14 pm

That's usually not good. Have you messed with any partitions lately? Try reinstalling grub with a live CD. Open a terminal and run
Code: Select all
sudo grub
Then
Code: Select all
root (hd0,0)
And then
Code: Select all
setup (hd0)
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: Computer won't boot up for some reason, Grub Error 18.

Postby g0lrk on Fri May 30, 2008 6:54 am

67GTA Many thanks indeed that's sorted everything out!
No I haven't been messing with any partions it just happened!
What I did do I'll come clean here it is:
I got given two removable bays so I thought what the 'eck I'll fit them today, [yesterday]
So I made room and physically fitted them and placed the hard drives in them and that's when the problem arrived.
So I thought sod it and removed them and went back to how it was but it still wouldn't work!
Somehow with fitting them it went wrong.
I had my wife checking that no jumpers had come off the the drives physically, they hadn't, so I was at a loss.
But with re-installing grub as you suggested all was well again.
My wife also checked that the ide cable was fitted correctly both times also.
I explained in a previous post that I have a problem with my eyesight in case you are wondering why I am making a big deal of getting my wife checking things for me!
OK there you are I have repented all my sins.......
Thanks again though.
Kevin.
User avatar
g0lrk
Level 3
Level 3
 
Posts: 128
Joined: Wed Jun 27, 2007 10:43 am
Location: A tiny planet somewhere!


Return to Installation & Boot

Who is online

Users browsing this forum: CedLin and 10 guests