Grub error 17

Loïc Martin loic.martin3 at gmail.com
Tue Nov 18 14:50:50 UTC 2008


schoeffel at fh-bingen.de a écrit :
> 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
(...)
> 
> I can't tell where the problem is. Maybe its because there ist no root  
> entry for the ubuntu partitions only uuid?
> 
> --Stephan
Please edit the posts when you're replying ;)

It could be your uuid changed.
 sudo vol_id -u /dev/sda2

Then if it's different than what you have in your configuration files,
replace every occurence of the old UUID by the one you get with the command.

Don't forget to rerun the steps you went through so you can reinstall grub.

Or replace UUID=06612975-2831-4102-954c-b08e264f6608 by /dev/sda2 in
your fstab, and try to do the same in menu.lst (uuid
06612975-2831-4102-954c-b08e264f6608 becomes
root (hd0,1)
for example (note : I perfectly know some will warn you that not using
the UUID is going to explode your PC and kill your cows, but the fact is
if you've got different Linux system on different partitions, the UUID
will keep changing when you install a new one, and that's a pain. Till
Ubuntu just changes the UUID in configuration files for all installs
there's on the hd, using the UUID is a pain in the neck).

If the UUID is the same, you'll have to wait for somebody with a bit
more experience of these errors, or just backup everything and reinstall.

Oh, and you weren't precise enough in your emails - since I checked your
menu.lst I assume Windows starts ok, even though all your posts seemed
to indicate nothing would boot (else please state it clearly, because
that would be another problem).

I also assume you can still access your Windows partition on the Live
CD. But again you left us in the dark.

Cheers,
Loïc





More information about the ubuntu-users mailing list