My manual attempt using fdisk and mkfs.ext2:
Code: Select all
root@porteus:/# fdisk -l /dev/sdd
Disk /dev/sdd: 14.45 GiB, 15518924800 bytes, 30310400 sectors
Disk model: Alu Line
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@porteus:/# fdisk /dev/sdd
Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xc24adb2a.
Command (m for help): p
Disk /dev/sdd: 14.45 GiB, 15518924800 bytes, 30310400 sectors
Disk model: Alu Line
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: 0xjaddajadda
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-30310399, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-30310399, default 30310399):
Created a new partition 1 of type 'Linux' and of size 14.5 GiB.
Command (m for help): p
Disk /dev/sdd: 14.45 GiB, 15518924800 bytes, 30310400 sectors
Disk model: Alu Line
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: 0xc24adb2a
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 30310399 30308352 14.5G 83 Linux
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
root@porteus:/# mkfs.ext2 /dev/sdd1
mke2fs 1.45.6 (20-Mar-2020)
Creating filesystem with 3788544 4k blocks and 948416 inodes
Filesystem UUID: b07a7ef5-93fc-4419-8a22-1ac6a2241696
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: mkfs.ext2: Input/output error while writing out and closing file system
Code: Select all
Device: /dev/sdd
Model: Intenso Alu Line
Serial:
Sector size: 512
Total sectors: 30310400
Heads: 255
Sectors/track: 2
Cylinders: 59432
Partition table: msdos
Partition Type Start End Flags Partition Name File System Label Mount Point
/dev/sdd1 Primary 2048 30310399 unknown
========================================
Format /dev/sdd1 as ext2 00:01:10 ( ERROR )
calibrate /dev/sdd1 00:00:00 ( SUCCESS )
path: /dev/sdd1 (partition)
start: 2048
end: 30310399
size: 30308352 (14.45 GiB)
clear old file system signatures in /dev/sdd1 00:00:10 ( SUCCESS )
write 512.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS )
write 512.00 KiB of zeros at byte offset 15517351936 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 15517810688 00:00:00 ( SUCCESS )
write 8.00 KiB of zeros at byte offset 15517868032 00:00:00 ( SUCCESS )
flush operating system cache of /dev/sdd 00:00:09 ( SUCCESS )
libparted messages ( INFO )
Input/output error during write on /dev/sdd
set partition type on /dev/sdd1 00:01:00 ( SUCCESS )
new partition type: ext2
libparted messages ( INFO )
Input/output error during write on /dev/sdd
create new ext2 file system 00:00:00 ( ERROR )
mkfs.ext2 -F -L '' '/dev/sdd1' 00:00:00 ( ERROR )
mke2fs 1.45.6 (20-Mar-2020)
/dev/sdd1: Read-only file system while setting up superblock
What can be done to make the thumb drive useable? Using Linux tool, no Witless-OS currently available.
It was like this from the start, and silly me misplaced the receipt and I bought it when 16 GB (or more like 14.45 GB - 15518924800 can never be counted as 16 GB - even when using 1000x1000 units instead of 1024x1024) sticks have been much more expansive than they are now.