Guest User

Untitled

a guest
Jan 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.77 KB | None | 0 0
  1. ubuntu@ubuntu:~$ sudo fdisk -l
  2.  
  3. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
  4.  
  5.  
  6. Disk /dev/sda: 250.1 GB, 250059350016 bytes
  7. 255 heads, 63 sectors/track, 30401 cylinders
  8. Units = cylinders of 16065 * 512 = 8225280 bytes
  9. Sector size (logical/physical): 512 bytes / 512 bytes
  10. I/O size (minimum/optimal): 512 bytes / 512 bytes
  11. Disk identifier: 0x00000000
  12.  
  13. Device Boot Start End Blocks Id System
  14. /dev/sda1 1 26 204819+ ee GPT
  15. /dev/sda2 * 26 21157 169738240 af HFS / HFS+
  16. /dev/sda3 21158 30040 71350272 83 Linux
  17. /dev/sda4 30040 30402 2903040 82 Linux swap / Solaris
  18.  
  19. ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
  20. mount: special device /dev/sda3 does not exist
  21. ubuntu@ubuntu:~$ sudo mount /dev/sda4 /mnt
  22. ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
  23. ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
  24. ubuntu@ubuntu:~$ sudo chroot /mnt
  25. root@ubuntu:/# grub-install /dev/sda
  26. /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
  27. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..
  28. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.
  29. root@ubuntu:/# grub-update
  30. grub-update: command not found
  31. root@ubuntu:/# grub-install --recheck /dev/sda
  32. /usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
  33. /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged..
  34. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.
  35. root@ubuntu:/#
Add Comment
Please, Sign In to add comment