Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # fdisk /dev/sdb
- Welcome to fdisk (util-linux 2.33.2).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Command (m for help): o
- Created a new DOS disklabel with disk identifier 0x39bbe74f.
- Command (m for help): n
- Partition type
- p primary (0 primary, 0 extended, 4 free)
- e extended (container for logical partitions)
- Select (default p): p
- Partition number (1-4, default 1):
- First sector (2048-62333951, default 2048):
- Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 62333951): +1G
- Created a new partition 1 of type 'Linux' and of size 1 GiB.
- Partition #1 contains a vfat signature.
- Do you want to remove the signature? [Y]es/[N]o: y
- The signature will be removed by a write command.
- Command (m for help): t
- Selected partition 1
- Hex code (type L to list all codes): 6
- Changed type of partition 'Linux' to 'FAT16'.
- Command (m for help): p
- Disk /dev/sdb: 29.7 GiB, 31914983424 bytes, 62333952 sectors
- Disk model: SD/MMC
- Units: sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disklabel type: dos
- Disk identifier: 0x39bbe74f
- Device Boot Start End Sectors Size Id Type
- /dev/sdb1 2048 2099199 2097152 1G 6 FAT16
- Filesystem/RAID signature on partition 1 will be wiped.
- Command (m for help): w
- The partition table has been altered.
- Calling ioctl() to re-read partition table.
- Syncing disks.
- # mkdosfs -F 16 /dev/sdb1
- mkfs.fat 4.1 (2017-01-24)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement