LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-16-2008, 01:49 AM   #1
kobtron
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware and Fedora
Posts: 4

Rep: Reputation: 0
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
 
Old 02-16-2008, 02:01 AM   #2
kobtron
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware and Fedora
Posts: 4

Original Poster
Rep: Reputation: 0
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".
 
Old 03-13-2011, 11:41 PM   #3
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
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"
 
Old 03-14-2011, 12:02 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
@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"
 
Old 03-14-2011, 01:41 AM   #5
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
Smile 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
 
Old 03-14-2011, 03:20 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It's a command

Quote:
update-grub
 
Old 03-14-2011, 01:23 PM   #7
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
[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 ~]#
 
Old 03-14-2011, 02:50 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

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


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 Error #17: Cannot Mount Selected Partition NickN Linux - Newbie 5 11-03-2006 12:10 AM
WinXP, FC-5 Dual Boot, Grub failing to load FC-5 (can't mount selected partition) rcmpsc Fedora 4 09-21-2006 10:53 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - Newbie 3 10-02-2004 09:38 AM
Grub SuSe, XP, Redhat Error 17: Cannot mount selected partiton hrg Linux - General 1 07-16-2004 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration