LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2011, 10:46 AM   #1
jsym12
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Problems clearing ERROR 15 from grub


Hi-
I've tried to solve this on my own but am running into issues. I am using Ubuntu 10.10 dual booted with windows vista. My boot is in a separate partition (sda5). My computer told me that there was limited space on that partition so I tried to clean things up using apt-get by removing old kernels. Turns out I didn't do it correctly because I consistently get an 'ERROR 15' when I shut down and rebooted my computer. I have a live-CD USB-stick so I tried reinstalling grub, (grub-install) updating the menu.lst (update-grub), and manually going through menu.lst and changing to root=(hd0,4) and groot=/dev/sda6

but I still get this ERROR 15 when I reboot.

when I do
sudo grub
find /boot/grub/stage1
find /boot/stage1


both give me an ERROR 15 message and I'm not sure how to proceed with a diagnosis.
When I ran update-grub, occasionally it used to tell me that /etc/fstab may be incorrect but (1) it doesnt tell me that anymore and (2) I dont know how to fix fstab

Here is fstab

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda6
UUID=a7a3dd56-b14a-493d-adcc-8379aa3aed9c /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=56b6628c-4a18-43d6-95f4-8b50dd1e1d2e /boot           ext3    relatime        0       2
# /dev/sda7
UUID=5d9497bb-2d3f-4ec3-b3a1-8f7b72645477 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
Here is menu.lst
Code:
title           Ubuntu 10.10, kernel 2.6.35-27-generic
uuid            56b6628c-4a18-43d6-95f4-8b50dd1e1d2e
kernel          /vmlinuz-2.6.35-27-generic root=UUID=a7a3dd56-b14a-493d-adcc-8379aa3aed9
c ro quiet splash 
initrd          /initrd.img-2.6.35-27-generic
quiet

title           Ubuntu 10.10, kernel 2.6.35-27-generic (recovery mode)
uuid            56b6628c-4a18-43d6-95f4-8b50dd1e1d2e
kernel          /vmlinuz-2.6.35-27-generic root=UUID=a7a3dd56-b14a-493d-adcc-8379aa3aed9
c ro  single
initrd          /initrd.img-2.6.35-27-generic
Here is /boot/grub (note that stage 1 does exist!) ( this is /dev/sda5)
Code:
root@ubuntu:/# ls /boot/grub/
default        fat_stage1_5       jfs_stage1_5  minix_stage1_5     stage2
device.map     grubenv            menu.lst      reiserfs_stage1_5  xfs_stage1_5
e2fs_stage1_5  installed-version  menu.lst~     stage1
Here is my problem
Code:
grub> find /boot/grub/stage1

Error 15: File not found

grub> find /boot/stage1    

Error 15: File not found
I guess my main question is, if stage1 can't be found, what does that mean? what should I do next? Thanks
 
Old 03-04-2011, 10:52 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Ubuntu10.10 uses grub2. Do you have cd?
http://karuppuswamy.com/wordpress/20...rescue-prompt/
 
1 members found this post helpful.
Old 03-04-2011, 11:00 AM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
I think that Error 15 means "Can't find bootable Image"
Does
Code:
update-grub
show any found images at all? If not... Error 15

And, as Eddy1 above, Ubuntu 10.10 uses Grub2. Try googling "Grub2 Ubuntu", there's a very good "howto" sort of page among the Ubuntu Info.

Play Bonny!
 
1 members found this post helpful.
Old 03-05-2011, 09:53 AM   #4
jsym12
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hi
Thanks for all your replies. After I wrote that, ( I was on ubuntu through the live-CD) I rebooted and everything magically worked. :/ My (uneducated) guess is that the reboot before that I had tried to do grub-install, but I did not do update-grub. That had the effect that I couldn't even get the error-15 error and I had to restore a menu.lst that I had saved. I'm not sure, but I think it was looking for "hda" when all my partitions are "sda".
When I rebooted, wrote this message on this forum, I did update-grub and grub-install and allowed them to rewrite anything they wanted (namely menu.lst). I also used this command
Code:
sudo mount -o bind /dev /mnt/root/dev
before I tried to do 'grub-install'.
(basically from here : http://ubuntuforums.org/showthread.php?t=224351)
Something about this worked. Again, thanks all.
 
Old 03-05-2011, 10:41 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If solved mark as solved so others who are experiencing same problem can find answer to their problem.
 
Old 03-07-2011, 02:04 PM   #6
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
@ EDDY1
Very useful! Now in my "Linux Log Book," It's allowed me to recover my Ubuntu 10.10 desktop and hopefully gain access to my other installed Distros; Fedora 15 and Centos 5. Installing the latter overwrote the MBR in the first place.

Cheers ED!

Play Bonny!
 
  


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 Problems - Error 15 robertwitham Linux - Newbie 5 08-14-2008 02:54 PM
ever had problems clearing konqueror's history? -=Graz=- SUSE / openSUSE 2 09-22-2006 04:52 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
Need help clearing up error messages with modules Zander Linux - General 8 02-17-2004 09:36 AM
Problems clearing Konsole history sergeantroach Linux - Software 2 11-01-2003 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 PM.

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