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.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Slackware Linux Help > GRUB Error 17..

Forgot Password?
 Slackware Linux Help   For help and Discussion about Slackware linux

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 01-26-2006   #1 (permalink)
Just Joined!
 
Join Date: Apr 2005
Location: Michigan
Posts: 49
GRUB Error 17..

I've installed Slackware 10.1 on my old box (Pentium 233/128MB RAM/10GB HDD).

I created the partitions and installed everything default. It says it's all installed and I just need to reboot, I reboot, and when it loads up it says:

Code:
Verifying DMI Pool Data .......
Boot from ATAPI CD-ROM :  Failure ...
GRUB Loading stage 1.5.

GRUG loading, please wait...
Error 17
At which point it stops, and does nothing.

I've searched and found that this is linked to GRUB not being able to select the partition to boot? I haven't found anything regarding this matter when installing Slack, so.. does anyone have any idea on how I can fix this?
septor is offline  



Reply With Quote
Old 01-27-2006   #2 (permalink)
Just Joined!
 
Join Date: Jan 2003
Posts: 26
You can find the formal documentation for GRUB here:

http://www.gnu.org/software/grub/manual/html_node/

Error 17 claims that the partition that you're attempting to boot is of a format that GRUB does not recognize.

Make certain that:
-The GRUB configuration file points to the correct device AND partition.
-Make certain that the partition on the device is formatted and of a format that GRUB can read (such as EXT3).
Nephroth is offline   Reply With Quote
Old 01-27-2006   #3 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Using a livecd such as Knoppix or Mepis, could you post the contents of your /boot/grub/menu.lst and the result of "fdisk -l".
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Old 02-03-2006   #4 (permalink)
Just Joined!
 
Panzer General I's Avatar
 
Join Date: Feb 2006
Posts: 4
Find a blank floppy disk.

Find this two files from internet(google):

grub.img
rawrite.exe

if you are using MS windows:

Write grub.img to a blank floppy disk using rawrite.exe.

Reboot your computer with this floppy.

And enter this command:
grub> find /boot/grub/stage1

It gives the result like this:
(hd0,5)

Put it in this command:
grub> configfile (hd0,5)/boot/grub/grub.conf
and hit enter.

If it is ok, linux on your partition will boot.

Then from your linux command console, type this as root(su root) to install GRUB to MBR(Mastr Boot Record) of the first IDE harddisk drive:
grub-install /dev/hda

or wherever you want to install it.

And reboot.
Panzer General I is offline   Reply With Quote
Old 02-01-2007   #5 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,279
Hi Panzer General I,

Googling brought me to this thread. I got the same problem after installing Slackware 11.0

On reboot by pressing [Ctrl]+[Alt]+[Del] it failed to boot hanging on;

GRUB Loading stage1.5
GRUB Loading please wait
Error 17

I further discovered grub not installed yet as follow.

Booted up the PC with a LiveCD. On terminal:

# fdisk -l
/dev/sda1 *
/dev/sda2 /
etc.

# mount /dev/sda1 /media/sda1
# ls /media/sda1
README.initrd
System.map-ide-2.4.33.3
System.map
config
config-ide-2.4.33.3
diagl.img
vmlinuz
vmlinuz-ide-2.4.33.3

grub not installed.

I have to find grub.img and get it installed there. I think I can find it and rawrite.exe on Internet. Another problem is this PC does not have floppy drive.

Any suggestion? TIA


B.R.
satimis
satimis is offline   Reply With Quote
Old 02-01-2007   #6 (permalink)
Linux Newbie
 
Join Date: Jan 2007
Posts: 110
In septor's case I would recommend boot up a Linux Live CD and use it to post the output of "fdisk-l" as well as /boot/grub/menu.lst of Slackware here. The former tells us your partitioning scheme and the latter tells us how Grub boots Slackware.

Panzer General I information is very useful and definitely worth to get one made. However I tbelieve only the Red Hat family distro use grub.conf while overwhelmingly other distros stick with the standard Grub configuration file menu.lst. The two if exist are of course symbolic-linked. Also Grub bootable floppy can be "sourced" from any Live CD that supports Grub and the standard method of making one in described in Chapter 3.1 of Grub Manual.

Satimas should be please to know the good folks at GNU/Grub have thought of him and in Chapter 3.4 of Grub Manual the method to produce a bootable Grub CD is given.

I am a bit sceptical about Satimas assertion that Grub has not been installed. If this is the case it wouldn't be possible for him to get a Grub error 17, would it?

Slackware is a die-hard devotee to Lilo and all my Slackware including V11 have only Lilo and no Grub. I have to build Grub into Slackware by following Appendix A of the Grub Manual and reasonably certain its configuration file would be called menu.lst.

Grub if installed properly always resides in /boot or /boot/grub and must have stage1, stage1.5 and stage2. If menu.lst isn't there or defective Grub will default to a Grub prompt.

As far as I am aware there is no PC system Grub cannot boot with a Grub prompt.
saikee is offline   Reply With Quote
Old 02-02-2007   #7 (permalink)
Linux Engineer
 
Join Date: Sep 2004
Posts: 1,279
Hi saikee,

Quote:
I am a bit sceptical about Satimas assertion that Grub has not been installed. If this is the case it wouldn't be possible for him to get a Grub error 17, would it?

Slackware is a die-hard devotee to Lilo and all my Slackware including V11 have only Lilo and no Grub. I have to build Grub into Slackware by following Appendix A of the Grub Manual and reasonably certain its configuration file would be called menu.lst.
At time of installing Slackware I did not recognise LILO being its default bootloader. It asked whether to install LILO with no other choice-Grub. I did not select LILO and it came to the present situation.

Any suggestion to install LILO back to Slackware rather than to reinstall the complete OS. TIA


B.R.
satimis
satimis is offline   Reply With Quote
Old 02-02-2007   #8 (permalink)
Linux Newbie
 
Join Date: Jan 2007
Posts: 110
Satima,

You can continue with getting Grub fixed or switch back to Lilo. Think the latter may be slightly quicker whereas with the former you may learn the complete process of building Grub on a distro.

You need a Live CD to do both.

If Slackware's root partition say is in hda6 you can make a directory to mount it on /mnt of the boot-up Live CD Linux, change root to Slacakware (to be inside it) and do a "liloconfig"
Code:
mkdir /mnt/tmp
mount /dev/hda6 /mnt/tmp
chroot /mnt/tmp
liloconfig
Remeber to exit back to the boot-up Linux on completion.

The above can be done with any Live CD.

Alternatively Slackware's own installation can be run again and navigate to the menu with which you can install Lilo.

Mind you Slackware's installer uses liloconfig same as you do with a Live CD and liloconfig can frequently return "installation fail". You may still need to do a bit of work but to repair Lilo is trivial once you know how to mount it, change root to it, to edit its lilo.conf and re-validate Lilo as often as you want.

If you are still interested to repair Grub let us know.
saikee 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 03:22 PM.






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

Content Relevant URLs by vBSEO 3.3.1