Ardianta_Pargo

Coba memmperbaiki flashdisk di linux

Nov 4th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.49 KB | None | 0 0
  1. ardianta@imajinasi:~$ sudo su
  2. [sudo] password for ardianta:
  3. root@imajinasi:/home/ardianta# fdisk -l
  4.  
  5. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  6. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  7. Units = sectors of 1 * 512 = 512 bytes
  8. Sector size (logical/physical): 512 bytes / 512 bytes
  9. I/O size (minimum/optimal): 512 bytes / 512 bytes
  10. Disk identifier: 0xd56519cd
  11.  
  12. Device Boot Start End Blocks Id System
  13. /dev/sda1 * 2048 80001023 39999488 83 Linux
  14. /dev/sda2 80003070 312580095 116288513 5 Extended
  15. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  16. /dev/sda6 84002816 312580095 114288640 83 Linux
  17.  
  18. Disk /dev/sdc: 16.8 GB, 16777216000 bytes
  19. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  20. Units = sectors of 1 * 512 = 512 bytes
  21. Sector size (logical/physical): 512 bytes / 512 bytes
  22. I/O size (minimum/optimal): 512 bytes / 512 bytes
  23. Disk identifier: 0xead45d32
  24.  
  25. Device Boot Start End Blocks Id System
  26. /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
  27. root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
  28.  
  29. Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
  30. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  31. Units = sectors of 1 * 512 = 512 bytes
  32. Sector size (logical/physical): 512 bytes / 512 bytes
  33. I/O size (minimum/optimal): 512 bytes / 512 bytes
  34. Disk identifier: 0x69737369
  35.  
  36. This doesn't look like a partition table
  37. Probably you selected the wrong device.
  38.  
  39. Device Boot Start End Blocks Id System
  40. /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
  41. /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  42. /dev/sdc1p3 ? 2573 2573 0 74 Unknown
  43. /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
  44.  
  45. Partition table entries are not in disk order
  46. root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
  47.  
  48. Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
  49. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  50. Units = sectors of 1 * 512 = 512 bytes
  51. Sector size (logical/physical): 512 bytes / 512 bytes
  52. I/O size (minimum/optimal): 512 bytes / 512 bytes
  53. Disk identifier: 0x69737369
  54.  
  55. This doesn't look like a partition table
  56. Probably you selected the wrong device.
  57.  
  58. Device Boot Start End Blocks Id System
  59. /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
  60. /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  61. /dev/sdc1p3 ? 2573 2573 0 74 Unknown
  62. /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
  63.  
  64. Partition table entries are not in disk order
  65. root@imajinasi:/home/ardianta# mkf
  66. mkfifo mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
  67. mkfontdir mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
  68. mkfontscale mkfs.cramfs mkfs.ext4 mkfs.msdos
  69. root@imajinasi:/home/ardianta# mkf
  70. mkfifo mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
  71. mkfontdir mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
  72. mkfontscale mkfs.cramfs mkfs.ext4 mkfs.msdos
  73. root@imajinasi:/home/ardianta# mkfs
  74. mkfs mkfs.ext2 mkfs.ext4dev mkfs.ntfs
  75. mkfs.bfs mkfs.ext3 mkfs.minix mkfs.vfat
  76. mkfs.cramfs mkfs.ext4 mkfs.msdos
  77. root@imajinasi:/home/ardianta# mkfs.vfat /dev/sdc1
  78. mkfs.vfat 3.0.12 (29 Oct 2011)
  79. root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
  80.  
  81. Disk /dev/sdc1: 16.8 GB, 16776900608 bytes
  82. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  83. Units = sectors of 1 * 512 = 512 bytes
  84. Sector size (logical/physical): 512 bytes / 512 bytes
  85. I/O size (minimum/optimal): 512 bytes / 512 bytes
  86. Disk identifier: 0x69737369
  87.  
  88. This doesn't look like a partition table
  89. Probably you selected the wrong device.
  90.  
  91. Device Boot Start End Blocks Id System
  92. /dev/sdc1p1 ? 1869771365 2038460886 84344761 69 Unknown
  93. /dev/sdc1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  94. /dev/sdc1p3 ? 2573 2573 0 74 Unknown
  95. /dev/sdc1p4 2885681152 2885733566 26207+ 0 Empty
  96.  
  97. Partition table entries are not in disk order
  98. root@imajinasi:/home/ardianta# fdisk -l
  99.  
  100. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  101. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  102. Units = sectors of 1 * 512 = 512 bytes
  103. Sector size (logical/physical): 512 bytes / 512 bytes
  104. I/O size (minimum/optimal): 512 bytes / 512 bytes
  105. Disk identifier: 0xd56519cd
  106.  
  107. Device Boot Start End Blocks Id System
  108. /dev/sda1 * 2048 80001023 39999488 83 Linux
  109. /dev/sda2 80003070 312580095 116288513 5 Extended
  110. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  111. /dev/sda6 84002816 312580095 114288640 83 Linux
  112.  
  113. Disk /dev/sdc: 16.8 GB, 16777216000 bytes
  114. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  115. Units = sectors of 1 * 512 = 512 bytes
  116. Sector size (logical/physical): 512 bytes / 512 bytes
  117. I/O size (minimum/optimal): 512 bytes / 512 bytes
  118. Disk identifier: 0xead45d32
  119.  
  120. Device Boot Start End Blocks Id System
  121. /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
  122. root@imajinasi:/home/ardianta# mkfs. /dev/sdc1
  123. mkfs.bfs mkfs.ext2 mkfs.ext4 mkfs.minix mkfs.ntfs
  124. mkfs.cramfs mkfs.ext3 mkfs.ext4dev mkfs.msdos mkfs.vfat
  125. root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
  126. /dev/sdc1 is mounted.
  127. Refusing to make a filesystem here!
  128. root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
  129. Failed to access '/dev/sdc1': No such file or directory
  130. The device doesn't exist; did you specify it correctly?
  131. root@imajinasi:/home/ardianta# fdisk -l
  132.  
  133. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  134. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  135. Units = sectors of 1 * 512 = 512 bytes
  136. Sector size (logical/physical): 512 bytes / 512 bytes
  137. I/O size (minimum/optimal): 512 bytes / 512 bytes
  138. Disk identifier: 0xd56519cd
  139.  
  140. Device Boot Start End Blocks Id System
  141. /dev/sda1 * 2048 80001023 39999488 83 Linux
  142. /dev/sda2 80003070 312580095 116288513 5 Extended
  143. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  144. /dev/sda6 84002816 312580095 114288640 83 Linux
  145. root@imajinasi:/home/ardianta# fdisk -l
  146.  
  147. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  148. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  149. Units = sectors of 1 * 512 = 512 bytes
  150. Sector size (logical/physical): 512 bytes / 512 bytes
  151. I/O size (minimum/optimal): 512 bytes / 512 bytes
  152. Disk identifier: 0xd56519cd
  153.  
  154. Device Boot Start End Blocks Id System
  155. /dev/sda1 * 2048 80001023 39999488 83 Linux
  156. /dev/sda2 80003070 312580095 116288513 5 Extended
  157. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  158. /dev/sda6 84002816 312580095 114288640 83 Linux
  159. root@imajinasi:/home/ardianta# fdisk -l
  160.  
  161. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  162. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  163. Units = sectors of 1 * 512 = 512 bytes
  164. Sector size (logical/physical): 512 bytes / 512 bytes
  165. I/O size (minimum/optimal): 512 bytes / 512 bytes
  166. Disk identifier: 0xd56519cd
  167.  
  168. Device Boot Start End Blocks Id System
  169. /dev/sda1 * 2048 80001023 39999488 83 Linux
  170. /dev/sda2 80003070 312580095 116288513 5 Extended
  171. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  172. /dev/sda6 84002816 312580095 114288640 83 Linux
  173.  
  174. Disk /dev/sdc: 16.8 GB, 16777216000 bytes
  175. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  176. Units = sectors of 1 * 512 = 512 bytes
  177. Sector size (logical/physical): 512 bytes / 512 bytes
  178. I/O size (minimum/optimal): 512 bytes / 512 bytes
  179. Disk identifier: 0xead45d32
  180.  
  181. Device Boot Start End Blocks Id System
  182. /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
  183. root@imajinasi:/home/ardianta# mkfs.ntfs /dev/sdc1
  184. Cluster size has been automatically set to 4096 bytes.
  185. Initializing device with zeroes: 100% - Done.
  186. Creating NTFS volume structures.
  187. Failed to sync device /dev/sdc1: Input/output error
  188. Syncing device. FAILEDroot@imajinasi:/home/ardianta# fdisk -l
  189.  
  190. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  191. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  192. Units = sectors of 1 * 512 = 512 bytes
  193. Sector size (logical/physical): 512 bytes / 512 bytes
  194. I/O size (minimum/optimal): 512 bytes / 512 bytes
  195. Disk identifier: 0xd56519cd
  196.  
  197. Device Boot Start End Blocks Id System
  198. /dev/sda1 * 2048 80001023 39999488 83 Linux
  199. /dev/sda2 80003070 312580095 116288513 5 Extended
  200. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  201. /dev/sda6 84002816 312580095 114288640 83 Linux
  202.  
  203. Disk /dev/sdc: 16.8 GB, 16777216000 bytes
  204. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  205. Units = sectors of 1 * 512 = 512 bytes
  206. Sector size (logical/physical): 512 bytes / 512 bytes
  207. I/O size (minimum/optimal): 512 bytes / 512 bytes
  208. Disk identifier: 0xead45d32
  209.  
  210. Device Boot Start End Blocks Id System
  211. /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
  212. root@imajinasi:/home/ardianta# fdisk -l
  213.  
  214. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  215. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  216. Units = sectors of 1 * 512 = 512 bytes
  217. Sector size (logical/physical): 512 bytes / 512 bytes
  218. I/O size (minimum/optimal): 512 bytes / 512 bytes
  219. Disk identifier: 0xd56519cd
  220.  
  221. Device Boot Start End Blocks Id System
  222. /dev/sda1 * 2048 80001023 39999488 83 Linux
  223. /dev/sda2 80003070 312580095 116288513 5 Extended
  224. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  225. /dev/sda6 84002816 312580095 114288640 83 Linux
  226.  
  227. Disk /dev/sdc: 16.8 GB, 16777216000 bytes
  228. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  229. Units = sectors of 1 * 512 = 512 bytes
  230. Sector size (logical/physical): 512 bytes / 512 bytes
  231. I/O size (minimum/optimal): 512 bytes / 512 bytes
  232. Disk identifier: 0xead45d32
  233.  
  234. Device Boot Start End Blocks Id System
  235. /dev/sdc1 * 616 32767999 16383692 fd Linux raid autodetect
  236. root@imajinasi:/home/ardianta# dd if=/dev/zero of=/dev/sdc1
  237.  
  238. ^C95241+0 records in
  239. 95241+0 records out
  240. 48763392 bytes (49 MB) copied, 266.002 s, 183 kB/s
  241.  
  242. root@imajinasi:/home/ardianta# fdisk -l
  243.  
  244. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  245. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  246. Units = sectors of 1 * 512 = 512 bytes
  247. Sector size (logical/physical): 512 bytes / 512 bytes
  248. I/O size (minimum/optimal): 512 bytes / 512 bytes
  249. Disk identifier: 0xd56519cd
  250.  
  251. Device Boot Start End Blocks Id System
  252. /dev/sda1 * 2048 80001023 39999488 83 Linux
  253. /dev/sda2 80003070 312580095 116288513 5 Extended
  254. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  255. /dev/sda6 84002816 312580095 114288640 83 Linux
  256. root@imajinasi:/home/ardianta# fdisk -l
  257.  
  258. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  259. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  260. Units = sectors of 1 * 512 = 512 bytes
  261. Sector size (logical/physical): 512 bytes / 512 bytes
  262. I/O size (minimum/optimal): 512 bytes / 512 bytes
  263. Disk identifier: 0xd56519cd
  264.  
  265. Device Boot Start End Blocks Id System
  266. /dev/sda1 * 2048 80001023 39999488 83 Linux
  267. /dev/sda2 80003070 312580095 116288513 5 Extended
  268. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  269. /dev/sda6 84002816 312580095 114288640 83 Linux
  270.  
  271. Disk /dev/sdd: 16.8 GB, 16777216000 bytes
  272. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  273. Units = sectors of 1 * 512 = 512 bytes
  274. Sector size (logical/physical): 512 bytes / 512 bytes
  275. I/O size (minimum/optimal): 512 bytes / 512 bytes
  276. Disk identifier: 0xead45d32
  277.  
  278. Device Boot Start End Blocks Id System
  279. /dev/sdd1 * 616 32767999 16383692 fd Linux raid autodetect
  280. root@imajinasi:/home/ardianta# fdisk -l /dev/sdc
  281. root@imajinasi:/home/ardianta# fdisk -l /dev/sdc1
  282. root@imajinasi:/home/ardianta# fdisk -l /dev/sdd1
  283.  
  284. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  285. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  286. Units = sectors of 1 * 512 = 512 bytes
  287. Sector size (logical/physical): 512 bytes / 512 bytes
  288. I/O size (minimum/optimal): 512 bytes / 512 bytes
  289. Disk identifier: 0x69737369
  290.  
  291. This doesn't look like a partition table
  292. Probably you selected the wrong device.
  293.  
  294. Device Boot Start End Blocks Id System
  295. /dev/sdd1p1 ? 1869771365 2038460886 84344761 69 Unknown
  296. /dev/sdd1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  297. /dev/sdd1p3 ? 2573 2573 0 74 Unknown
  298. /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
  299.  
  300. Partition table entries are not in disk order
  301. root@imajinasi:/home/ardianta# fdisk /dev/sdd1
  302.  
  303. Command (m for help): m
  304. Command action
  305. a toggle a bootable flag
  306. b edit bsd disklabel
  307. c toggle the dos compatibility flag
  308. d delete a partition
  309. l list known partition types
  310. m print this menu
  311. n add a new partition
  312. o create a new empty DOS partition table
  313. p print the partition table
  314. q quit without saving changes
  315. s create a new empty Sun disklabel
  316. t change a partition's system id
  317. u change display/entry units
  318. v verify the partition table
  319. w write table to disk and exit
  320. x extra functionality (experts only)
  321.  
  322. Command (m for help): d
  323. Partition number (1-4): 1
  324.  
  325. Command (m for help): m
  326. Command action
  327. a toggle a bootable flag
  328. b edit bsd disklabel
  329. c toggle the dos compatibility flag
  330. d delete a partition
  331. l list known partition types
  332. m print this menu
  333. n add a new partition
  334. o create a new empty DOS partition table
  335. p print the partition table
  336. q quit without saving changes
  337. s create a new empty Sun disklabel
  338. t change a partition's system id
  339. u change display/entry units
  340. v verify the partition table
  341. w write table to disk and exit
  342. x extra functionality (experts only)
  343.  
  344. Command (m for help): l
  345.  
  346. 0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
  347. 1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
  348. 2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
  349. 3 XENIX usr 3c PartitionMagic 84 OS/2 hidden C: c6 DRDOS/sec (FAT-
  350. 4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
  351. 5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
  352. 6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
  353. 7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
  354. 8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
  355. 9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
  356. a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
  357. b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
  358. c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi eb BeOS fs
  359. e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD ee GPT
  360. f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ef EFI (FAT-12/16/
  361. 10 OPUS 55 EZ-Drive a7 NeXTSTEP f0 Linux/PA-RISC b
  362. 11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f1 SpeedStor
  363. 12 Compaq diagnost 5c Priam Edisk a9 NetBSD f4 SpeedStor
  364. 14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f2 DOS secondary
  365. 16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ fb VMware VMFS
  366. 17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fc VMware VMKCORE
  367. 18 AST SmartSleep 65 Novell Netware b8 BSDI swap fd Linux raid auto
  368. 1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fe LANstep
  369. 1c Hidden W95 FAT3 75 PC/IX be Solaris boot ff BBT
  370. 1e Hidden W95 FAT1 80 Old Minix
  371.  
  372. Command (m for help): m
  373. Command action
  374. a toggle a bootable flag
  375. b edit bsd disklabel
  376. c toggle the dos compatibility flag
  377. d delete a partition
  378. l list known partition types
  379. m print this menu
  380. n add a new partition
  381. o create a new empty DOS partition table
  382. p print the partition table
  383. q quit without saving changes
  384. s create a new empty Sun disklabel
  385. t change a partition's system id
  386. u change display/entry units
  387. v verify the partition table
  388. w write table to disk and exit
  389. x extra functionality (experts only)
  390.  
  391. Command (m for help): p
  392.  
  393. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  394. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  395. Units = sectors of 1 * 512 = 512 bytes
  396. Sector size (logical/physical): 512 bytes / 512 bytes
  397. I/O size (minimum/optimal): 512 bytes / 512 bytes
  398. Disk identifier: 0x69737369
  399.  
  400. This doesn't look like a partition table
  401. Probably you selected the wrong device.
  402.  
  403. Device Boot Start End Blocks Id System
  404. /dev/sdd1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  405. /dev/sdd1p3 ? 2573 2573 0 74 Unknown
  406. /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
  407.  
  408. Partition table entries are not in disk order
  409.  
  410. Command (m for help): d
  411. Partition number (1-4): 2
  412.  
  413. Command (m for help): m
  414. Command action
  415. a toggle a bootable flag
  416. b edit bsd disklabel
  417. c toggle the dos compatibility flag
  418. d delete a partition
  419. l list known partition types
  420. m print this menu
  421. n add a new partition
  422. o create a new empty DOS partition table
  423. p print the partition table
  424. q quit without saving changes
  425. s create a new empty Sun disklabel
  426. t change a partition's system id
  427. u change display/entry units
  428. v verify the partition table
  429. w write table to disk and exit
  430. x extra functionality (experts only)
  431.  
  432. Command (m for help): p
  433.  
  434. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  435. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  436. Units = sectors of 1 * 512 = 512 bytes
  437. Sector size (logical/physical): 512 bytes / 512 bytes
  438. I/O size (minimum/optimal): 512 bytes / 512 bytes
  439. Disk identifier: 0x69737369
  440.  
  441. This doesn't look like a partition table
  442. Probably you selected the wrong device.
  443.  
  444. Device Boot Start End Blocks Id System
  445. /dev/sdd1p3 ? 2573 2573 0 74 Unknown
  446. /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
  447.  
  448. Command (m for help): d
  449. Partition number (1-4): 3
  450.  
  451. Command (m for help): p
  452.  
  453. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  454. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  455. Units = sectors of 1 * 512 = 512 bytes
  456. Sector size (logical/physical): 512 bytes / 512 bytes
  457. I/O size (minimum/optimal): 512 bytes / 512 bytes
  458. Disk identifier: 0x69737369
  459.  
  460. Device Boot Start End Blocks Id System
  461. /dev/sdd1p4 2885681152 2885733566 26207+ 0 Empty
  462.  
  463. Command (m for help): m
  464. Command action
  465. a toggle a bootable flag
  466. b edit bsd disklabel
  467. c toggle the dos compatibility flag
  468. d delete a partition
  469. l list known partition types
  470. m print this menu
  471. n add a new partition
  472. o create a new empty DOS partition table
  473. p print the partition table
  474. q quit without saving changes
  475. s create a new empty Sun disklabel
  476. t change a partition's system id
  477. u change display/entry units
  478. v verify the partition table
  479. w write table to disk and exit
  480. x extra functionality (experts only)
  481.  
  482. Command (m for help): n
  483. Partition type:
  484. p primary (0 primary, 0 extended, 4 free)
  485. e extended
  486. Select (default p): p
  487. Partition number (1-4, default 1): 4
  488. First sector (2048-32767383, default 2048):
  489. Using default value 2048
  490. Last sector, +sectors or +size{K,M,G} (2048-32767383, default 32767383):
  491. Using default value 32767383
  492.  
  493. Command (m for help): m
  494. Command action
  495. a toggle a bootable flag
  496. b edit bsd disklabel
  497. c toggle the dos compatibility flag
  498. d delete a partition
  499. l list known partition types
  500. m print this menu
  501. n add a new partition
  502. o create a new empty DOS partition table
  503. p print the partition table
  504. q quit without saving changes
  505. s create a new empty Sun disklabel
  506. t change a partition's system id
  507. u change display/entry units
  508. v verify the partition table
  509. w write table to disk and exit
  510. x extra functionality (experts only)
  511.  
  512. Command (m for help): p
  513.  
  514. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  515. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  516. Units = sectors of 1 * 512 = 512 bytes
  517. Sector size (logical/physical): 512 bytes / 512 bytes
  518. I/O size (minimum/optimal): 512 bytes / 512 bytes
  519. Disk identifier: 0x69737369
  520.  
  521. Device Boot Start End Blocks Id System
  522. /dev/sdd1p4 2048 32767383 16382668 83 Linux
  523.  
  524. Command (m for help): m
  525. Command action
  526. a toggle a bootable flag
  527. b edit bsd disklabel
  528. c toggle the dos compatibility flag
  529. d delete a partition
  530. l list known partition types
  531. m print this menu
  532. n add a new partition
  533. o create a new empty DOS partition table
  534. p print the partition table
  535. q quit without saving changes
  536. s create a new empty Sun disklabel
  537. t change a partition's system id
  538. u change display/entry units
  539. v verify the partition table
  540. w write table to disk and exit
  541. x extra functionality (experts only)
  542.  
  543. Command (m for help): n
  544. Partition type:
  545. p primary (1 primary, 0 extended, 3 free)
  546. e extended
  547. Select (default p): 1
  548. Invalid partition type `1'
  549.  
  550. Command (m for help): m
  551. Command action
  552. a toggle a bootable flag
  553. b edit bsd disklabel
  554. c toggle the dos compatibility flag
  555. d delete a partition
  556. l list known partition types
  557. m print this menu
  558. n add a new partition
  559. o create a new empty DOS partition table
  560. p print the partition table
  561. q quit without saving changes
  562. s create a new empty Sun disklabel
  563. t change a partition's system id
  564. u change display/entry units
  565. v verify the partition table
  566. w write table to disk and exit
  567. x extra functionality (experts only)
  568.  
  569. Command (m for help): m
  570. Command action
  571. a toggle a bootable flag
  572. b edit bsd disklabel
  573. c toggle the dos compatibility flag
  574. d delete a partition
  575. l list known partition types
  576. m print this menu
  577. n add a new partition
  578. o create a new empty DOS partition table
  579. p print the partition table
  580. q quit without saving changes
  581. s create a new empty Sun disklabel
  582. t change a partition's system id
  583. u change display/entry units
  584. v verify the partition table
  585. w write table to disk and exit
  586. x extra functionality (experts only)
  587.  
  588. Command (m for help): p
  589.  
  590. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  591. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  592. Units = sectors of 1 * 512 = 512 bytes
  593. Sector size (logical/physical): 512 bytes / 512 bytes
  594. I/O size (minimum/optimal): 512 bytes / 512 bytes
  595. Disk identifier: 0x69737369
  596.  
  597. Device Boot Start End Blocks Id System
  598. /dev/sdd1p4 2048 32767383 16382668 83 Linux
  599.  
  600. Command (m for help): v
  601. Remaining 2047 unallocated 512-byte sectors
  602.  
  603. Command (m for help): m
  604. Command action
  605. a toggle a bootable flag
  606. b edit bsd disklabel
  607. c toggle the dos compatibility flag
  608. d delete a partition
  609. l list known partition types
  610. m print this menu
  611. n add a new partition
  612. o create a new empty DOS partition table
  613. p print the partition table
  614. q quit without saving changes
  615. s create a new empty Sun disklabel
  616. t change a partition's system id
  617. u change display/entry units
  618. v verify the partition table
  619. w write table to disk and exit
  620. x extra functionality (experts only)
  621.  
  622. Command (m for help): o
  623. Building a new DOS disklabel with disk identifier 0xa9687a0b.
  624. Changes will remain in memory only, until you decide to write them.
  625. After that, of course, the previous content won't be recoverable.
  626.  
  627. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  628.  
  629. Command (m for help): p
  630.  
  631. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  632. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  633. Units = sectors of 1 * 512 = 512 bytes
  634. Sector size (logical/physical): 512 bytes / 512 bytes
  635. I/O size (minimum/optimal): 512 bytes / 512 bytes
  636. Disk identifier: 0xa9687a0b
  637.  
  638. Device Boot Start End Blocks Id System
  639.  
  640. Command (m for help): p
  641.  
  642. Disk /dev/sdd1: 16.8 GB, 16776900608 bytes
  643. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  644. Units = sectors of 1 * 512 = 512 bytes
  645. Sector size (logical/physical): 512 bytes / 512 bytes
  646. I/O size (minimum/optimal): 512 bytes / 512 bytes
  647. Disk identifier: 0xa9687a0b
  648.  
  649. Device Boot Start End Blocks Id System
  650.  
  651. Command (m for help): w
  652. The partition table has been altered!
  653.  
  654. Calling ioctl() to re-read partition table.
  655.  
  656. WARNING: Re-reading the partition table failed with error 22: Invalid argument.
  657. The kernel still uses the old table. The new table will be used at
  658. the next reboot or after you run partprobe(8) or kpartx(8)
  659.  
  660. Error closing file
  661. root@imajinasi:/home/ardianta# fdisk -l
  662.  
  663. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  664. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  665. Units = sectors of 1 * 512 = 512 bytes
  666. Sector size (logical/physical): 512 bytes / 512 bytes
  667. I/O size (minimum/optimal): 512 bytes / 512 bytes
  668. Disk identifier: 0xd56519cd
  669.  
  670. Device Boot Start End Blocks Id System
  671. /dev/sda1 * 2048 80001023 39999488 83 Linux
  672. /dev/sda2 80003070 312580095 116288513 5 Extended
  673. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  674. /dev/sda6 84002816 312580095 114288640 83 Linux
  675.  
  676. Disk /dev/sdd: 16.8 GB, 16777216000 bytes
  677. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  678. Units = sectors of 1 * 512 = 512 bytes
  679. Sector size (logical/physical): 512 bytes / 512 bytes
  680. I/O size (minimum/optimal): 512 bytes / 512 bytes
  681. Disk identifier: 0xead45d32
  682.  
  683. Device Boot Start End Blocks Id System
  684. /dev/sdd1 * 616 32767999 16383692 fd Linux raid autodetect
  685. root@imajinasi:/home/ardianta# fdisk -l sdd1
  686. root@imajinasi:/home/ardianta# mkfs.vfat /dev/sdd1
  687. mkfs.vfat 3.0.12 (29 Oct 2011)
  688. root@imajinasi:/home/ardianta# fdisk -l sdd1
  689. root@imajinasi:/home/ardianta# fdisk -l sdd1
  690. root@imajinasi:/home/ardianta# fdisk sdd1
  691. fdisk: unable to open sdd1: No such file or directory
  692. root@imajinasi:/home/ardianta# lsusb
  693. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  694. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  695. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  696. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  697. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  698. Bus 002 Device 027: ID 19d2:fff1 ZTE WCDMA Technologies MSM
  699. root@imajinasi:/home/ardianta# lsusb
  700. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  701. Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  702. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  703. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  704. Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  705. Bus 002 Device 027: ID 19d2:fff1 ZTE WCDMA Technologies MSM
  706. Bus 001 Device 012: ID 0011:7788
  707. root@imajinasi:/home/ardianta# fdisk -l
  708.  
  709. Disk /dev/sda: 160.0 GB, 160041885696 bytes
  710. 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
  711. Units = sectors of 1 * 512 = 512 bytes
  712. Sector size (logical/physical): 512 bytes / 512 bytes
  713. I/O size (minimum/optimal): 512 bytes / 512 bytes
  714. Disk identifier: 0xd56519cd
  715.  
  716. Device Boot Start End Blocks Id System
  717. /dev/sda1 * 2048 80001023 39999488 83 Linux
  718. /dev/sda2 80003070 312580095 116288513 5 Extended
  719. /dev/sda5 80003072 84000767 1998848 82 Linux swap / Solaris
  720. /dev/sda6 84002816 312580095 114288640 83 Linux
  721.  
  722. Disk /dev/sde: 16.8 GB, 16777216000 bytes
  723. 182 heads, 62 sectors/track, 2903 cylinders, total 32768000 sectors
  724. Units = sectors of 1 * 512 = 512 bytes
  725. Sector size (logical/physical): 512 bytes / 512 bytes
  726. I/O size (minimum/optimal): 512 bytes / 512 bytes
  727. Disk identifier: 0xead45d32
  728.  
  729. Device Boot Start End Blocks Id System
  730. /dev/sde1 * 616 32767999 16383692 fd Linux raid autodetect
  731. root@imajinasi:/home/ardianta# fdisk -l /dev/sde1
  732.  
  733. Disk /dev/sde1: 16.8 GB, 16776900608 bytes
  734. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  735. Units = sectors of 1 * 512 = 512 bytes
  736. Sector size (logical/physical): 512 bytes / 512 bytes
  737. I/O size (minimum/optimal): 512 bytes / 512 bytes
  738. Disk identifier: 0x69737369
  739.  
  740. This doesn't look like a partition table
  741. Probably you selected the wrong device.
  742.  
  743. Device Boot Start End Blocks Id System
  744. /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
  745. /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  746. /dev/sde1p3 ? 2573 2573 0 74 Unknown
  747. /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
  748.  
  749. Partition table entries are not in disk order
  750. root@imajinasi:/home/ardianta# fdisk /dev/sde1
  751.  
  752. Command (m for help): m
  753. Command action
  754. a toggle a bootable flag
  755. b edit bsd disklabel
  756. c toggle the dos compatibility flag
  757. d delete a partition
  758. l list known partition types
  759. m print this menu
  760. n add a new partition
  761. o create a new empty DOS partition table
  762. p print the partition table
  763. q quit without saving changes
  764. s create a new empty Sun disklabel
  765. t change a partition's system id
  766. u change display/entry units
  767. v verify the partition table
  768. w write table to disk and exit
  769. x extra functionality (experts only)
  770.  
  771. Command (m for help): p
  772.  
  773. Disk /dev/sde1: 16.8 GB, 16776900608 bytes
  774. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  775. Units = sectors of 1 * 512 = 512 bytes
  776. Sector size (logical/physical): 512 bytes / 512 bytes
  777. I/O size (minimum/optimal): 512 bytes / 512 bytes
  778. Disk identifier: 0x69737369
  779.  
  780. This doesn't look like a partition table
  781. Probably you selected the wrong device.
  782.  
  783. Device Boot Start End Blocks Id System
  784. /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
  785. /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  786. /dev/sde1p3 ? 2573 2573 0 74 Unknown
  787. /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
  788.  
  789. Partition table entries are not in disk order
  790.  
  791. Command (m for help): m
  792. Command action
  793. a toggle a bootable flag
  794. b edit bsd disklabel
  795. c toggle the dos compatibility flag
  796. d delete a partition
  797. l list known partition types
  798. m print this menu
  799. n add a new partition
  800. o create a new empty DOS partition table
  801. p print the partition table
  802. q quit without saving changes
  803. s create a new empty Sun disklabel
  804. t change a partition's system id
  805. u change display/entry units
  806. v verify the partition table
  807. w write table to disk and exit
  808. x extra functionality (experts only)
  809.  
  810. Command (m for help): p
  811.  
  812. Disk /dev/sde1: 16.8 GB, 16776900608 bytes
  813. 64 heads, 32 sectors/track, 15999 cylinders, total 32767384 sectors
  814. Units = sectors of 1 * 512 = 512 bytes
  815. Sector size (logical/physical): 512 bytes / 512 bytes
  816. I/O size (minimum/optimal): 512 bytes / 512 bytes
  817. Disk identifier: 0x69737369
  818.  
  819. This doesn't look like a partition table
  820. Probably you selected the wrong device.
  821.  
  822. Device Boot Start End Blocks Id System
  823. /dev/sde1p1 ? 1869771365 2038460886 84344761 69 Unknown
  824. /dev/sde1p2 ? 1701519481 3571400945 934940732+ 73 Unknown
  825. /dev/sde1p3 ? 2573 2573 0 74 Unknown
  826. /dev/sde1p4 2885681152 2885733566 26207+ 0 Empty
  827.  
  828. Partition table entries are not in disk order
  829.  
  830. Command (m for help): m
  831. Command action
  832. a toggle a bootable flag
  833. b edit bsd disklabel
  834. c toggle the dos compatibility flag
  835. d delete a partition
  836. l list known partition types
  837. m print this menu
  838. n add a new partition
  839. o create a new empty DOS partition table
  840. p print the partition table
  841. q quit without saving changes
  842. s create a new empty Sun disklabel
  843. t change a partition's system id
  844. u change display/entry units
  845. v verify the partition table
  846. w write table to disk and exit
  847. x extra functionality (experts only)
  848.  
  849. Command (m for help): q
  850.  
  851. root@imajinasi:/home/ardianta#
Advertisement
Add Comment
Please, Sign In to add comment