ubuntu@ubuntu:~$ sudo su /
No passwd entry for user '/'
ubuntu@ubuntu:~$ sudo su -
root@ubuntu:~# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="965A-CD79" TYPE="vfat"
/dev/sda3: UUID="3C4C5F254C5ED8EA" TYPE="ntfs"
/dev/sda4: UUID="01081548-a0ed-4504-a787-6784f5137236" TYPE="swap"
/dev/sda5: UUID="00f9bf5f-2fde-49ea-a726-92c2f70f462a" TYPE="ext4"
/dev/sdb1: LABEL="Volume" UUID="01CE183802813360" TYPE="ntfs"
/dev/sdc2: LABEL="Programme" UUID="F83EA4893EA4428C" TYPE="ntfs"
/dev/sdd: LABEL="MULTIBOOT" UUID="1A17-2836" TYPE="vfat"
root@ubuntu:~# ^C
root@ubuntu:~# mount /dev/sda5 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist
root@ubuntu:~# mount /dev/sda5 /mnt/boot/efi
mount: mount point /mnt/boot/efi does not exist
root@ubuntu:~# mount /dev/sda5 /mnt/
root@ubuntu:~# mount /dev/sda1 /mnt/boot/efi
root@ubuntu:~# for i in dev dev/pts proc sys sys/firmware; do mount --bind /$i /mnt/$i; done
root@ubuntu:~# chroot /mnt
root@ubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-27-generic
Found initrd image: /boot/initrd.img-3.8.0-27-generic
Found linux image: /boot/vmlinuz-3.8.0-19-generic
Found initrd image: /boot/initrd.img-3.8.0-19-generic
Found Windows 7 (loader) on /dev/sdc2
Adding boot menu entry for EFI firmware configuration
done
root@ubuntu:/# grub-install
Installation finished. No error reported.