LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Error 17: Cannot mount selected partition (https://www.linuxquestions.org/questions/linux-newbie-8/grub-error-17-cannot-mount-selected-partition-621539/)

kobtron 02-16-2008 12:49 AM

Grub Error 17: Cannot mount selected partition
 
Hi. I have a laptop that came with Vista. I installed Fedora 8 and then Windows XP, so I got grub lost. I used the rescue option of the install DVD and chrooted to my original filesystem. I think I made the following mistake:

grub-install /dev/sda1

When I rebooted I didn't get grub, but Windows. Then I got to the rescue option of the DVD again and executed

grub-install /dev/sda

Now I got a b&w grub that lets me boot Windows, but when I try to boot Fedora I get:

Error 17: Cannot mount selected partition

I think I secrewed up something.

Thanks

kobtron 02-16-2008 01:01 AM

When I edit the first line at the "Fedora" entry and change (hd0,2) to (hd0,1) and then escape and b to boot Linux boots.

I edited /etc/grub.conf and changed (hd0,2)'s to (hd0,1)'s. I got Linux back, but with "Grub loading stage 1.5" instead of "Grub loading stage 2".

landonmkelsey 03-13-2011 10:41 PM

similar problem
 
I want
sda win xp
sdb Fedora 14

I did the
grub>find /grub/grub.conf
grub>root (hd1,0)
grub>setup (hd0)

as is stated in 10000 web sites

I rebooted and got
error 17 cannot mount selected partition

and then appeared a text like grub menu

offering
(1) Fedora 2.6.35.6-45.fc14.i686
(2) other

I selected "other" and got
error 13 "invalid or unsupported executable format"

EDDY1 03-13-2011 11:02 PM

@kobtron fedora 8 is outdated, you may want to install fedora14.
@landomkelsey fdora14, I beleive uses grub2 lists drives as sda, sdb and so on.
Try
"update-grub"

landonmkelsey 03-14-2011 12:41 AM

tried grub-install
 
grub-install was already there

got the same errors but there is hope...thanks

grub for multiple OSs should NOT be such a mess.

I've seen posts directing user to change fstab

I don't want to be a PC repairman...I want to program C++ C# RDB Eclipse Qt

EDDY1 03-14-2011 02:20 AM

It's a command

Quote:

update-grub

landonmkelsey 03-14-2011 12:23 PM

[root@landon ~]# update-grub
Command not found. ^C
[root@landon ~]# grub-update
Command not found. ^C
[root@landon ~]# grub --version
grub (GNU GRUB 0.97)
[root@landon ~]# man grub
[root@landon ~]# whereis update-grub
update-grub:
[root@landon ~]#

EDDY1 03-14-2011 01:50 PM

You have grub not grub2, I gave wrong command
http://www.dedoimedo.com/computers/grub.html


All times are GMT -5. The time now is 11:22 PM.