Grub error 17
schoeffel at fh-bingen.de
schoeffel at fh-bingen.de
Tue Nov 18 13:22:44 UTC 2008
Quoting "Loïc Martin" <loic.martin3 at gmail.com>:
> Stephan Schöffel a écrit :
>> Hi there,
>>
>> after intstalling 8.10 on a hp P4 Notebook parallely to Win XP, grub
>> quits loading with error 17. I tried to reinstall grub using the
>> following instructions provided by Samuel Rhode on this list:
>>
>> When you get to
>> the desktop open a terminal and enter. (I am going to give you the
>> commands and then I will explain them later)
>> Code:
>> sudo grub
>> This will get you a "grub>" prompt (i.e. the grub
>> shell). At grub>. enter these commands
>> Code:
>> find /boot/grub/stage1
>> This will return a location. If you have more than one, select the
>> installation that you want to provide the grub files.
>> Next, THIS
>> IS IMPORTANT, whatever was returned for the find command use it in
>> the next line (you are still at grub>. when you enter the next 3
>> commands)
>> Code:
>> root (hd?,?)
>> Again use the value from the find command i.e. if find returned
>> (hd0,1) then you would enter root (hd0,1)
>>
>> Next enter the
>> command to install grub to the mbr
>> Code:
>> setup (hd0)
>> Finally exit the grub shell
>> Code:
>> quit
>>
>>
>>
>> I used the 8.10 Live CD. Yet, after following the above instractions,
>> grub still hangs with error 17 after reboot.
>>
>> Any hints?
>>
>> Stephan
>>
>>
> google grub error 17:
>
> 17 : Cannot mount selected partition
>
> Means one of your partitions have changed. Did you format a partition,
> or modify in any way your hd partitions (resize, create, etc...), or
> modify /boot.grub/menu.lst?
>
> Get on the LiveCD again, check the /boot/grub/menu.lst on your Linux
> partition, fix it if needed.
>
> If you see a problem but no way to fix it, post your /boot/grub/menu.lst
> and /etc/fstab here.
>
> Then if it's a partition problem, make sure you save all your data on a
> _separate_ hard drive (not just a separate partition), and check with
> gparted. You might need to reformat/reinstall linux and possibly windows
> (not necessary depending on your skill level and time you can spend on
> the issue.
>
> Loïc
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
content of /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=06612975-2831-4102-954c-b08e264f6608 / ext3
relatime,errors=remount-ro 0 1
# /dev/sda3
UUID=3bf4f36a-f463-4188-92a2-a19e48e5ca01 none swap sw
0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
content of /boot/grub/menu.lst:
[...]
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 06612975-2831-4102-954c-b08e264f6608
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=06612975-2831-4102-954c-b08e264f6608 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 06612975-2831-4102-954c-b08e264f6608
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=06612975-2831-4102-954c-b08e264f6608 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 06612975-2831-4102-954c-b08e264f6608
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
I can't tell where the problem is. Maybe its because there ist no root
entry for the ubuntu partitions only uuid?
--Stephan
More information about the ubuntu-users
mailing list