Advertisement
webmanoffesto

sudo fdisk -l ___ after reboot

Feb 1st, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. ubuntu@ubuntu:~/bin$ chmod +x mount.all.sdb.sh
  2. ubuntu@ubuntu:~/bin$ ./mount.all.sdb.sh
  3. Hello, World!
  4. mount: /mnt/boot/efi: mount point does not exist.
  5. sudo mount -B /dev /mnt/dev
  6. sudo mount -B /dev/pts /mnt/dev/pts
  7. sudo mount -B /proc /mnt/proc
  8. sudo mount -B /sys /mnt/sys
  9. sudo mount -B /run /mnt/run
  10. ubuntu@ubuntu:~/bin$ sudo fdisk -l
  11. Disk /dev/loop0: 1.8 GiB, 1953349632 bytes, 3815136 sectors
  12. Units: sectors of 1 * 512 = 512 bytes
  13. Sector size (logical/physical): 512 bytes / 512 bytes
  14. I/O size (minimum/optimal): 512 bytes / 512 bytes
  15. Disklabel type: dos
  16. Disk identifier: 0x663eb4c4
  17.  
  18. Device Boot Start End Sectors Size Id Type
  19. /dev/loop0p1 * 0 3815135 3815136 1.8G 0 Empty
  20. /dev/loop0p2 3737268 3741939 4672 2.3M ef EFI (FAT-12/16/32)
  21.  
  22.  
  23. Disk /dev/loop1: 1.8 GiB, 1864450048 bytes, 3641504 sectors
  24. Units: sectors of 1 * 512 = 512 bytes
  25. Sector size (logical/physical): 512 bytes / 512 bytes
  26. I/O size (minimum/optimal): 512 bytes / 512 bytes
  27.  
  28.  
  29. Disk /dev/loop2: 86.9 MiB, 91099136 bytes, 177928 sectors
  30. Units: sectors of 1 * 512 = 512 bytes
  31. Sector size (logical/physical): 512 bytes / 512 bytes
  32. I/O size (minimum/optimal): 512 bytes / 512 bytes
  33.  
  34.  
  35. Disk /dev/loop3: 34.7 MiB, 36323328 bytes, 70944 sectors
  36. Units: sectors of 1 * 512 = 512 bytes
  37. Sector size (logical/physical): 512 bytes / 512 bytes
  38. I/O size (minimum/optimal): 512 bytes / 512 bytes
  39.  
  40.  
  41. Disk /dev/loop4: 140.9 MiB, 147722240 bytes, 288520 sectors
  42. Units: sectors of 1 * 512 = 512 bytes
  43. Sector size (logical/physical): 512 bytes / 512 bytes
  44. I/O size (minimum/optimal): 512 bytes / 512 bytes
  45.  
  46.  
  47. Disk /dev/loop5: 2.3 MiB, 2433024 bytes, 4752 sectors
  48. Units: sectors of 1 * 512 = 512 bytes
  49. Sector size (logical/physical): 512 bytes / 512 bytes
  50. I/O size (minimum/optimal): 512 bytes / 512 bytes
  51.  
  52.  
  53. Disk /dev/loop6: 13 MiB, 13619200 bytes, 26600 sectors
  54. Units: sectors of 1 * 512 = 512 bytes
  55. Sector size (logical/physical): 512 bytes / 512 bytes
  56. I/O size (minimum/optimal): 512 bytes / 512 bytes
  57.  
  58.  
  59. Disk /dev/loop7: 14.5 MiB, 15196160 bytes, 29680 sectors
  60. Units: sectors of 1 * 512 = 512 bytes
  61. Sector size (logical/physical): 512 bytes / 512 bytes
  62. I/O size (minimum/optimal): 512 bytes / 512 bytes
  63.  
  64.  
  65. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  66. Units: sectors of 1 * 512 = 512 bytes
  67. Sector size (logical/physical): 512 bytes / 4096 bytes
  68. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  69.  
  70.  
  71. Disk /dev/sdb: 29.8 GiB, 32017047552 bytes, 62533296 sectors
  72. Units: sectors of 1 * 512 = 512 bytes
  73. Sector size (logical/physical): 512 bytes / 512 bytes
  74. I/O size (minimum/optimal): 512 bytes / 512 bytes
  75. Disklabel type: gpt
  76. Disk identifier: A5A2DC23-580C-4A05-B4C2-946278BF5096
  77.  
  78. Device Start End Sectors Size Type
  79. /dev/sdb1 2048 11720797 11718750 5.6G Linux filesystem
  80. /dev/sdb2 11722752 62531583 50808832 24.2G Linux filesystem
  81.  
  82.  
  83. Disk /dev/sdc: 29.8 GiB, 32015679488 bytes, 62530624 sectors
  84. Units: sectors of 1 * 512 = 512 bytes
  85. Sector size (logical/physical): 512 bytes / 512 bytes
  86. I/O size (minimum/optimal): 512 bytes / 512 bytes
  87. Disklabel type: dos
  88. Disk identifier: 0x686a6515
  89.  
  90. Device Boot Start End Sectors Size Id Type
  91. /dev/sdc1 * 2048 60434431 60432384 28.8G b W95 FAT32
  92. /dev/sdc2 60434432 62529535 2095104 1023M 83 Linux
  93.  
  94.  
  95. Disk /dev/loop8: 3.7 MiB, 3887104 bytes, 7592 sectors
  96. Units: sectors of 1 * 512 = 512 bytes
  97. Sector size (logical/physical): 512 bytes / 512 bytes
  98. I/O size (minimum/optimal): 512 bytes / 512 bytes
  99. ubuntu@ubuntu:~/bin$ df -hT
  100. Filesystem Type Size Used Avail Use% Mounted on
  101. udev devtmpfs 3.9G 0 3.9G 0% /dev
  102. tmpfs tmpfs 787M 1.7M 785M 1% /run
  103. /dev/sdc1 vfat 29G 18G 12G 61% /isodevice
  104. /dev/loop0 iso9660 1.9G 1.9G 0 100% /cdrom
  105. /dev/loop1 squashfs 1.8G 1.8G 0 100% /rofs
  106. /cow overlay 3.9G 466M 3.4G 12% /
  107. tmpfs tmpfs 3.9G 30M 3.9G 1% /dev/shm
  108. tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
  109. tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
  110. tmpfs tmpfs 3.9G 12M 3.9G 1% /tmp
  111. tmpfs tmpfs 787M 52K 787M 1% /run/user/999
  112. /dev/loop2 squashfs 87M 87M 0 100% /snap/core/4917
  113. /dev/loop3 squashfs 35M 35M 0 100% /snap/gtk-common-themes/319
  114. /dev/loop4 squashfs 141M 141M 0 100% /snap/gnome-3-26-1604/70
  115. /dev/loop5 squashfs 2.4M 2.4M 0 100% /snap/gnome-calculator/180
  116. /dev/loop6 squashfs 13M 13M 0 100% /snap/gnome-characters/103
  117. /dev/loop7 squashfs 15M 15M 0 100% /snap/gnome-logs/37
  118. /dev/loop8 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/51
  119. ubuntu@ubuntu:~/bin$ smartctl /dev/sdb1
  120. smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
  121. Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
  122.  
  123. Smartctl open device: /dev/sdb1 failed: Permission denied
  124. ubuntu@ubuntu:~/bin$ umount /dev/sdb1
  125. umount: /dev/sdb1: not mounted.
  126. ubuntu@ubuntu:~/bin$ sudo umount /dev/sdb1
  127. umount: /dev/sdb1: not mounted.
  128. ubuntu@ubuntu:~/bin$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement