MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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. ^_^.
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!
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.