Unable to format USB pendrive

Impossible to achieve anyway, the ISO doesn't support persistence. You would need to install manjaro to the USB drive as a physical install rather than creating bootable live media.

1 Like

I followed this guide and achieve it.

I have it on other 16GB Usb pen but it is tooo slow.
I want to try other USB's to compare speeds...

That is NOT persistance. It is exactly as I described above, a full install of manjaro to a thumb drive.

Be careful; this tutorial is not about creating a bootable live USB drive. Instead, we are going to install a complete version from Manjaro on a USB drive, which can be plugged into any PC and run the OS! All your saved data will remain on the USB, unlike the live USB where data doesn’t get saved. It depends on the session that is running if it’s closed or restarted then data will be gone.

Additionally, speed depends not only on the thumb drive but the capability of the host machine. Even the fastest USB stick can only achieve equivalent SATA 150 speeds for read and a fraction of that for write. It's never going to give internal storage levels of performance.

1 Like

That was very helpful, thank you!

So if this keeps happening I keep buying pens for 6€...LoL

That's what I wanted. A complete installation to save settings etc after session is over to boot from.
The other pen where I have this full install works fine, it's just slow.
I have other pen with live ISO for installing Manjaro on machines.

Sandisk Ultra Fit 16GB - Based on internal testing; performance may be lower depending on host device. 1MB=1,000,000 bytes. (for 16GB) Read speed up to 130MB/s; write speeds lower, vary by capacity. USB 3.0 port required.

Higher capacities are available. Transcend make decent USB 3.1 drives too

Or do it properly with a portable SSD. Not cheap but if it's for work, ask them to purchase it for you.

Another option:

SSD M.2 + enclosure

1 Like

Like I said above:
What if this keeps happening to newer USB drive?

I rather learn how to fix it

Disk model: Flash Disk      
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: 0x8b27073d

Device     Boot   Start     End Sectors Size Id Type
/dev/sdb1  *       2048 4095999 4093952   2G  c W95 FAT32 (LBA)
/dev/sdb2       4096000 8177663 4081664   2G 83 Linux
[jesuslinux@jesuslinux ~]$ sudo hdparm -r0 /dev/sdb

/dev/sdb:
 setting readonly to 0 (off)
 readonly      =  0 (off)
[jesuslinux@jesuslinux ~]$ sudo dd if=/dev/zero of=/dev/sdb
dd: failed to open '/dev/sdb': Read-only file system
[jesuslinux@jesuslinux ~]$ sudo dd if=/dev/zero of=/dev/sdb status=progress oflag=sync
[sudo] password for jesuslinux: 
dd: failed to open '/dev/sdb': Read-only file system

try the free HP utility, run it in Windows with admin rights. Don't attempt to run it in VM or with WINE. It can usually sort out funky USB sticks from any brand.

https://www.bleepingcomputer.com/download/hp-usb-disk-storage-format-tool/

[jesuslinux@jesuslinux ~]$ su -l root
Password: 
[jesuslinux ~]# lsblk 
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111,8G  0 disk 
├─sda1   8:1    0 105,4G  0 part /
└─sda2   8:2    0   6,4G  0 part [SWAP]
sdb      8:16   1    15G  0 disk 
sr0     11:0    1  1024M  0 rom  
[jesuslinux ~]# dd if=/dev/zero of=/dev/sdb bs=4M status=progress
15950938112 bytes (16 GB, 15 GiB) copied, 2132 s, 7,5 MB/s 
dd: error writing '/dev/sdb': No space left on device
3826+0 records in
3825+0 records out
16043212800 bytes (16 GB, 15 GiB) copied, 2136,43 s, 7,5 MB/s
[jesuslinux ~]# dd if=/dev/zero of=/dev/sdl bs=4M status=progress

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by