LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-14-2008, 11:11 AM   #1
robertwitham
LQ Newbie
 
Registered: Aug 2008
Location: Upstate NY
Distribution: DSL / Debian
Posts: 1

Rep: Reputation: 0
GRUB Problems - Error 15


Hello. Linux newbie here... I have searched previous posts about GRUB problems and most seem to center around dual boot systems. I have tried explanations found there without success. Hopefully someone can point me in the right direction here. Hopefully...

Some quick background: I had Windows XP installed on a 40GB HD / 1GB RAM desktop. I attempted to install Ubuntu but failed midway through the process. The result was that nothing would boot. No problem though because I backed up all data and was sick of Windows anyway.

I have a Live Linux CD (DSL-N) that actually works with my wireless card! I installed DSL-N to my hard drive as a temporary measure. Everything works fine. Wonderful! I then purchased Linux Bible (2008 Edition) with some 16 distros included on disc. However, despite the fact that the discs are supposed to autorun upon booting the computer, my computer checks the CD drive and then boots up DSL-N. Ugh!

I have reformatted the entire hard drive using fdisk, created a single partition (hda1), and run mkfs and fsck successfully. Attempting to boot the computer now results in a GRUB error.

GRUB Loading stage1.5
GRUB loading, please wait...
Error 15


And then the computer hangs and nothing happens... The computer will not pick up the CD from Linux Bible. If I place the DSL-N Live CD in the CD drive I can boot into that without problem.

I attempted an fdisk /MBR as I read somewhere but this returns the message:
Unable to open /MBR

The best I can figure is that I need to completely remove GRUB from BIOS to be able to boot anything other than my DSL-N Live CD. Is this correct? How do I accomplish this?

I would like to install Debian off the CD that was included with the Linux book. I do not have a Windows disk and really have no interest in reinstalling Windows anyway.

Thanks in advance for any help on this problem.
 
Old 08-14-2008, 11:27 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Install a distro first...and its grub to mbr
That is all.

In the BIOS keep the boot order as
1.CDROM
2. hd0
3. hd1 etc

If there is no cd in the drive, the 1st hard disk will be booted.
 
Old 08-14-2008, 11:49 AM   #3
kylibar
LQ Newbie
 
Registered: Aug 2008
Posts: 12

Rep: Reputation: 0
Wink this should help :)

i had the same issue once

Last edited by kylibar; 08-14-2008 at 11:56 AM.
 
Old 08-14-2008, 01:11 PM   #4
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,111

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
You had DSL installed and then re-formatted, did you re-install DSL? It could just be a bad disk from Linux Bible, check it in another computer if you can. Grub can't find a file to boot, error 15. The fdisk /mbr command is to restore windows to master boot record. Do you still have windows installed? Grub isn't in the BIOS. Your computer does the POST and then looks to the mbr for the start of a bootloader. If you have your computer set to boot first from CD and the CD doesn't boot, the CD is probably bad if you can successfully use other CD's. Try the CD in another computer.
 
Old 08-14-2008, 02:00 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
Quote:
I have reformatted the entire hard drive using fdisk, created a single partition (hda1), and run mkfs and fsck successfully. Attempting to boot the computer now results in a GRUB error.
When you did that, you removed ALL operating systems. The first stage of grub is still in the MBR (the boot sector of the hard drive), but the rest of grub no longer exists. So, boot hangs and you get error 15.

From Solving Boot Problems with Grub - 2nd Edition:
Quote:
Grub Error 15 : File not found
This error is returned if the specified file name cannot be found,
but everything else (like the disk/partition info) is OK.
Grub is telling you that the partition is OK, but it can't find the specified file (the next stage of grub) to continue booting.

Since the CDs from the book don't boot, but your DSL livecd does boot, you can only conclude that the CDs from the book are defective is some way: either scratched, or boot script not working, something is not working as it should. Either that or they are not intended to boot. Perhaps you are supposed to copy the iso from the cd, then burn it to cd. Even if it isn't supposed to work that way, you should be able to copy the cd to disk, then make an iso to burn to disk, keeping in mid the issue of md5sums (see the last paragraph).

Running fdisk /MBR is pointless since you don't have windows installed now that you have formatted the drive.

To install Debian you need a disk that boots from the cd drive. If the disk from the book doesn't work, I's suggest that you install DSL (sincd the partition is formatted for Linux). Then download the Debian iso and burn it to cd (don't forget to compare the md5sum of the downloaded iso with the md5sum at the site you download from). Then use that to install Debian. The same applies to any other distro you choose to try.
 
Old 08-14-2008, 03:54 PM   #6
abhi_69
LQ Newbie
 
Registered: Jul 2008
Location: Bangladesh
Distribution: Ubuntu
Posts: 28

Rep: Reputation: 15
install any linux version from CD.
GRUB installs in MBR. this can solve ur problem.
no need to re-install windows. u r right!
we r all tired of windows & linux shows us a new way...

i think the 1st solution of ur post by amani is best.
try like this.
 
  


Reply

Tags
dsl, dsln, error, grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 9 and Grub error 2 problems billymayday Fedora 16 06-12-2008 02:26 AM
Grub problems. Error 21 herculesksp Linux - General 3 06-07-2007 01:56 PM
more Grub error 15 problems caulfiek Suse/Novell 2 06-28-2006 03:07 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
Grub Error 17 & more problems biglaz Linux - General 1 02-02-2004 02:27 AM


All times are GMT -5. The time now is 01:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration