LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting grub error 17 after reinstalling winxp (https://www.linuxquestions.org/questions/linux-newbie-8/getting-grub-error-17-after-reinstalling-winxp-665012/)

Sunfist 08-24-2008 10:08 AM

Getting grub error 17 after reinstalling winxp
 
I had to reinstall Winxp, well didnt HAVE to, but I did, thinking it would be easy to get grub working again. Well first I used Super Grub, this got me my grub menu back but if I chose any of the linux options I would get an error 17, I could boot into windows just fine. So I got my live cd, booted into terminal and did it manually, it appeared to work, all the processes reported sucessfull, but I still get the same error.

garyg007 08-24-2008 10:16 AM

from the grub manual:
Quote:

17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB
If that doesn't help please post
  • /boot/grub/device.map
  • /boot/grub/menu.lst
  • /etc/fstab

aus9 08-27-2008 07:51 AM

I suspect all supergrub did was to put a stage 1 ...= mbr for grub back into mbr but it did not re-link to the balance of its booting files...which is why I do not recommend it.

If you have a good live cd....boot it and

Code:

su
grub
root (hd0,.....and press tab to see what your partitions are
.....c is normally hd0,0
....linux ones will be hd0,1 or 2 etc type 83
.....linux swap will be type 82
so pretending you have one huge c partion its
root (hd0,1)
setup (hd0)
quit

Last line must say succeeded otherwise you have pointed to wrong hd0,1 and it maybe hd0,2 hd0,3 etc


All times are GMT -5. The time now is 06:58 PM.