LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-08-2005, 03:56 PM   #1
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Rep: Reputation: 15
GRUB loading Error 17


Hi!

I am a newbie and I realize I have probably dived in at the deep end with this and I need some help swimming.

I used SuSE before, but people kinda kept telling to get a Real Distro. So today, after only having used Linux for two weeks, I made an attempt to install Slack. The installtion process sure is different, heh.

I got till the end, however, having made the partitions and selected things to install and watched it install a lot of stuff that I don't understand, and then I got the instructions to exit the setup and reboot with ctrl alt del. I did that and now I get this at startup

GRUB Loading stage 1.5.
GRUB loading, please wait...
Error 17

And then nothing happens. I have no idea what this means!

I am using Slax to get online now, really grateful for live cds...

Any and all help would be greatly appreciated!

Last edited by cmlal; 11-08-2005 at 04:00 PM.
 
Old 11-08-2005, 05:03 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
List out the content of

typing command fdisk -l at root terminal

and the files for the Slack's

/boot/grub/menu.lst

/etc/fstab

here. I thought Slackware use Lilo by default, what version are you using?

The above files will tell us your partition scheme, Grub's boot control file and the partition Grub has been order to mount.

Error 17 in Grub is "Cannot mount selected partition"
 
Old 11-08-2005, 05:29 PM   #3
cmlal
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu 5.10
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks so much for your helpful advice!

