Comment 10 for bug 403408

Revision history for this message
Felix Zielcke (fzielcke) wrote : Re: [Bug 403408] Re: Grub 2 problem, error: no such device

Am Freitag, den 30.10.2009, 18:59 +0000 schrieb John in SF:
> If I can get into this directory and file, I can do what is suggested
> but a list of the commands I should perform would really help since I
> am
> good at repetition and following direction. :)

sudo gedit /usr/lib/grub/grub-mkconfig_lib
You can also choose a different editor then gedit, but I think it's not
a bad choice in this case.

And then remove the following inside the function
`prepare_grub_to_access_device ()'

  if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
    echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
  fi

Then just `sudo update-grub'
reconfiguring the whole grub-pc package isn't at all needed for this.

Note that this change gets lost when the grub-common package gets upgraded.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer