3

I had an Ubuntu 22.04 running wth no problems but decided to change my SSD card and install the exact same Ubuntu on a new SSD. So I copied some important files into a USB flash memory and after it finished I checked to see if all files have been copied, so that was.

Then I changed the SSD and installed the same Ubuntu on the new SSD and tried the flash memory to reach my files but I get unknown (udisks-error-quark, 0) error when I try to open the flash memory.

enter image description here

When I use disks to mount it:

enter image description here

7
  • Missing filesystem? find and install that! e.g. exfat, ntfs, ...
    – Hannu
    Commented Feb 23, 2023 at 18:57
  • "So I copied some important files." Obviously, not all files, nor have you duplicated the full disk. Why not use dd to image one SSD to another?? Just run dd from a live USB, so you have full access to original. It's fast to make a disk image -- just delete any unwanted stuff later. Commented Feb 23, 2023 at 20:39
  • @Hannu: May you explain more? I am not a Linux expert. Commented Feb 23, 2023 at 22:34
  • @DrMoishePippik: Unfortunately as my laptop only supports one SSD at a time, I rewrote the previous one with 0s because I thought I would never use that 128G SSD card again! Commented Feb 23, 2023 at 22:35
  • Then the best alternative might be 1. Save files to other media (e.g., USB drive) 2. Format SSD. 3. Install Ubuntu (it only takes a few minutes) 4. Copy saved files to SSD. Commented Feb 23, 2023 at 22:45

2 Answers 2

6

Consider doing this

Open the "Disks" on ubuntu. select the faulty disk setting --> repair filesystem

solved the problem and let you mount the drive

1

Start a Terminal / Bash / Shell

(HOW: Hold CTRL and ALT, hit T).

... when the $ (the prompt) appears, type

$ sudo apt install exfat-fuse exfat-utils ntfs-3g

... then hit Enter.

This will first request your password, then install the driver and utils / tools for exfat a filesystem similar to "FAT" or "VFAT" and also the Linux NTFS, either of which you might need;

but: I'm only guessing - as you have not provided details about your USB-stick/flash-mem.

NOTE: You MIGHT already have these installed, as per default, or even NOT NEED them - I'm not sure about though. The above is a way to ensure it.


You may also try:
$ lsblk -fape7

... and copy the output into your question, then select the text and hold+hit CTRL+K (and save)

This will tell if lsblk recognizes how your flash-drive is formatted.

1
  • 2
    Recent kernel has driver for exfat though, although I have no idea how recent is needed exactly. There has also been a new ntfs kernel driver (although ntfs-3g might still be more preferred).
    – Tom Yan
    Commented Feb 25, 2023 at 1:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .