USB key

Solved
dprave Posted messages 52 Registration date   Status Member Last intervention   -  
dprave Posted messages 52 Registration date   Status Member Last intervention   -
Hello
I am on Ubuntu 18 and when I plug in a USB stick or an external hard drive (both recognized under Windows), they are not detected, all my ports are working perfectly.
Do you have a solution?
Thank you

12 answers

  1. Mentalink Posted messages 84 Status Member 13
     
    The file system of your USB drive may not be compatible with Ubuntu. You need to check the properties of the drive to see if it uses NTFS: if so, you need to format the drive and choose FAT32 as the file system (note that formatting the drive will result in the loss of the files it contains).
    0
    1. jns55
       
      Hello,
      Linux can read/write NTFS partitions perfectly well.

      What do you mean by "they are not detected"?
      - Do they not appear in the output of the lsusb command?
      - Do they not appear in the file manager?

      They may very well be detected but not show up in the file manager if they are not mounted.
      0
      1. Mentalink Posted messages 84 Status Member 13 > jns55
         
        Indeed, I didn't say anything; Linux can read NTFS today. I was very misinformed, sorry.
        0
    2. dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Hi
      When I plug in my USB keys or external drive, they don't appear on the screen.
      I can't open them; they are all in NTFS, which worked fine before the 18 update.
      0
  2. Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention   24 712
     
    Hello,

    plug in the disk or USB drive.

    Open a terminal and type:
    dmesg

    give the result.

    then:

    sudo fdisk -l


    give the result.

    --
    Please press any key to continue the disinfection...
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      Hello,

      With the latest distributions,
      dmesg
      uses the
      -w
      option which allows you to keep the terminal open and see what is happening live as it occurs.

      So, open a terminal, run
      dmesg -w
      and from there connect the device.
      0
    2. Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention   24 712 > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      Okay, I didn't know that, I'm a bit old school.
      In both cases, we need to have the info.
      Thanks.
      0
    3. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention  
       
      You're welcome. But indeed, in any case the result is the same ;-)
      Let's say that with
      dmesg -w
      , if you add 2 or 3 blank lines (pressing <Enter>), you can better spot where the addition of information starts...
      0
    4. Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention   24 712 > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      yes, it's like a tail -f =)
      0
    5. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501 > Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention  
       
      Exactly. I wanted to specify that in my first message, then I changed my mind ;-\
      0
  3. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Thank you
    I’ll do that as soon as I can
    0
  4. gigi_dsss Posted messages 130 Status Member 12
     
    I propose this:
    1. Unplug your 2 storage devices
    2. Open a terminal
    3. Type:
    lsusb

    4. Replug your 2 devices...
    5. In the same terminal type:
    lsusb


    If possible, send the result in 2 different code sections:
    <code>result lsusb1</code>
    <code>result lsusb2</code>

    !!! REMOVE THE '-' between the <> (angled brackets) !!!
    0
  5. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Bonjour
    Here is the result for dmesg

    <code>[ 0.000000] Linux version 4.18.0-25-generic (buildd@lcy01-amd64-025) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10.1)) #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 (Ubuntu 4.18.0-25.26-generic 4.18.20)
    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-25-generic root=UUID=4b80c91e-9484-43fa-8916-e8b53e78393a ro quiet splash vt.handoff=1
    [ 0.000000] KERNEL supported cpus:
    [ 0.000000] Intel GenuineIntel
    [ 0.000000] AMD AuthenticAMD
    [ 0.000000] Centaur CentaurHauls
    [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
    [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
    [ 0.000000] x86/fpu: Enabled xstate features 0x3, context size is 576 bytes, using 'standard' format.
    [ 0.000000] BIOS-provided physical RAM map:
    [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009bbff] usable
    [ 0.000000] BIOS-e820: [mem 0x000000000009bc00-0x000000000009ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dd04d3ff] usable
    [ 0.000000] BIOS-e820: [mem 0x00000000dd04d400-0x00000000dd04f3ff] ACPI NVS
    [ 0.000000] BIOS-e820: [mem 0x00000000dd04f400-0x00000000dfffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed1bfff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed8ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000feda0000-0x00000000feda5fff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee0ffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x00000000ffe60000-0x00000000ffffffff] reserved
    [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011bffffff] usable
    [ 0.000000] NX (Execute Disable) protection: active
    [ 0.000000] SMBIOS 2.4 present.
    [ 0.000000] DMI: Dell Inc. Latitude E6400 /0W620R, BIOS A34 06/04/2013
    [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
    [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
    [ 0.000000] last_pfn = 0x11c000 max_arch_pfn = 0x400000000
    [ 0.000000] MTRR default type: uncachable
    [ 0.000000] MTRR fixed ranges enabled:
    [ 0.000000] 00000-9FFFF write-back
    [ 0.000000] A0000-BFFFF uncachable
    [ 0.000000] C0000-D7FFF write-protect
    [ 0.000000] D8000-EFFFF uncachable
    [ 0.000000] F0000-FFFFF write-protect
    [ 0.000000] MTRR variable ranges enabled:
    [ 0.000000] 0 base 000000000 mask 800000000 write-back
    [ 0.000000] 1 base 0E0000000 mask FE0000000 uncachable
    [ 0.000000] 2 base 0DDC00000 mask FFFC00000 uncachable
    [ 0.000000] 3 base 0DE000000 mask FFE000000 uncachable
    [ 0.000000] 4 base 11C000000 mask FFC000000 uncachable
    [ 0.000000] 5 disabled
    [ 0.000000] 6 disabled
    [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
    [ 0.000000] total RAM covered: 32156M
    [ 0.000000] gran_size: 64K chunk_size: 64K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 128K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 256K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 512K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 1M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 64K chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 64K chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 64K chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 64K chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 64K chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 64K chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 64K chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 64K chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 64K chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 128K chunk_size: 128K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 256K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 512K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 1M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 128K chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 128K chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 128K chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 128K chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 128K chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 128K chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 128K chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 128K chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 128K chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 256K chunk_size: 256K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 256K chunk_size: 512K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 256K chunk_size: 1M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 256K chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 256K chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 256K chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 256K chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 256K chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 256K chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 256K chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 256K chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 256K chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 256K chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 256K chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 512K chunk_size: 512K num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 512K chunk_size: 1M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 512K chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 512K chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 512K chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 512K chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 512K chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 512K chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 512K chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 512K chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 512K chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 512K chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 512K chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 1M chunk_size: 1M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 1M chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 1M chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 1M chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 1M chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 1M chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 1M chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 1M chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 1M chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 1M chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 1M chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 1M chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 2M chunk_size: 2M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 2M chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 2M chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 2M chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 2M chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 2M chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 2M chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 2M chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 2M chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 2M chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 2M chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 4M chunk_size: 4M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 4M chunk_size: 8M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 4M chunk_size: 16M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 4M chunk_size: 32M num_reg: 7 lose cover RAM: 28608M
    [ 0.000000] gran_size: 4M chunk_size: 64M num_reg: 7 lose cover RAM: 28224M
    [ 0.000000] gran_size: 4M chunk_size: 128M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 4M chunk_size: 256M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 4M chunk_size: 512M num_reg: 7 lose cover RAM: 28160M
    [ 0.000000] gran_size: 4M chunk_size: 1G num_reg: 7 lose cover RAM: 26G
    [ 0.000000] gran_size: 4M chunk_size: 2G num_reg: 7 lose cover RAM: 24G
    [ 0.000000] gran_size: 8M chunk_size: 8M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 8M chunk_size: 16M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 8M chunk_size: 32M num_reg: 7 lose cover RAM: 28612M
    [ 0.000000] gran_size: 8M chunk_size: 64M num_reg: 7 lose cover RAM: 28228M
    [ 0.000000] gran_size: 8M chunk_size: 128M num_reg: 7 lose cover RAM: 28164M
    [ 0.000000] gran_size: 8M chunk_size: 256M num_reg: 7 lose cover RAM: 28164M
    [ 0.000000] gran_size: 8M chunk_size: 512M num_reg: 7 lose cover RAM: 28164M
    [ 0.000000] gran_size: 8M chunk_size: 1G num_reg: 7 lose cover RAM: 26628M
    [ 0.000000] gran_size: 8M chunk_size: 2G num_reg: 7 lose cover RAM: 24580M
    [ 0.000000] gran_size: 16M chunk_size: 16M num_reg: 7 lose cover RAM: 28364M
    [ 0.000000] gran_size: 16M chunk_size: 32M num_reg: 7 lose cover RAM: 28620M
    [ 0.000000] gran_size: 16M chunk_size: 64M num_reg: 7 lose cover RAM: 28236M
    [ 0.000000] gran_size: 16M chunk_size: 128M num_reg: 7 lose cover RAM: 28172M
    [ 0.000000] gran_size: 16M chunk_size: 256M num_reg: 7 lose cover RAM: 28172M
    [ 0.000000] gran_size: 16M chunk_size: 512M num_reg: 7 lose cover RAM: 28172M
    [ 0.000000] gran_size: 16M chunk_size: 1G num_reg: 7 lose cover RAM: 26636M
    [ 0.000000] gran_size: 16M chunk_size: 2G num_reg: 7 lose cover RAM: 24588M
    [ 0.000000] gran_size: 32M chunk_size: 32M num_reg: 7 lose cover RAM: 28252M
    [ 0.000000] gran_size: 32M chunk_size: 64M num_reg: 7 lose cover RAM: 28252M
    [ 0.000000] gran_size: 32M chunk_size: 128M num_reg: 7 lose cover RAM: 27676M
    [ 0.000000] gran_size: 32M chunk_size: 256M num_reg: 7 lose cover RAM: 27676M
    [ 0.000000] gran_size: 32M chunk_size: 512M num_reg: 7 lose cover RAM: 27676M
    [ 0.000000] gran_size: 32M chunk_size: 1G num_reg: 7 lose cover RAM: 24604M
    [ 0.000000] gran_size: 32M chunk_size: 2G num_reg: 7 lose cover RAM: 16412M
    [ 0.000000]
    0
  6. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    For sudo it asks me for the password but I can't type it??
    Here is the result for lsusb1

    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 0c45:63f0 Microdia
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 002: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 005: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card
    Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
    Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
    Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


    Here is the result for lsusb2

    Bus 002 Device 009: ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
    Bus 002 Device 010: ID 13fd:0840 Initio Corporation INIC-1618L SATA
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 0c45:63f0 Microdia
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 002: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 005: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card
    Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
    Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
    Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    I don't know how to put the chevrons.
    I have two external hard drives and a USB key plugged in, but I believe the key is incorrectly formatted, plus gparted won't launch on my Ubuntu.
    Thank you for your responses.

    I received for sudo fdisk -l

    Disk /dev/loop17 : 2.3 MiB, 2355200 bytes, 4600 sectors
    Units : sector of 1 × 512 = 512 bytes
    Sector size (logical / physical) : 512 bytes / 512 bytes
    I/O size (minimum / optimal) : 512 bytes / 512 bytes

    Disk /dev/loop18 : 236 MiB, 247422976 bytes, 483248 sectors
    Units : sector of 1 × 512 = 512 bytes
    Sector size (logical / physical) : 512 bytes / 512 bytes
    I/O size (minimum / optimal) : 512 bytes / 512 bytes

    Disk /dev/sdb : 14.9 GiB, 16013942784 bytes, 31277232 sectors
    Units : sector of 1 × 512 = 512 bytes
    Sector size (logical / physical) : 512 bytes / 512 bytes
    I/O size (minimum / optimal) : 512 bytes / 512 bytes
    Disk label type : dos
    Disk identifier : 0x69eb2f0a

    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 32 31266815 31266784 14.9G 7 HPFS/NTFS/exFAT

    There I only had one key and one external hard drive
    0
  7. Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention   24 712
     
    Should dmesg be cut off at the end and not in full?
    You can start over; you need to use dmesg after inserting the keys and disks.
    Then copy/paste it into a text file and save it.

    Send the file to https://pjjoint.malekal.com
    and provide the link back.

    0
  8. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Okay, I'll do my best when I get home.
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      • Unplug all USB devices you want to list
      • Open a terminal
      • Run the command
        dmesg -w
      • Create 2 or 3 empty lines by pressing <Enter> 2 or 3 times
      • Plug in one of the USB devices
      • Copy/paste the lines that appeared in the terminal starting from the empty lines you created earlier


      Below is an example. What we are interested in is highlighted in red (after the empty lines). In yellow is an example of a name for a USB stick:

      0
  9. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Ok
    0
    1. dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Here is what I got for my USB key
      [ 977.796047] usb 2-2: new high-speed USB device number 5 using ehci-pci
      [ 977.957142] usb 2-2: New USB device found, idVendor=0781, idProduct=5580, bcdDevice= 0.10
      [ 977.957145] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 977.957147] usb 2-2: Product: Extreme
      [ 977.957149] usb 2-2: Manufacturer: SanDisk
      [ 977.957150] usb 2-2: SerialNumber: AA011027141111260827
      [ 977.957438] usb-storage 2-2:1.0: USB Mass Storage device detected
      [ 977.963295] scsi host8: usb-storage 2-2:1.0
      [ 978.976679] scsi 8:0:0:0: Direct-Access SanDisk Extreme 0001 PQ: 0 ANSI: 6
      [ 978.977027] sd 8:0:0:0: Attached scsi generic sg2 type 0
      [ 978.977651] sd 8:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB)
      [ 978.978658] sd 8:0:0:0: [sdb] Write Protect is off
      [ 978.978661] sd 8:0:0:0: [sdb] Mode Sense: 53 00 00 08
      [ 978.979660] sd 8:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
      [ 978.988599] sdb: sdb1
      [ 978.992497] sd 8:0:0:0: [sdb] Attached SCSI removable disk


      What I don't understand is that when I plug in my USB key right after booting Linux, it is often recognized

      Here is for the hard drive
      [ 1850.240043] usb 2-4: new high-speed USB device number 6 using ehci-pci
      [ 1850.445160] usb 2-4: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 1.00
      [ 1850.445163] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 1850.445165] usb 2-4: Product: USB3.0 External HDD
      [ 1850.445166] usb 2-4: Manufacturer: JMicron
      [ 1850.445167] usb 2-4: SerialNumber: 0000AB1237D1
      [ 1850.445841] scsi host8: uas
      [ 1850.450410] scsi 8:0:0:0: Direct-Access ST916041 1AS 8101 PQ: 0 ANSI: 6
      [ 1850.455948] sd 8:0:0:0: Attached scsi generic sg2 type 0
      [ 1851.272595] usb 2-4: USB disconnect, device number 6
      [ 1851.272917] sd 8:0:0:0: tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD
      [ 1851.272920] sd 8:0:0:0: tag#0 CDB: Test Unit Ready 00 00 00 00 00 00
      [ 1851.512178] sd 8:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
      [ 1851.512182] sd 8:0:0:0: [sdb] Sense not available.
      [ 1851.752131] sd 8:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
      [ 1851.752135] sd 8:0:0:0: [sdb] Sense not available.
      [ 1851.848104] sd 8:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
      [ 1851.848108] sd 8:0:0:0: [sdb] 0-byte physical blocks
      [ 1851.928087] sd 8:0:0:0: [sdb] Write Protect is on
      [ 1851.928091] sd 8:0:0:0: [sdb] Mode Sense: 00 46 b7 91
      [ 1852.012176] sd 8:0:0:0: [sdb] Asking for cache data failed
      [ 1852.012183] sd 8:0:0:0: [sdb] Assuming drive cache: write through
      [ 1852.476168] sd 8:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
      [ 1852.476172] sd 8:0:0:0: [sdb] Sense not available.
      [ 1852.716184] sd 8:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
      [ 1852.716188] sd 8:0:0:0: [sdb] Sense not available.
      [ 1852.892145] sd 8:0:0:0: [sdb] Write Protect is off
      [ 1852.892149] sd 8:0:0:0: [sdb] Mode Sense: 98 43 00 ca
      [ 1853.196117] sd 8:0:0:0: [sdb] Attached SCSI disk
      [ 1854.305306] perf: interrupt took too long (4938 > 4928), lowering kernel.perf_event_max_sample_rate to 40500
      0
      1. Malekal_morte- Posted messages 178136 Registration date   Status Moderator, Security Contributor Last intervention   24 712 > dprave Posted messages 52 Registration date   Status Member Last intervention  
         
        It looks like there are read errors

        Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

        When you use the disk and you’re done, do you eject it properly in Windows?
        Maybe the file system is marked as having an error.
        It generally works fine, no copy errors or anything else?

        It would be good to run a checkdisk from Windows.
        See here: https://www.malekal.com/chkdsk-erreur-reparation-disque/
        You can do the check graphically.

        or from Ubuntu:
        sudo fsck -V -n /dev/sdb1


        It's up to you to decide what’s simpler.

        ~~

        Also check the external hard drives with CrystalDiskInfo
        or from Ubuntu with GSmartControl
        0
  10. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    No worries, I’m doing that. The hard drive comes from my laptop which I replaced with an SSD; I formatted the system to turn it into an external HDD.
    0
    1. jns55
       
      Hello,
      I formatted the system to make it an external HDD
      What format? ntfs, fat32, ext4, other?
      How did you format it?

      If we go by the results of the dmesg command, it is not possible to determine the size of the disk... there is an issue with your disk.

      And if gparted won't start, that's not normal, your ubuntu installation is probably shaky. Try with the live-usb. If it's the same thing, you'll need to check the integrity of the iso image with the md5 checksum.
      0
    2. dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Unable to repair the disk with Windows even with CrystalDiskInfo
      It was formatted in NTFS with Windows and then I tried to make it a bootable drive for Windows 10 but I couldn't do it so I reformatted it
      I am currently repairing it with EaseUS Partition Master, I'll keep you updated.
      0
    3. dprave Posted messages 52 Registration date   Status Member Last intervention   > dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Hard drive repaired and detected under Windows, everything is fine. I'll check tomorrow under Linux.
      0
    4. dprave Posted messages 52 Registration date   Status Member Last intervention   > dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Hello
      Here’s what I get with my hard drive after repair

      [ 260.124058] usb 2-2: new high-speed USB device number 3 using ehci-pci
      [ 260.322327] usb 2-2: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 1.00
      [ 260.322331] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [ 260.322333] usb 2-2: Product: USB3.0 External HDD
      [ 260.322334] usb 2-2: Manufacturer: JMicron
      [ 260.322336] usb 2-2: SerialNumber: 0000AB1237D1


      How can I check if my Ubuntu is shaky like you said???
      0
    5. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      If the information stops there, it means there's still a problem ;-(
      Your disk is detected, but no information about its partition table and/or, failing that, its structure has been retrieved ;-(
      0
  11. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Here is the result
    /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro)
    /dev/sdb1 on /media/dprave/Dprave type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
    0
    1. zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention   6 501
       
      /dev/sdb1 on /media/dprave/Dprave type fuseblk

      Well, there you go, your drive is accessible at
      /media/dprave/Dprave
      and you should see it in the file explorer…
      0
    2. dprave Posted messages 52 Registration date   Status Member Last intervention   > zipe31 Posted messages 34620 Registration date   Status Contributor Last intervention  
       
      Exactly, I see it perfectly, thanks
      I will have other questions a bit later, I have to leave.
      0
    3. dprave Posted messages 52 Registration date   Status Member Last intervention  
       
      Good evening
      Gparted still doesn't start on my PC. I just plugged in my hard drive and a USB key and I can't see them
      I'm fed up, everything works fine under Windows.
      0
    4. jns55
       
      Gparted doesn't start, or it starts and you can't see your hard drive and your USB stick? (it's not the same thing)
      0
    5. dprave Posted messages 52 Registration date   Status Member Last intervention   > jns55
       
      No, the software doesn't start, so it's impossible to see the disk or the drives, and why doesn't my Linux detect them right away like Windows?
      0
  12. dprave Posted messages 52 Registration date   Status Member Last intervention  
     
    Here it is finally detected, I don't understand.
    0