Hello. I want to create several partitions on a flash drive, but when I run fdisk - l then the flash drive is displayed as sdb1 . After creating several partitions and mounting their flash drive again displayed as sdb1 . Tell me, please, how to create partitions on the flash drive
4 answers
Your flash drive is / dev / sdb! Run fdisk -l / dev / sdb and see its partition table, including at least / dev / sdb1. Well, what would change it, fdisk / dev / sdb and there already you will understand.
Maybe it's easier for you to use gparted for this?
Do not forget after creating partitions in fdisk execute the command w - write the modified table to disk.
The parted command has a functionally different from fdisk , supports GUID partition tables, allows you to not worry about placing partitions on the boundaries of virtual "cylinders" and "sectors", allows you to easily create partitions in tens of terabytes ( fdisk has limitations here), and makes changes to the disk immediately after the execution of each command.
A flash drive is usually interpreted by the system as removable media, such as a floppy disk (if anyone remembers). Therefore, by default, only the first section is visible there. How to fix this is described here: http://gromr1.blogspot.ru/2012/01/bootice.html In addition, Dmitri Chubarov's comment is noteworthy - to do sections not with the MBR, but with the GUID. Itself, however, did not try on the flash.