Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.16 KB | None | 0 0
  1. idanskira@idanskira-E520:~$ umount /dev/sdc
  2. umount: /dev/sdc: not mounted
  3. idanskira@idanskira-E520:~$ umount /dev/sdc6
  4. idanskira@idanskira-E520:~$ umount /dev/sdc7
  5. idanskira@idanskira-E520:~$ umount /dev/sdc1
  6. umount: /dev/sdc1: not mounted
  7. idanskira@idanskira-E520:~$ umount /dev/sdc2
  8. umount: /dev/sdc2: not mounted
  9. idanskira@idanskira-E520:~$ umount /dev/sdc3
  10. umount: /dev/sdc3: not mounted
  11. idanskira@idanskira-E520:~$ umount /dev/sdc4
  12. umount: /dev/sdc4: not mounted
  13. idanskira@idanskira-E520:~$ umount /dev/sdc5
  14. umount: /dev/sdc5: not mounted
  15. idanskira@idanskira-E520:~$ umount /dev/sdc6
  16. umount: /dev/sdc6: not mounted
  17. idanskira@idanskira-E520:~$ mount | grep sdc
  18. idanskira@idanskira-E520:~$ what is the fsck command?
  19. No command 'what' found, did you mean:
  20. Command 'chat' from package 'ppp' (main)
  21. Command 'jhat' from package 'openjdk-8-jdk-headless' (main)
  22. Command 'wcat' from package 'sac' (universe)
  23. what: command not found
  24. idanskira@idanskira-E520:~$ umount /dev/sdc6
  25. umount: /dev/sdc6: not mounted
  26. idanskira@idanskira-E520:~$ mount | grep sdc
  27. idanskira@idanskira-E520:~$ fsck.vfat /dev/sdc -a
  28. fsck.fat 3.0.28 (2015-05-16)
  29. open: Permission denied
  30. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc -a
  31. fsck.fat 3.0.28 (2015-05-16)
  32. Logical sector size is zero.
  33. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc6 -a
  34. fsck.fat 3.0.28 (2015-05-16)
  35. 0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
  36. Automatically removing dirty bit.
  37. Performing changes.
  38. /dev/sdc6: 6 files, 10410/51091 clusters
  39. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc7 -a
  40. fsck.fat 3.0.28 (2015-05-16)
  41. Logical sector size is zero.
  42. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc1 -a
  43. fsck.fat 3.0.28 (2015-05-16)
  44. Logical sector size (9422 bytes) is not a multiple of the physical sector size.
  45. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc2 -a
  46. fsck.fat 3.0.28 (2015-05-16)
  47. Logical sector size is zero.
  48. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc3 -a
  49. fsck.fat 3.0.28 (2015-05-16)
  50. Logical sector size is zero.
  51. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc4 -a
  52. fsck.fat 3.0.28 (2015-05-16)
  53. Logical sector size is zero.
  54. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc5 -a
  55. fsck.fat 3.0.28 (2015-05-16)
  56. Cluster size is zero.
  57. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc6 -a
  58. fsck.fat 3.0.28 (2015-05-16)
  59. /dev/sdc6: 6 files, 10410/51091 clusters
  60. idanskira@idanskira-E520:~$ sudo fsck.vfat /dev/sdc7 -a
  61. fsck.fat 3.0.28 (2015-05-16)
  62. Logical sector size is zero.
  63. idanskira@idanskira-E520:~$ sudo fsck -l
  64. fsck from util-linux 2.27.1
  65. e2fsck 1.42.13 (17-May-2015)
  66. /dev/sda4 is mounted.
  67. e2fsck: Cannot continue, aborting.
  68.  
  69.  
  70. idanskira@idanskira-E520:~$ fsck -l /dev/sdc
  71. fsck from util-linux 2.27.1
  72. fsck: cannot create directory /run/fsck: Permission denied
  73. e2fsck 1.42.13 (17-May-2015)
  74. fsck.ext2: Permission denied while trying to open /dev/sdc
  75. You must have r/w access to the filesystem or be root
  76. idanskira@idanskira-E520:~$ sudo fsck -l /dev/sdc
  77. fsck from util-linux 2.27.1
  78. e2fsck 1.42.13 (17-May-2015)
  79. ext2fs_open2: Bad magic number in super-block
  80. fsck.ext2: Superblock invalid, trying backup blocks...
  81. fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc
  82.  
  83. The superblock could not be read or does not describe a valid ext2/ext3/ext4
  84. filesystem. If the device is valid and it really contains an ext2/ext3/ext4
  85. filesystem (and not swap or ufs or something else), then the superblock
  86. is corrupt, and you might try running e2fsck with an alternate superblock:
  87. e2fsck -b 8193 <device>
  88. or
  89. e2fsck -b 32768 <device>
  90.  
  91. idanskira@idanskira-E520:~$ sudo fdisk -l /dev/sdc
  92. GPT PMBR size mismatch (31116287 != 124735487) will be corrected by w(rite).
  93. Disk /dev/sdc: 59.5 GiB, 63864569856 bytes, 124735488 sectors
  94. Units: sectors of 1 * 512 = 512 bytes
  95. Sector size (logical/physical): 512 bytes / 512 bytes
  96. I/O size (minimum/optimal): 512 bytes / 512 bytes
  97. Disklabel type: gpt
  98. Disk identifier: 1C7D4C86-35A6-4E6A-B3E3-2A6BEB44FDD0
  99.  
  100. Device Start End Sectors Size Type
  101. /dev/sdc1 64 8063 8000 3.9M Linux filesystem
  102. /dev/sdc2 8064 8191 128 64K Linux filesystem
  103. /dev/sdc3 8192 16383 8192 4M Linux filesystem
  104. /dev/sdc4 16384 24575 8192 4M Linux filesystem
  105. /dev/sdc5 24576 32767 8192 4M Linux filesystem
  106. /dev/sdc6 32768 262143 229376 112M Microsoft basic data
  107. /dev/sdc7 262144 31116254 30854111 14.7G Linux filesystem
  108. idanskira@idanskira-E520:~$ sudo parted -l
  109. Model: ATA HFS256G39TND-N21 (scsi)
  110. Disk /dev/sda: 256GB
  111. Sector size (logical/physical): 512B/4096B
  112. Partition Table: gpt
  113. Disk Flags:
  114.  
  115. Number Start End Size File system Name Flags
  116. 1 1049kB 538MB 537MB ntfs msftdata
  117. 2 538MB 539MB 1049kB bios_grub
  118. 4 539MB 248GB 247GB ext4
  119. 3 248GB 256GB 8457MB linux-swap(v1)
  120.  
  121.  
  122. Warning: Not all of the space available to /dev/sdc appears to be used, you can
  123. fix the GPT to use all of the space (an extra 93619200 blocks) or continue with
  124. the current setting?
  125. Fix/Ignore? f
  126. Model: USB 2.0 SD/MMC Reader (scsi)
  127. Disk /dev/sdc: 63.9GB
  128. Sector size (logical/physical): 512B/512B
  129. Partition Table: gpt
  130. Disk Flags:
  131.  
  132. Number Start End Size File system Name Flags
  133. 1 32.8kB 4129kB 4096kB loader1
  134. 2 4129kB 4194kB 65.5kB reserved1
  135. 3 4194kB 8389kB 4194kB reserved2
  136. 4 8389kB 12.6MB 4194kB loader2
  137. 5 12.6MB 16.8MB 4194kB atf
  138. 6 16.8MB 134MB 117MB fat16 boot legacy_boot, msftdata
  139. 7 134MB 15.9GB 15.8GB ext4 root
  140.  
  141.  
  142. idanskira@idanskira-E520:~$ sudo fsck /dev/sdc7 -f
  143. fsck from util-linux 2.27.1
  144. e2fsck 1.42.13 (17-May-2015)
  145. Pass 1: Checking inodes, blocks, and sizes
  146. Pass 2: Checking directory structure
  147. Pass 3: Checking directory connectivity
  148. Pass 4: Checking reference counts
  149. Pass 5: Checking group summary information
  150. linux-root: 173041/966656 files (0.2% non-contiguous), 1489492/3856763 blocks
  151. idanskira@idanskira-E520:~$ sudo add-apt-repository ppa:atareao/atareao
  152. [sudo] password for idanskira:
  153. Applications from atareao
  154. More info: https://launchpad.net/~atareao/+archive/ubuntu/atareao
  155. Press [ENTER] to continue or ctrl-c to cancel adding it
  156.  
  157. gpg: keyring `/tmp/tmp1zlubxbr/secring.gpg' created
  158. gpg: keyring `/tmp/tmp1zlubxbr/pubring.gpg' created
  159. gpg: requesting key 36FD5529 from hkp server keyserver.ubuntu.com
  160. gpg: /tmp/tmp1zlubxbr/trustdb.gpg: trustdb created
  161. gpg: key 36FD5529: public key "Launchpad PPA for atareao" imported
  162. gpg: Total number processed: 1
  163. gpg: imported: 1 (RSA: 1)
  164. OK
  165. idanskira@idanskira-E520:~$ sudo apt update
  166. Hit:1 http://il.archive.ubuntu.com/ubuntu xenial InRelease
  167. Get:2 http://il.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  168. Get:3 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease [17.5 kB]
  169. Get:4 http://il.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  170. Get:5 http://www.rabbitmq.com/debian testing InRelease [33.0 kB]
  171. Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
  172. Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
  173. Hit:8 http://dl.google.com/linux/chrome/deb stable Release
  174. Ign:9 http://ppa.launchpad.net/attente/modifier-only-input-switch/ubuntu xenial InRelease
  175. Get:10 http://packages.microsoft.com/repos/vscode stable InRelease [2,802 B]
  176. Get:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
  177. Hit:12 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu xenial InRelease
  178. Get:15 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [53.1 kB]
  179. Get:16 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
  180. Hit:17 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
  181. Get:18 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main amd64 Packages [7,256 B]
  182. Get:19 http://il.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [318 kB]
  183. Get:20 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
  184. Get:21 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main i386 Packages [7,252 B]
  185. Ign:14 http://packages.erlang-solutions.com/debian xenial InRelease
  186. Get:22 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial/main Translation-en [4,240 B]
  187. Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
  188. Get:24 http://packages.erlang-solutions.com/debian xenial Release [2,537 B]
  189. Err:25 http://ppa.launchpad.net/attente/modifier-only-input-switch/ubuntu xenial Release
  190. 404 Not Found
  191. Get:26 http://packages.erlang-solutions.com/debian xenial Release.gpg [836 B]
  192. Get:27 http://packages.erlang-solutions.com/debian xenial/contrib amd64 Packages [64.7 kB]
  193. Get:28 http://packages.erlang-solutions.com/debian xenial/contrib i386 Packages [60.1 kB]
  194. Get:19 http://il.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [318 kB]
  195. Get:29 http://il.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [228 kB]
  196. Get:30 http://il.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
  197. Get:31 http://il.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
  198. Get:32 http://il.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
  199. Get:33 http://il.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
  200. Get:34 http://il.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
  201. Reading package lists... Done
  202. E: The repository 'http://ppa.launchpad.net/attente/modifier-only-input-switch/ubuntu xenial Release' does not have a Release file.
  203. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  204. N: See apt-secure(8) manpage for repository creation and user configuration details.
  205. idanskira@idanskira-E520:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement