LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2005, 07:54 PM   #16
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 boot loader boot a system according to it location in the hard disk. If the partition starting point has changed then the system won't boot.

You should be able to use Suse's disk to restore the boot loader. Yast is the program that handles it, assuming the two systems have been damaged by the optimiser..
 
Old 03-11-2006, 11:48 AM   #17
dayweed
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Hello. I'm from Sweden..

I have WinXP Home Edition on C: and Ubuntu on D: .. But I can't get to WinXP because I got the grub error 17 message.
I don't know what do to know, because I'm newbie in Linux.. I wanted to have 2 OS on the computer.. But now I only want WinXP..

I don't really know what I have done but here is little information

Device Boot Id System
/dev/sda1 b W95 FAT32
/dev/sda2 Id HPPS/NTFS
7


Device Boot Id System
/dev/sb1 * 83 Linux
/dev/sb2 5 Extended
/dev/sb5 82 Linux swap / Solaris

As I said.. I think I install ubuntu on the second hard drive.. Because I have WinXP Home on the first one.. Please help me. :/
 
Old 03-13-2006, 05:33 AM   #18
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
dayweed,

Your problem is mostly related to XP installed as the first bootable disk (hd0) and is now ran as the second bootable disk (hd1) after Ubuntu has taken over as the first bootable disk.

To get a correct information of your setting please post here the content of the command
Code:
fdisk -l
The "l" in "-l" is a small "L". The above will tell us your disk partitions and ordering as recorded by the PC Bios.

While in Ubuntu post its /boot/grub/menu.lst here too so that we could advise how to amend it to boot your XP.
 
Old 03-13-2006, 03:02 PM   #19
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
. . .but people kinda kept telling to get a Real Distro.
Always ignore the priesthood, regardless of the topic. Life becomes more saner when you ignore the priesthood.

Quote:
I used SuSE before
This is where GRUB originally got installed to your hard drive's MBR (master boot record).

The error messages are a result of Slackware never offering you the option to install GRUB. When you installed Slackware you either did not install the LILO boot loader or you did not install LILO to the MBR. Thus, the MBR still contains the old pointer to the previous location of the GRUB files, which no longer exist because you installed Slackware over your previous Suse installation.

For whatever reason, the Slackware maintainer does not want to support GRUB directly. However, GRUB can be installed and is available with the Slackware distribution. The following might help:

Installing GRUB

Quote:
I chickened out though and went back to SuSE.
Slackware is not an easy distro for total newbies. Do not be embarrassed. There are several areas where I believe Slackware could become more newbie friendly, but I am not the maintainer and do not possess the skills to fork the distro.

Quote:
The PC hangs at GRUB prompt and beeps the motherboard speaker continuously. It does not respond to KBD.
Same thing, you need to reinstall/install GRUB. See the above link.

Quote:
I have WinXP Home Edition on C: and Ubuntu on D: .. But I can't get to WinXP because I got the grub error 17 message.
In addition to the above link, see if the following helps:

Disk Partitioning
Multibooting Tips
 
Old 03-14-2006, 05:12 AM   #20
dayweed
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Hello!

I called Hp-support and got an link and now I have bought a re-install of Windows XP. Thanks for all the answers! Now I must wait until I get the CD in my postoffice.. I know HOW to install Ubuntu but not uninstall. You learn about your problems and never do it again as we say.
 
Old 03-23-2006, 07:56 AM   #21
dc42390
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
I installed fedora 5 on my hdb, and have winXP on hda, I told it to install grub to MBR of hda, and appearently it did, but every time I try to boot I get an error 17. I was forced to go back to suse 9.1...
 
Old 03-23-2006, 04:17 PM   #22
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
but every time I try to boot I get an error 17
According to the GRUB documentation, that error means GRUB cannot mount the selected partition and the error "is returned if the partition requested exists, but the file system type cannot be recognized by GRUB."

My first guess is that there is a syntax error in your GRUB menu.lst. This is important when using or not using a separate partition for the /boot file system.

By default kernels are installed to the /boot directory. By default GRUB gets installed into a subdirectory in /boot.

Many people do not use a separate /boot partition. Suppose I installed Slackware on a single partition rather than multiple partitions. My menu.lst entry might look something like this:

title Slackware 10.1 - 2.4.28-11 - KDE 3.3.2
kernel (hd0,0)/boot/vmlinuz-ide-2.4.28-11 root=/dev/hda1 ro hdc=ide-scsi vga=3 ide2=noprobe quiet

GRUB always begins counting with zero. Notice that GRUB is looking for the kernel on the first hard drive (0) on the first partition (0) in the /boot directory located on that partition.

Creating a separate /boot partition is common for people who install multiple distros. However, often they forget to edit menu.lst. For example, on my box I use a separate /boot partition and my GRUB menu.lst entry for Slackware looks like this:

title Slackware 10.1 - 2.4.28-11 - KDE 3.3.2
kernel (hd0,12)/vmlinuz-ide-2.4.28-11 root=/dev/hda23 ro hdc=ide-scsi vga=3 ide2=noprobe quiet

Notice that my separate /boot partition is located on the first hard drive (0) and on the 13th partition (12), but I no longer contain a reference in menu.lst to the /boot directory. This is because my /boot directory is in a separate partition and no such directory exists on that partition. Treating /boot as a unique directory in the overall directory tree occurs through fstab and mounting.

Important to notice is that the kernel directive in menu.lst is relative first to the partition in which GRUB is installed and then relative to the directory. Because the /boot partition and directory are one and the same, there is no need to specify the /boot directory in the second example.
 
Old 05-22-2006, 09:41 AM   #23
matsli
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Hi, found this thread very usefull, hereafter what I did to solve my grub error 17.

Error description
boot loader doesn’t bring up the OS menu, but an error 17 instead

Cause
Grub doesn’t recognise the filesystem. In this case, running a partitioning software from Windows had changed the numbering of the partitions:

Solution
An OS neutral Grub boot diskette was created as per the grub manual instructions in chapter 3.1. The grub boot diskette is used to start the PC, a grub prompt appears and the same instructions as in /boot/grub/menu.lst were given, one per line.
root (hd0,6)
kernel /vmlinuz-2.6.16-1-686 root=/dev/hda6 ro
initrd /initrd.img-2.6.16-1-686
boot
Once the system was booted, /etc/fstab and/boot/grub/menu.lst were updated and finally grub was reinstalled using grub-install /dev/hda.
Hope this helps, M
 
Old 08-22-2006, 09:11 AM   #24
Shifty102
LQ Newbie
 
Registered: Aug 2006
Location: The Netherlands
Posts: 1

Rep: Reputation: 0
Unhappy GRUB Loading stage 1.5, grub loading, please wait... error 17

HI, i have a problem, I decided i didn't want linux ubuntu any more, and i deleted the whole partiotion with partition magic in win XP.

Whenever I start the computer, it won't boot up, and says:

GRUB Loading stage 1.5.
grub loading, please wait... error 17

And then the pc just wont do anything!

I'm a real newb, so can someone plz help me out?
 
Old 08-23-2006, 05:12 AM   #25
matsli
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
Hi
Grub uses partition numbering to access different partitions on your hard drive. When destroying a partition, the partition numbering is affected, even if under Windows the drive letters remained the same. When grub tries to start an OS, it uses an outdated numbering which might lead to a wrong partition.

If this is the case, what you could do is read chapter 3.1 of the grub manual (3w.gnu.org/software/grub/manual/) to get an OS neutral grub boot diskette. Rebooting using this diskette will bring up a grub prompt.

To start Windows, you will need to enter typically the following instructions, one per line:

root (hd0,0)
savedefault
makeactive
chainloader +1

Replace (hdo,0) with the relevant partition number on your PC. If you don't know the numbering, you need to run an Linux from disk and use the command sfdisk -l to find the partition Windows uses as boot. Grub numbers from zero, so if your Windows is in the 3 partition on your first (only) hard drive, you would use (hd0,2).

Good luck

M

Last edited by matsli; 08-23-2006 at 05:25 AM.
 
Old 09-11-2006, 08:17 PM   #26
Desperada Stephania
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
grub loading error 17

Hi there,
I'm brand new using Linux, and unfortunatelly, my boss asked me to create a web server on Suse.
The point is that everything has been working fine for a couple months, until I decided to reboot my computer today. And there comes trouble again, as if it wasn't a pain to install this whole server already...

The computer doesn't reboot and I didn't back up the computer for a while.

Can you guys let me know exactly what I should do? I really don't want to start everything again!

I went on the chapter 3.1 of the help, unfortunatelly, it didn't really help me, I don't understand what they are talking about... I'm sorry, I really don't know much about all this, and I'm a girl, which doesn't help my situation, lol...

I only have Suse on that computer. If one of you guys could tell me what to do it would be great!

Thanks

La Desesperada Stephania
 
Old 09-14-2006, 02:03 PM   #27
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
La Desesperada Stephania

There is nothing in your post to tell us if you have re-installed Suse or not.

Assuming you haven't then your Suse can always be rescued if there isn't a hardware fault like a hard disk failure.

The simplest way is to use a bootable Grub floppy as you can use it to find out the partition details using "geometry (hd0)" command. Find out which partition has the Grub menu file by "find /boot/grub/menu.lst" and boot it manually using the "configfile" and "boot" commands, all described in the Grub Manual.

The bootable floppy can be made according to the Section 3.1 of the Manual. You need access to the stage1 and stage2 files from Grub and this can be found in any Live CD that supports Grub, like Kanotix, Ubuntu and Knoppix to name a few. If you haven't got a floppy drive you can burn the stage1 and stage2 files into a CD. The last link of my signature gives plenty of tips.
 
Old 09-14-2006, 02:32 PM   #28
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Hey Saikee, I resurrected one of your booting threads on bsdforums. FreeBSD does indeed do something unpleasant to the partition table.

Sorry for the off-topic post guys.
 
Old 09-14-2006, 02:43 PM   #29
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
Thanks for letting me know Randux
 
Old 11-15-2007, 12:36 AM   #30
Corrosive
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Please delete this, posted in wrong thread

Last edited by Corrosive; 11-15-2007 at 01:39 AM.
 
  


Reply


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
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 09:08 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