
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,538 Views
I took a Red Hat Exam remotely recently and now I'm trying to reusue the USB device which has the downloaded exxam ISO on it but for some reason I cannot remove the encrypted partition that exists on the device. I've tried deleting it, formating it and even writing a whole new partition table to the device but I always get an error when it comes to getting rid of the encrypted partition.
Running `sudo fsck /dev/sdb` gives the error `fsck.ext2: Operation not permitted while trying to open /dev/sdb`
Running fdisk and trying to delete the encrypted partition gives the error `fdisk: failed to write disklabel: Operation not permitted`
It seems at this point the exam ISO has wrecked the USB drive
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,484 Views
Fedora Media writer reports the device as not being writable and balena etcher fails with a similar error. I have now resolved the issue by borrowing a friends Windows machine which allowed me to manually delete the partitions. Frustrating this was needed but pleased to have resolved the issue. Thanks for the suggestions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,525 Views
@John_Daisley formatting the USB should clean it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,520 Views
@Chetan_Tiwary_ If I try and format it I get the error `/dev/sdb1: Operation not permitted while setting up superblock`. This is with mkfs.ext4 as root!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,489 Views
@John_Daisley Please use a software like Rufus, FormatUSB, Fedora Media writer etc to have the USB formatted.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,519 Views
@John_Daisley Try downloading and installing Fedora Media Writer. Once installed, launch the software/application and you can format the USB using the same software.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,485 Views
Fedora Media writer reports the device as not being writable and balena etcher fails with a similar error. I have now resolved the issue by borrowing a friends Windows machine which allowed me to manually delete the partitions. Frustrating this was needed but pleased to have resolved the issue. Thanks for the suggestions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,475 Views
ok glad to know that it was resolved!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 804 Views
The handy GUI tool for Windows is AOMEI Partition Assistant. It is free.