Advertisement
Guest User

Untitled

a guest
Mar 27th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. # fdisk /dev/sdb
  2.  
  3. Welcome to fdisk (util-linux 2.33.2).
  4. Changes will remain in memory only, until you decide to write them.
  5. Be careful before using the write command.
  6.  
  7.  
  8. Command (m for help): o
  9. Created a new DOS disklabel with disk identifier 0x39bbe74f.
  10.  
  11. Command (m for help): n
  12. Partition type
  13. p primary (0 primary, 0 extended, 4 free)
  14. e extended (container for logical partitions)
  15. Select (default p): p
  16. Partition number (1-4, default 1):
  17. First sector (2048-62333951, default 2048):
  18. Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 62333951): +1G
  19.  
  20. Created a new partition 1 of type 'Linux' and of size 1 GiB.
  21. Partition #1 contains a vfat signature.
  22.  
  23. Do you want to remove the signature? [Y]es/[N]o: y
  24.  
  25. The signature will be removed by a write command.
  26.  
  27. Command (m for help): t
  28. Selected partition 1
  29.  
  30. Hex code (type L to list all codes): 6
  31. Changed type of partition 'Linux' to 'FAT16'.
  32.  
  33. Command (m for help): p
  34. Disk /dev/sdb: 29.7 GiB, 31914983424 bytes, 62333952 sectors
  35. Disk model: SD/MMC
  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. Disklabel type: dos
  40. Disk identifier: 0x39bbe74f
  41.  
  42. Device Boot Start End Sectors Size Id Type
  43. /dev/sdb1 2048 2099199 2097152 1G 6 FAT16
  44.  
  45. Filesystem/RAID signature on partition 1 will be wiped.
  46.  
  47. Command (m for help): w
  48. The partition table has been altered.
  49. Calling ioctl() to re-read partition table.
  50. Syncing disks.
  51.  
  52.  
  53.  
  54. # mkdosfs -F 16 /dev/sdb1
  55. mkfs.fat 4.1 (2017-01-24)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement