I am having a issue getting my USB drive to create a SWAP.
I am using a LEXAR 16gb USB 2.0 Drive plugged into the usb 2.0 slot on my router.
Attached are the logs.
Is the stick dead? Should I try a new one?
I am using a LEXAR 16gb USB 2.0 Drive plugged into the usb 2.0 slot on my router.
Attached are the logs.
Is the stick dead? Should I try a new one?
Code:
Disk /dev/sda: 15.6 GB, 15640625152 bytes
64 heads, 32 sectors/track, 14916 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 14916 15273968 83 Linux
admin@RT-AC68U-1340:/tmp/home/root#
Enter option fdl
---------------------------------------------------
amtm-format-disk.log has this content:
START FILE, --- lines are not part of file
---------------------------------------------------
amtm format disk log Tue, 17 Nov 2020 14:33:33 -0500
Zeroing disk sda Lexar USB Flash Drive (15.6 GB)
Creating partition(s) on sda Lexar USB Flash Drive (15.6 GB)
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT d isklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.
The number of cylinders for this disk is set to 14916.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.
The number of cylinders for this disk is set to 14916.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (1-14916, default 1): Using default valu e 1
Last cylinder or +size or +sizeM or +sizeK (1-14916, default 14916): Using defa ult value 14916
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table
Formatting disk as "ext4", enabling journalling
Creating filesystem with 3818492 4k blocks and 954720 inodes
Filesystem UUID: adcbc196-84d8-4869-894b-ed6f96408507
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Setting disk device label "Mine"
tune2fs 1.42.13 (17-May-2015)
---------------------------------------------------
END FILE
No compatible device available to create
a swap file
_____________________________________________
Enter option