I was trying to install FreeBSD-Current using install image memstick provided in the site into a 7.2G flash drive. But it will not boot, and it is not detected by thunar. So i am trying to reuse the drive, but sadly i can't reformat it into a working drive, i tried to detect it using fdisk -l
, and it detected as 1.5G sized /dev/loop0
. And GParted can't format /dev/loop
.
My Goal is to make the storage drive usable as USB-stick, or make the drive bootable .
How to do that? I am on live MX-Linux.
EDIT :
# fdisk -l
Disk /dev/loop0: 1.5 GiB, 1647960064 bytes, 3218672 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
…
omitted dev/sda
and dev/sdb
, one is the live distro I am using, one is my hard-disk.
$ lsblk -S
NAME HCTL TYPE VENDOR MODEL REV TRAN
sda 0:0:0:0 disk ATA M4-CT128M4SSD2 0309 sata
sdb 6:0:0:0 disk Kingston DataTraveler_G3 PMAP usb
…
dmesg looped this after detecting /dev/sda
and /dev/sdb
# dmesg
[ 2703.639467] sdc:
[ 2703.641156] sd 7:0:0:0: [sdc] Attached SCSI disk
[ 2709.663891] sdc:
[ 2724.176641] sdc:
[ 2772.664139] raid6: sse2x4 gen() 11666 MB/s
[ 2772.681137] raid6: sse2x4 xor() 6000 MB/s
[ 2772.698138] raid6: sse2x2 gen() 11677 MB/s
[ 2772.715139] raid6: sse2x2 xor() 6635 MB/s
[ 2772.732140] raid6: sse2x1 gen() 9804 MB/s
[ 2772.749140] raid6: sse2x1 xor() 5680 MB/s
[ 2772.749141] raid6: using algorithm sse2x2 gen() 11677 MB/s
[ 2772.749142] raid6: .... xor() 6635 MB/s, rmw enabled
[ 2772.749144] raid6: using ssse3x2 recovery algorithm
[ 2772.761264] xor: automatically using best checksumming function avx
[ 2772.877620] Btrfs loaded, crc32c=crc32c-intel
[ 2773.057855] JFS: nTxBlock = 8192, nTxLock = 65536
[ 2773.206621] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[ 2775.092781] sdc:
[ 2847.105454] sd 7:0:0:0: [sdc] Synchronizing SCSI cache
[ 2847.124910] usb 3-2: USB disconnect, device number 5
[ 2905.979235] usb 3-2: new high-speed USB device number 6 using xhci_hcd
[ 2906.108102] usb 3-2: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
[ 2906.108108] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2906.108110] usb 3-2: Product: TransMemory
[ 2906.108113] usb 3-2: Manufacturer: TOSHIBA
[ 2906.108115] usb 3-2: SerialNumber: 9C3C21577780CF1042227B9E
[ 2906.109122] usb-storage 3-2:1.0: USB Mass Storage device detected
[ 2906.109764] scsi host7: usb-storage 3-2:1.0
[ 2908.859893] scsi 7:0:0:0: Direct-Access GENERIC USB Mass Storage 1.00 PQ: 0 ANSI: 4 CCS
[ 2908.860770] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 2908.862833] sd 7:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
…
/dev/loop0
is probably part of the infrastructure of the Live-MX-Linux. The outputs oflsusb
,lsblk
andlsblk -S
would probably be more useful thanfdisk -l
output.