Advertisement
Guest User

netherlands6

a guest
Mar 23rd, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. sudo mount -t ext4 /dev/sdb /mnt
  2. mount: /dev/sdb already mounted or /mnt busy
  3. root@ubuntu:~# /dev/sdb1
  4. bash: /dev/sdb1: Permission denied
  5. root@ubuntu:~# update-grub
  6. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  7. root@ubuntu:~# sudo grub-install /dev/sdb
  8. /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
  9. root@ubuntu:~# sudo mount /dev/sdb1
  10. mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
  11. root@ubuntu:~# sudo grub-install --boot-directory=/mnt/boot /dev/sdb
  12. /usr/sbin/grub-probe: error: cannot find a device for /mnt/boot/grub (is /dev mounted?).
  13. root@ubuntu:~# sudo grub-install --root-directory=/mnt /dev/sdb
  14. /usr/sbin/grub-probe: error: cannot find a device for /mnt/boot/grub (is /dev mounted?).
  15. root@ubuntu:~# sudo os-prober
  16. /dev/sda2:Windows 7 (loader):Windows:chain
  17. root@ubuntu:~# sudo grub-install --boot-directory=/media/boot_partition /dev/sdb/usr/sbin/grub-probe: error: cannot find a device for /media/boot_partition/grub (is /dev mounted?).
  18. root@ubuntu:~# sudo fdisk -l
  19.  
  20. Disk /dev/sda: 120.0 GB, 120034123776 bytes
  21. 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
  22. Units = sectors of 1 * 512 = 512 bytes
  23. Sector size (logical/physical): 512 bytes / 512 bytes
  24. I/O size (minimum/optimal): 512 bytes / 512 bytes
  25. Disk identifier: 0x03069d28
  26.  
  27. Device Boot Start End Blocks Id System
  28. /dev/sda1 2048 30715903 15356928 7 HPFS/NTFS/exFAT
  29. /dev/sda2 * 30717952 234441647 101861848 7 HPFS/NTFS/exFAT
  30.  
  31. Disk /dev/sdb: 120.0 GB, 120034122752 bytes
  32. 255 heads, 63 sectors/track, 14593 cylinders, total 234441646 sectors
  33. Units = sectors of 1 * 512 = 512 bytes
  34. Sector size (logical/physical): 512 bytes / 512 bytes
  35. I/O size (minimum/optimal): 512 bytes / 512 bytes
  36. Disk identifier: 0x0006e00a
  37.  
  38. Device Boot Start End Blocks Id System
  39. /dev/sdb1 * 63 29639924 14819931 83 Linux
  40. /dev/sdb2 29639925 38025854 4192965 82 Linux swap / Solaris
  41. /dev/sdb3 38025916 234436544 98205314+ f W95 Ext'd (LBA)
  42. /dev/sdb5 38025918 234436544 98205313+ 7 HPFS/NTFS/exFAT
  43. root@ubuntu:~# sudo mount /dev/sdb1 /mnt
  44. NTFS signature is missing.
  45. Failed to mount '/dev/sdb1': Invalid argument
  46. The device '/dev/sdb1' doesn't seem to have a valid NTFS.
  47. Maybe the wrong device is used? Or the whole disk instead of a
  48. partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
  49. root@ubuntu:~# sudo mount --bind /dev /mnt/dev
  50. mount: mount point /mnt/dev does not exist
  51. root@ubuntu:~# sudo mount --bind /dev/pts /mnt/dev/pts
  52. mount: mount point /mnt/dev/pts does not exist
  53. root@ubuntu:~# sudo mount --bind /sys /mnt/sys
  54. mount: mount point /mnt/sys does not exist
  55. root@ubuntu:~# sudo mount -t proc /proc /mnt/proc
  56. mount: mount point /mnt/proc does not exist
  57. root@ubuntu:~# sudo chroot /mnt /bin/bash
  58. chroot: failed to run command `/bin/bash': No such file or directory
  59. root@ubuntu:~# mount -a
  60. root@ubuntu:~# apt-get install grub-pc
  61. Reading package lists... Done
  62. Building dependency tree
  63. Reading state information... Done
  64. grub-pc is already the newest version.
  65. 0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
  66. root@ubuntu:~# update-grub
  67. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  68. root@ubuntu:~# grub-install /dev/sdb
  69. /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
  70. root@ubuntu:~# grub-install --force /dev/sdb
  71. /usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
  72. root@ubuntu:~# umount -a
  73. umount: /run/shm: device is busy.
  74. (In some cases useful info about processes that use
  75. the device is found by lsof(8) or fuser(1))
  76. umount: /tmp: device is busy.
  77. (In some cases useful info about processes that use
  78. the device is found by lsof(8) or fuser(1))
  79. umount: /cdrom: device is busy.
  80. (In some cases useful info about processes that use
  81. the device is found by lsof(8) or fuser(1))
  82. umount: /run: device is busy.
  83. (In some cases useful info about processes that use
  84. the device is found by lsof(8) or fuser(1))
  85. umount: /dev: device is busy.
  86. (In some cases useful info about processes that use
  87. the device is found by lsof(8) or fuser(1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement