[ubuntu-za] Updating grub fails

Xandor Schiefer me at xandor.co.za
Sat Jul 16 08:37:06 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Wikus,


Did you boot the system with a USB drive plugged in by any chance? It's
possible that if you did that your hard drive is not /dev/sda now, but
/dev/sdb.

In any case, you can find out which partition your root filesystem is
mounted to with the following command:

df | grep /$

Note that that will output the root *partition*, not the drive.
If your partition was /dev/sdx1, then your drive is /dev/sdx (without
the number).

If that drive is different to the one you tried, then try to install
grub to the drive we just found (incidentally, if this *is* your
situation, the reason it could still boot is because grub typically uses
the UUIDs instead of device "letter" in crub.cfg).

If that's not the case (i.e. the drive you supplied initially is the
drive that contains your root partition), then possibly you've got a
Windows-Ubuntu dual-boot setup with two physical drives? In that case
figure out which drive is your windows drive (should be easy enough to
find: mount the drives in 'disks' GUI program, inspect the contents),
and install grub to that *disk* (not *partition*).

If that is also not the case, then there's a number of things that could
be the problem. Possibly you changed some BIOS settings (e.g. "Fast
Boot"). Perhaps this thread will be of interest:
https://askubuntu.com/questions/532540/ubuntu-installation-failure-unable-to-install-grub

Kind regards,


Xandor Schiefer
079 706 5620

This communication may be unlawfully collected and stored by the
National Security Agency (NSA) and other organizations in secret. The
parties to this email do not consent to the retrieving or storing of
this communication and any related metadata, as well as printing,
copying, re-transmitting, disseminating, or otherwise using it. If you
believe you have received this communication in error, please delete
it immediately.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXifIyAAoJEBLvBEMz89HRdIAH/j8j55GoYeHxSXEaJTazbxtB
klk0neOZLbMpb8sNH6POmdVZ1y2W3Bj1R8+7QOvfKH6lZk3eZUebvb7YmhmOwccO
0qr8KRQW7m82eQ6lYkLQ6wq+46Jc3fAnsPrZ/i1dO2uYJRloLydBwEsd+hKIh3LK
osEF9hvIfLLdtzv8RgHey55F9vyuQTvrbrTjUa0oNGXRKUrmqLwYcUkesxE3dY/Q
UfYgu2N2Yh3tvdZLm4+EwyPPNOFaTfr4O7wmlx0n3BYeqaJrGnYy/K3bHUY6HhSO
r7MRI88o4oHRvN33UNOdwLPCkxxLDpppSTGvUPnJpSBaCIlxq0sB6sqVSxEgVxU=
=BBVa
-----END PGP SIGNATURE-----



More information about the ubuntu-za mailing list