LinuxQuestions.org
Review your favorite Linux distribution.
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 11-01-2005, 07:51 AM   #1
Byronious
LQ Newbie
 
Registered: Nov 2005
Posts: 15

Rep: Reputation: 0
SuSE 10/Windows XP Pro - GRUB Error 17


I have 2 hard drives, on my first hard drive (primary) I have Windows XP Pro. This is also where GRUB is being installed. On my second drive (primary-slave) I have installed SuSE 10. I can boot from the installation CD, as I am on the Linux installation now. However, when I try to boot my system on it's own, I receive GRUB Error 17.

I have screens of commands I was told would be helpful, but the no-URL rule prevents me from posting the images that contain the results.

I'm looking for any help on this issue to be able to run my computer normally without having to launch the Linux installation from the boot CD.
 
Old 11-01-2005, 08:49 AM   #2
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
And you cannot boot into .... ?
 
Old 11-01-2005, 09:29 AM   #3
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
Locok at my question "upgrade linux suse 9.0 to 10.0" or look at the other problems about suse 10.0 sure you wlill find an answer. If not contact me.
 
Old 11-01-2005, 07:21 PM   #4
Byronious
LQ Newbie
 
Registered: Nov 2005
Posts: 15

Original Poster
Rep: Reputation: 0
I cannot boot into anything. The only way I can boot into anything is if I use the Linux installation CD to boot the installed OS. I am not trying to upgrade either.
 
Old 11-01-2005, 07:35 PM   #5
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
first error 17 means grub is in mbr but the attempted partition to be mounted fails.

so we need more info pls

since you can use the cd to boot, pls post your
/etc/fstab file and
/boot/grub.menu.lst file or /etc/grub if you can't find it

(2) have a read of my trouble-shooter......you can press C for commands and try this
root (hd1 and press the tab key
if you know where your /boot partition is .......lets say its /dev/hdb1 the output of the partitions must have a hd1 of a linux format

what I am saying is we can help you with more info but unless you changed your hardware its possible that suse did not link grub in mbr to your booting files or failed due to an unusual for suse partition?

(3) so have a read of tut and trouble-shooter and if frustrated answer my questions and maybe I can answer yours
 
Old 11-01-2005, 09:38 PM   #6
JamesMay
LQ Newbie
 
Registered: Sep 2005
Location: Lometa, TX
Distribution: Suse 10 & 9.3, Fedora C4, Slackware 10.2
Posts: 8

Rep: Reputation: 0
First steps

Hello,
Just a couple of suggestions that I hope will help.
First, grub error 17 means "the partition requested exists, but the filesystem type cannot be recognized by GRUB. " (that's verbatim from the grub manual). From your system description i would conclude that grub is attempting to boot from the xp partition. Note that grub sometimes reverses drive associations when probing the bios. If that is the case you can edit the device.map file.
However, if you don't feel comfortable doing that, start with this:
at the grub prompt type:

find /sbin/init

(again using the system description you provided you should only see one returned; something along the lines of (hd1,1) for example where hd1 would be the drive with suse 10 and the number after the comma will be the / partition.

Since you have installed grub on the xp drive, is there a linux partition on that drive alongside xp? If there is, is it the /boot directory or did you install suse with the os in the same partition as the / root partition (note that 'root' is context sensitive here).

The results of the find command above will tell you which drive (0 or 1) grub sees as the distro drive. If the os is in the same partition (not a separate /boot partition) you can also use the partition in your root statement within grub, ie.

root (hd1,1) if (hd1,1) is what find returned.

After booting from the cd and mounting the suse 10 distro on the 2nd drive look at the results of these 2 commands.
fdisk -l
and
mount
=============
within grub the following 4 should get you going if you plug in the right information where my examples are.
root (hd1,1)
kernel /nameofkernel ro root=/dev/hdb1
initrd /initrd
boot

btw - most people who do a lot of work with grub will set up links to the kernel and the initrd img to avoid having to type long names containing version numbers (for instance, vmlinuz for the ptr to the kernel and a pointer to initrd usually called initrd). initrd is short for initialize ram disk.

Hope this helps; let me know.
jmay
 
Old 11-18-2005, 10:41 PM   #7
tinybit
Member
 
Registered: Jul 2005
Location: China
Distribution: Mandriva
Posts: 84

Rep: Reputation: 15
GRUB and LILO always conflict with Windows. And GNU GRUB is not so robust, causing many problems during boot.

So try GRUB for DOS please. It is a cross-platform boot loader based on GNU GRUB. The GRUB.EXE can be started from DOS/Win9x; and GRLDR can be started from BOOT.INI of Windows NT/2K/XP/2003; and even more, the GRUB.EXE can be started from LINUX via the KEXEC tool.

By using GRUB.EXE or GRLDR, you don't have to touch your MBR. It is the safest way coexisting with DOS/Windows.

You needn't install GRUB for DOS. Just run GRUB.EXE from DOS, or append a line of "C:\GRLDR=START GRUB" into your BOOT.INI(restart and select the "START GRUB" menu item), that will do.

Download GRUB for DOS here: http://freshmeat.net/projects/grub4dos/

There is a fat12grldr.img file with the GRUB for DOS release. You can create a GRUB bootable floppy with this fat12grldr.img file.

Or, you can just copy GRUB.EXE to your DOS floppy and run GRUB.EXE to enter the GRUB environment.

If the system has no DOS/WINDOWS, you may use the bootlace.com utility to write GRLDR boot record onto the MBR.
 
  


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
SuSE 9.3 Pro GRUB mikeec216 Linux - Software 1 11-26-2005 05:34 AM
SuSE 9.3 Pro GRUB Hangs?! kezef Suse/Novell 1 06-14-2005 02:04 AM
Dual boot SuSe 9.1 Pro/ Windows XP , Error kruptos Linux - Newbie 5 02-07-2005 09:00 AM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
Triple Boot Fedora C2 and Suse and windows = big grub error maneeshsethi Linux - Software 6 10-07-2004 04:03 PM


All times are GMT -5. The time now is 04:11 AM.

Main Menu
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