LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-05-2007, 10:35 AM   #1
Dgonik
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Grub Error 17


I was installing Mandriva, when it was done, I had to reboot. After I rebooted I got a error from Grub "error 17". I am total noob, can you please tell me what commands to put in to fix this? What should I mount to what, and how to do it? Thanks in advance!
 
Old 08-05-2007, 02:08 PM   #2
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Rep: Reputation: 15
Hi, I'm a newbie too, but I googled this and I think I've understood something. First of all, what are your partitions (windows, linux etc.)?

U will have to remount these partitions right, in order grub to work.

I'll try to search for more info...

[Posted by 85.73.60.45 via http://algart.net/ww This is added while posting a message to avoid misuse.
Try: http://webwarper.net/webwarper.exe Example of viewing: http://webwarper.net/ww/~av/lycos.com ]
 
Old 08-05-2007, 02:40 PM   #3
Dgonik
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Yes that I know.. but how.. I've found many answers for error also, but none of them work with my setup for some reason.. or maybe I am just a newb. ^_^.

Device: Boot: Start: End: Blocks: Id: System:

/dev/hda1/ * 1 16089 ..... 7 HPFS/NTFS
/dev/hda2/ 16090 30401 ..... 5 Extended
/dev/hda5/ 16090 17108 ..... 83 Linux
/dev/hda6/ 17109 17617 ..... 82 Linux Swap/Sol
/dev/hda7/ 17618 30401 ..... 83 Linux

My hard drive is 250GB. I have two partitions. One of them is Windows XP, and on the other free space I installed Mandriva. After installation was done, I had to reboot, and I get this message:

Booting from Local Disk
Grub Loading Stage 1.5

Grub loading, please wait...
Error 17

And nothing happens afterwards. As far as I understand it is currently booting from my Windows partition..? How do I change it so I have a choice between booting from Linux or Windows? Am I supposed to go into the rescue mode and type some commands? I've searched through many forums and followed many instructions and I always get some weird messages, either Kernel is not loaded, or no such directory exist and so on.. Please help! Thanks in advance!
 
Old 08-05-2007, 07:07 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
This error is produced when grub cannot recognize the file system it's second stage files are in. This usually happens when you install grub in the wrong partition, like the Windows partition for example (/dev/hda1) instead of installing it to /dev/hda which is the MBR of the disk.
If this is the case, even after repairing grub, you may not be able to boot Windows because it's boot files have been overwritten by grub.
Put the 1st Mandriva CD or DVD in the drive and boot the computer. Make your way to a root terminal and issue these commands to repair it:
Code:
Grub
root (hd0,2)
setup (hd0)
quit
Mandriva also gives the option to repair it automatically, the instructions below are for Mandrake, but Mandriva still uses the same installer so it'll probably be more or less the same steps involved if you want to try this first, which I recommend you should:
Code:
1: Boot the computer with the first install CD or DVD in the drive.
2: When given the option to press enter to install or press a F(x)
combination where (x) represents a number for options, press the 
appropriate F(x) key to see the options. Most often you need to 
type: linux rescue    at the prompt if there is no rescue related
option.
3: The installer will load drivers into memory and should present 
a list of rescue operations. If a progress bar shows up and goes to 
the end and appears to hang there, hit the "Esc" key on the keyboard
to view the list of options.
4: If you see an entry like so: "Re-install Boot Loader", highlight
it if needed by using the arrow keys, then hit the "Tab" key on the 
keyboard to highlight the "OK" switch and hit enter.
5: Linux will mount the installation and ask to press Enter to 
continue, hit "Enter"
6: It will do it's thing and tell you to press Enter to return to
Rescue GUI, hit "Enter".
7: At the GUI with the list of options, use arrow keys to highlight
"Reboot", then hit "Tab" key till "OK" is highlighted and remove the
disc from the drive, hit "Enter" to reboot.
If you did actually install grub in the Windows partition, you'll have to restore Windows boot with it's installation CD, which you may have to do first.
 
Old 08-06-2007, 12:34 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I wonder if it's trying to boot that Extended partition rather than the logical (presumably hda5).
If Junior Hacker idea doesn't work, see if you have the option to boot into your disk install, and try that.

From there, open a terminal window, and
Code:
su -
grub
root (hd0,4)
setup (hd0)
quit
Then try a reboot

Last edited by syg00; 08-06-2007 at 12:35 AM.
 
Old 08-06-2007, 01:34 PM   #6
Dgonik
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you all for your help, very much appreciated! What I did was reinstall the OS, and when the option of installing the boot loader came up, I simply set it to install on MRB. Now everything works fine! Thank you all!
 
  


Reply

Tags
boot loader, error, grub



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 error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Error Grub stage2 loading error (using FC6) on seperate hdd Anifield Linux - Newbie 7 03-20-2007 01:14 PM
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Software 11 02-25-2007 07:42 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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