Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4451

Beginners • How To Mount External SSD

$
0
0
Sometimes it's hard for me to believe how stupid I am.

I bought an external SATA SSD and USB A adapter.
'
I want to mount the drive, so I did this:

Code:

pi@sky:~ $ sudo mkfs -t ext4 /dev/sdamke2fs 1.47.0 (5-Feb-2023)Creating filesystem with 58607766 4k blocks and 14655488 inodesFilesystem UUID: 437c8f70-856d-4f1a-b598-562337dc872cSuperblock backups stored on blocks:32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,4096000, 7962624, 11239424, 20480000, 23887872Allocating group tables: doneWriting inode tables: doneCreating journal (262144 blocks): mkfs.ext4: Invalid argumentwhile trying to create journal
After rebooting I did this:

Code:

pi@sky:~ $ sudo mount /dev/sda /mnt/kingmount: /mnt/king: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.       dmesg(1) may have more information after failed mount system call.mount: (hint) your fstab has been modified, but systemd still uses       the old version; use 'systemctl daemon-reload' to reload.
And, there's this:

Code:

pi@sky:~ $ lsblkNAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTSsda           8:0    0 223.6G  0 diskmmcblk0     179:0    0  29.7G  0 disk├─mmcblk0p1 179:1    0   512M  0 part /boot/firmware└─mmcblk0p2 179:2    0  29.2G  0 part /
And this from dimesg:

Code:

[   46.227393] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)[   46.227424] F2FS-fs (sda): Can't find valid F2FS filesystem in 1th superblock[   46.227591] F2FS-fs (sda): Magic Mismatch, valid(0xf2f52010) - read(0x0)[   46.227607] F2FS-fs (sda): Can't find valid F2FS filesystem in 2th superblock
So, the SSD is there. What now?

Statistics: Posted by Ratsima — Wed Nov 06, 2024 12:07 am — Replies 9 — Views 69



Viewing all articles
Browse latest Browse all 4451

Trending Articles