I chickened out though and went back to SuSE. (I'm probably going to give Slack another try a bit further down the line. For now I just need a working computer.) I think maybe I know what I did wrong though. I think I forgot to mount the partitions. Will definitely remember that the next time.
 
Old 11-08-2005, 05:40 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You can add as many distros to you box as you like. All you need is about 5Gb hard disk space per distro. I have 50+ systems and about 42 of them are Linux.

No need to chicken out just add one distro whenever you have time. Grub can boot the whole lot.
 
Old 11-12-2005, 07:46 AM   #5
LightOfErindir
LQ Newbie
 
Registered: Apr 2005
Location: Mumbai
Distribution: elx1.0 (derivative of RH9)
Posts: 4

Rep: Reputation: Disabled
I'm having very similar problem...here r the details....

I'm trying to install Slackware 10.1 on my other machine. It does NOT have Windoze.

Distro: Slackware 10.1 (4CD - 2CD bin, 2CD sources)

Processor: p4 1.6 Ghz 32 bit
Motherboard: Intel 845 GLAD
Samsung 40 GB HDD (IDE)
Samsung CD R/RW drive
USB mouse and Keyboard.

The HDD is partitioned like this:
/dev/hda1 ---> ext3 ----> / (6GB Approx)
/dev/hda2 ---> ext3 ----> /home (15GB Approx.)
/dev/hda3 --->swap ---->swap (300 MB Approx. )....128 MB physical RAM.

The Problem:
The PC hangs at GRUB prompt and beeps the motherboard speaker continuously. It does not respond to KBD.
Before that it installs all the packages without problem.

I've tried to disable hotplug but it still hangs.

HELP NEEDED desparately...
 
Old 11-12-2005, 08:31 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
LightOfErindir,

The standard method to get inside an unbootable Linux is either by its installation CD or boot it up to a Live CD.

In both case you need to boot up a kernel in command shell, mount the distressed distro and change root to it. Say if you boot to a Live CD or Slackware installation CD and in bash shell (your / partition of Slackware is hda1)

mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1

If the above works you should see the command prompt sign changes slightly, signifying you are now inside the distressed Slackware.

You can then try to replicate the boot loader in the MBR again or in a floppy by stataement

grub-install /dev/hda<---- hda means whole disk
grub-install /dev/fd0<----- enable you to boot from a floppy

However if the boot loader has not been installed properly your /boot/grub/menu.lst may not be complete and the above could only boot up a defective Grub unable to pull Slackware up. The cure to this depends on how bad a state Grub is in.

You can list Slackware's /boot/grub/menu.lst here

Your Slackware 10 should be bootable if the /boot/grub/menu.lst has the following entries

title Slackware
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro

------------------------------------------------------------------

As you haven't seen Slackware boot loader I have a bad feeling that you may not know what Grub looks like because Slackware comes standard with Lilo as the boot loader. I personally downloaded Grub 0.97 and installed it in the last two versions of Slackware. If your Slackware does have a Lilo then it should boot if its /etc/lilo.conf has these entries

image=/boot/vmlinux
root=/dev/hda1
label=Slackware

If everything fails then I would go for a re-install
 
Old 11-15-2005, 09:59 AM   #7
LightOfErindir
LQ Newbie
 
Registered: Apr 2005
Location: Mumbai
Distribution: elx1.0 (derivative of RH9)
Posts: 4

Rep: Reputation: Disabled
Problem solved...i forced LILO to install in MBR...now it's booting fine...but there's another prob....X server won't start....it says inetd socket not found....i checked that inetd was running...wat can be the prob?
 
Old 11-27-2005, 12:03 PM   #8
rinkrat248
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
I did an installation of Slackware 10.2 w/ no X-Windows. I was prompted to setup LILO during the installation and did so. /etc/lilo.conf looks fine.

When I try to boot up from the hard drive it says the same GRUB loading error described above. When I look for /boot/grub/ the folder is not found.

This seems to be some kind of problem with the installation script eh?
 
Old 11-27-2005, 12:29 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The standard command to fire up X-windows is to type

startx

at the terminal. If X-windows has been installed then there is nothing we can do. If X-windows didn't fire up due an error then it is a matter to amend xorg.conf which is stored in /etc/X11 directory.
-------------------------------------
rinkrat248

If you make a Grub floppy unattached to an operating system, described in Chapter 3.1 of Grub Manual using just a Live CD that supports Grub like Ubuntu or Mepis, then you can boot up this floppy and fire up Slackware manually using these lines

root (hdi,j) <-----i=disk No., j=partition No. and Grub counts from 0
kernel /boot/vmlinuz ro root=/dev/hdxy <-------- suppy hdxy as the root partition of Slackare
boot

That is the way I boot up my Slackware 10.1 and 10.2 after the installation.

Grub floppy gets you into a Grub prompt. You can ask Grub to find out where Slackwar stores the kernel by typing

find /boot/vmlinuz <--- Grub will tell you which (hdi,j) got it

Once you fire up Slackware install Lilo again by typing at the terminal

lilo -b /dev/hda
 
Old 11-27-2005, 03:45 PM   #10
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
i have had this problem for ages...
either an error 17 or 15, (it changes depending on mood)
the cox is fully useable... i just have to boot with a boiot floppy and it woirks fine
kinda anoying but bearable
 
Old 11-27-2005, 04:39 PM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
dasy2k1,

Look once you boot up the Linux just restore its boot loader into MBR using

grub-install /dev/hda for Grub

lilo -b /dev/hda for Lilo

and no need to use the floppy any more. What is annoying?
 
Old 11-28-2005, 01:44 PM   #12
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
hmmm i tried
thge lilo option but now when i boot my machine
it dousent recognise my hard drive at al...
and when i try with the boot disk i get the folowing:

VFS: Cannot open root device "hda1" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01


i then tryed specifying the following parameters at the boot: prompt

mount root=/dev/hda bare.i
giving the same result.

what should i try now?
 
Old 11-28-2005, 03:00 PM   #13
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
well i halted my machine for a while and tehn started itr again and lo and behold the HDD was recognised again!

seems that this machine has a habit of this as i remember a simmaliar thing happenning when it still ran Windowz 98 SE

now i get lilo when i start and the annoying bootdisk is out of a job!
for some starnge reason though ttl1 has an image of tux sitting at the top and all text is so minute that you can barley read it! no good if you dont want to use x (using ttl2 works fine though)
 
Old 11-28-2005, 03:17 PM   #14
crapodino
Member
 
Registered: Aug 2005
Distribution: SuSE 10
Posts: 72

Rep: Reputation: 15
please!!!!!!!!!!!

i had windows. then i installed suse 10 with grub in mbr. I works perfectly for a week. Today i did an "disk optimicer" from Norton System Wotks in a windows partition and when i restart the pc i have the grub error 17.

I don't have any rescue disk. I only have suse 10 cds

please...i really need to solve this problem
 
Old 11-28-2005, 03:23 PM   #15
crapodino
Member
 
Registered: Aug 2005
Distribution: SuSE 10
Posts: 72

Rep: Reputation: 15
i didn't change nathing but the optimittation disk!!!

i can't believe it!
 
  


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 Loading, Please Wait......Error 18 Braytac Linux - Hardware 19 06-16-2013 02:16 AM
Error after loading Ubuntu from GRUB rapaport Ubuntu 7 06-09-2008 05:27 AM
GRUB Loading stage2Geom Error fr0zen Linux - Software 2 07-27-2005 11:04 AM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 08:27 PM
GRUB loading stage2Read Error SparceMatrix Linux - General 8 06-10-2003 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 06:41 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