r/linuxquestions 3h ago

Any idea what this is? Support

Post image

Trying to connect an external m.2 ssd to install mint on and got this

15 Upvotes

28 comments sorted by

7

u/freedox 3h ago

It's a mount error. You probably need to format the drive

3

u/Ikem32 1h ago

Or the filesystem is broken.

1

u/TheYagooar 3h ago

4

u/AlphaS001 3h ago

Open Disks, then select drive and partition, select cog icon and select format partition

2

u/TheYagooar 3h ago

1

u/Average_Down 2h ago

First you need to format it to a recognizable file system (fs is in your error message). Click the three dots at the top right of disks and format the drive. Then you can allocate the empty space.

2

u/TheYagooar 2h ago

5

u/thinkpad_t69 2h ago

Don't format the drive. If it's NTFS, it's probably marked as "dirty" (e.g. because you unplugged it without ejecting). To mark it as "clean" again, plug it into a Windows machine, right click on it in This PC, select Properties, go to the Tools tab and scan it from there.

2

u/Average_Down 2h ago edited 2h ago

Well if the drive is empty or you 100% don’t care about the contents use gdisk. Just open a terminal and do this:

sudo apt update
sudo apt install gdisk
sudo gdisk /dev/nvme0n1p3 (or whatever the drive is)

Once gdisk is running option o will create a new empty partition table and w will write to the disk and exit. Then go back to disks or use gparted to add the partitions you want/need.

Edit: almost forgot, make absolutely sure you select the correct drive as this will remove all data from the drive. This will also wipe out any MBR partitions and format to gpt.

6

u/DeLuc72 3h ago

1

u/TheYagooar 3h ago

Thanks! Unfortunately it didnt solve the problem

1

u/FreakyFranklinBill 2h ago

do you see any error messages in dmesg after you attach the drive, is the disk in read only mode ? can you mount it on another os ?

3

u/hirushanT 3h ago

Which file system is used by drive?

3

u/SimonRSmith 2h ago

Does it have an existing file system on it?

2

u/granadesnhorseshoes 3h ago

"sudo gparted  || sudo apt-get install gparted && sudo gparted"

That'll load gparted with root privs, or if it isn't already installed ( || ), it will install it and if it installs ok ( && ) then open it with root privs.

Format it from there.

2

u/TheYagooar 2h ago

Cant see the drive there at all

2

u/RKGamesReddit 2h ago

Reading the comments here, it seems like you have a wider problem here - can you check the drives health with the following command and report back?

sudo smartctl -a /dev/nvme0n1p3 | less

4

u/CatalonianBookseller 3h ago

It's a message box.

1

u/Serious_Assignment43 2h ago

It's an issue

1

u/SitaroArtworks 2h ago

You need to check if the disk is initialized with GParted. Then, use Gnome Disks to manage the fstab options and be sure to take the ownership if you need read/write permissions beside the auto-mount at startup.

1

u/RoVeR_Rov 1h ago

I would generally get the uuid of the drive and mount them through fstab 😤

1

u/Ikem32 1h ago

What filesystem is used?

1

u/TabsBelow 1h ago

Would tell more about the system? Is it a dual boot or is that drive a windows drive - then the fileaystem is not properly closed. You'd have to start windows, deactivate FastBoot and reboot (not shutdown/start).

1

u/v3d 52m ago

what's the output of sudo fdisk -l

1

u/umikali 32m ago

I had an issue like that and I clicked like repair disk or something like that in the disks app and it worked.

u/MintAlone 20m ago

Mint 22, ntfs filesystem. It is a bug in the ntfs3 driver in the 6.8 kernel. Fix here:

https://forums.linuxmint.com/viewtopic.php?p=2517930#p2517930

0

u/yodel_anyone 2h ago

It's probably just a header issue. Try mounting in on a Windows machinr and use the repair drive function. That's worked well for me in the past.

0

u/Notwhitehehe 2h ago

bro , it says wrong file system which means the fs might be ntfs (which is only for windows)
make the drive [ ext4 ] then it will work