Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.12 KB | None | 0 0
  1. mint@mint ~ $ sudo fdisk -l
  2.  
  3. Disk /dev/sda: 10.1 GB, 10056130560 bytes
  4. 255 heads, 63 sectors/track, 1222 cylinders
  5. Units = cylinders of 16065 * 512 = 8225280 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0x000160f7
  9.  
  10.    Device Boot      Start         End      Blocks   Id  System
  11. /dev/sda1               1        1165     9351168   83  Linux
  12. /dev/sda2            1165        1223      466945    5  Extended
  13. /dev/sda5            1165        1223      466944   82  Linux swap / Solaris
  14. mint@mint ~ $ sudo mount /dev/sda1 /mnt
  15. mint@mint ~ $ sudo grub-install --root-directory=/mnt /dev/sda1
  16. grub-probe: error: cannot find a device for /boot (is /dev mounted?).
  17. /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR.  This is a BAD idea..
  18. /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..
  19. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.
  20. mint@mint ~ $ sudo grub-install --root-directory=/mnt /dev/sda
  21. grub-probe: error: cannot find a device for /boot (is /dev mounted?).
  22. Installation finished. No error reported.
  23. mint@mint ~ $ ls /
  24. bash: /bin/ls: Input/output error
  25. mint@mint ~ $ ls
  26. bash: /bin/ls: Input/output error
  27. mint@mint ~ $ sudo ls
  28. Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
  29. mint@mint ~ $ sudo ls /
  30. bin    dev   initrd.img  media  proc  sbin     sys  var
  31. boot   etc   initrd.lz   mnt    rofs  selinux  tmp  vmlinuz
  32. cdrom  home  lib     opt    root  srv      usr
  33. mint@mint ~ $ sudo su
  34.  ________________________________________
  35. ( You enjoy the company of other people. )
  36.  ----------------------------------------
  37.   o
  38.    o   \_\_    _/_/
  39.     o      \__/
  40.            (oo)\_______
  41.            (__)\       )\/\
  42.                ||----w |
  43.                ||     ||
  44. mint mint # grub-install --root-directory=/mnt /dev/sda
  45. grub-probe: error: cannot find a device for /boot (is /dev mounted?).
  46. Installation finished. No error reported.
  47. mint mint #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement