Thursday, May 16, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1241  / 1 Year ago, thu, may 18, 2023, 10:23:05

I've been messing around with my usb, trying to make a live usb with debian on it. I used the dd command in the terminal. After multiple failures I just gave up, and I want the usb back to normal.



I tried fixing it whit the KDE partition manager, realizing that I suck with the terminal.



The manager displays the drive and the sdb1 partition on it but the file system is unknown. I can't do anything other than delete the partition.



The partition is successfully deleted and I'm left with unallocated space.



I click on "new partition", keep the settings normal, ext2 file system, and then apply changes.



Here's where the errors happen and the operation is aborted. This is the output:



Job: Check file system on partition ‘/dev/sdb1’
Command: e2fsck -f -y -v /dev/sdb1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sdb1 is in use.
e2fsck: Cannot continue, aborting.



Check file system on partition ‘/dev/sdb1’: Error
Create a new partition (14.91 GiB, ext2) on ‘/dev/sdb’: Error



I've tried formatting to different file systems but i always get the same error, i also tried formatting it on a windows machine but with no success either.


More From » partitioning

 Answers
6

First install GParted:



sudo apt-get install gparted


Open it, select your USB device, unmount if the case (right click on it and Unmount) and create a new msdos partition table (Partition menu). After that you can format it with GParted or any other tool.


[#25461] Saturday, May 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eryeath

Total Points: 122
Total Questions: 121
Total Answers: 112

Location: Saint Helena
Member since Fri, Aug 26, 2022
2 Years ago
eryeath questions
Sat, May 28, 22, 09:50, 2 Years ago
Fri, Sep 9, 22, 13:09, 2 Years ago
Wed, Sep 8, 21, 03:57, 3 Years ago
Fri, Mar 17, 23, 00:13, 1 Year ago
Sat, Apr 16, 22, 06:07, 2 Years ago
;