Hello, I have an issue that I’ve not come across before and hope someone might have some sage words to assist.
I used the following command to place the manjaro mate iso onto a usb stick to use as a install medium:
sudo dd bs=4M if=manjaro-mate-20.2-201212-linux59.iso of=/dev/sdb status=progress oflag=sync
And that works wonderfully to install manjaro mate. The issue is that now I can not format the drive at all.
I have a feeling that the geometry of the device is not being correctly reported to the kernel. sfdisk doesn’t support cylinder / head/ sector options since 2.26.
sdb 8:16 1 225.3G 0 disk
├─sdb1 8:17 1 2.2G 0 part
└─sdb2 8:18 1 4M 0 part
❯ sudo fdisk /dev/sdb
Welcome to fdisk (util-linux 2.36.2).
Command (m for help): p
Disk /dev/sdb: 7.65 GiB, 8213966848 bytes, 16042904 sectors
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: 0x50452f44
❯ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.7
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
Found invalid GPT and valid MBR; converting MBR to GPT format
Disk /dev/sdb: 16042904 sectors, 7.6 GiB
Model: Transcend 256GB
Sector size (logical): 512 bytes
Disk identifier (GUID): F1C8556C-1791-4DB4-B500-29CF59AB1DAE
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 16042870
Partitions will be aligned on 2048-sector boundaries
Total free space is 16042837 sectors (7.6 GiB)
That is really strange. Maybe there is problem with flash drive, maybe it is the kernel driver. idk. To check this i would recommend to replace the flash drive with the same model and try again. If it is still the same, then there must be something wrong with driver.