Grub error 15

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

Grub error 15

Postby yxuminei on Sat Aug 15, 2009 12:23 pm

Hi,

I am having problem logging into mint =/, everytime I choose mint on OS selection I get

grub error 15 file not found.

I checked menu.lst and everything seems to be correct, my setup is as follow:
Code: Select all
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4b51c75f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1020     8192000   1c  Hidden W95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2            1020       16221   122098688    7  HPFS/NTFS
/dev/sda3           16221       28500    98630648    7  HPFS/NTFS
/dev/sda4           28501       30402    15277815    f  W95 Ext'd (LBA)
/dev/sda5           28501       28630     1044184   82  Linux swap / Solaris
/dev/sda6           28631       29127     3992120   83  Linux
/dev/sda7           29128       29152      200780   83  Linux
/dev/sda8           29153       30401    10032560   83  Linux



boot up using liveCD and here are 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-legacy-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.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      1   

## Graphical boot menu location
gfxmenu=/boot/gfxmenu/linuxmint.message

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

hiddenmenu

# 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/sda9 ro

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

## 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

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

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

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title      Linux Mint 7 Gloria, kernel 2.6.28-14-server
root      (hd0,7)
kernel      /vmlinuz-2.6.28-14-server root=/dev/sda8 ro quiet splash
initrd      /initrd.img-2.6.28-14-server
quiet

title      Linux Mint 7 Gloria, kernel 2.6.28-14-server (recovery mode)
root      (hd0,7)
kernel      /vmlinuz-2.6.28-14-server root=/dev/sda8 ro single
initrd      /initrd.img-2.6.28-14-server

#title      Linux Mint 7 Gloria, kernel 2.6.28-11-generic
#root      (hd0,7)
#kernel      /vmlinuz-2.6.28-11-generic root=/dev/sda8 ro quiet splash
#initrd      /initrd.img-2.6.28-11-generic
#quiet

#title      Linux Mint 7 Gloria, kernel 2.6.28-11-generic (recovery mode)
#root      (hd0,7)
#kernel      /vmlinuz-2.6.28-11-generic root=/dev/sda8 ro single
#initrd      /initrd.img-2.6.28-11-generic

title      Linux Mint 7 Gloria, memtest86+
root      (hd0,7)
kernel      /memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title      Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
#title      Windows Vista RECOVERY (loader)
#rootnoverify   (hd0,0)
#savedefault
#chainloader   +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title      Windows Vista
rootnoverify   (hd0,1)
savedefault
chainloader   +1


The content of /boot partition is
Code: Select all
abi-2.6.28-11-generic         lost+found
abi-2.6.28-14-server          memtest86+.bin
boot                          System.map-2.6.28-11-generic
config-2.6.28-11-generic      System.map-2.6.28-14-server
config-2.6.28-14-server       vmcoreinfo-2.6.28-11-generic
gfxmenu                       vmcoreinfo-2.6.28-14-server
grub                          vmlinuz-2.6.28-11-generic
initrd.img-2.6.28-11-generic  vmlinuz-2.6.28-14-server
initrd.img-2.6.28-14-server


When installing, I put /boot as a separate partition, in this case it's /dev/sda7.

Anyone would like to help me on this? I've been scratching my head for hours on this and still no light =/
yxuminei
Level 1
Level 1
 
Posts: 3
Joined: Sat Aug 15, 2009 12:14 pm

Linux Mint is funded by ads and donations.
 

Re: Grub error 15

Postby lagagnon on Sat Aug 15, 2009 3:21 pm

The output of fdisk -l (first listing) shows that none of your partitions has a boot flag! Perhaps that is the problem? You can fix it by running gparted from a Live CD.
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Grub error 15

Postby yxuminei on Sat Aug 15, 2009 8:09 pm

Ok I managed to get it working =D, thank's to those who helped.

That's weird, I thought I saw 2 repliers just this morning.

Anyway thank's :mrgreen:
yxuminei
Level 1
Level 1
 
Posts: 3
Joined: Sat Aug 15, 2009 12:14 pm

Re: Grub error 15

Postby Fred on Sat Aug 15, 2009 10:28 pm

yxuminei,

Glad you got it fixed. Yes, there was another reply. :-) I took a second look at my post and realized there was an error in it and I needed to add something too. I was in a hurry so rather than leave it up and possibly mislead you and others I just deleted the post. Sorry if I confused you. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 14 guests