Eu tentei algo, mas não está funcionando. Para mim, o sudo fdisk -l
comando me dá esta saída:
... loop devices removed from output ...
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: HFM256GDGTNG-87A0A
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 70A46181-6153-4C81-880E-3CB402E39E10
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
...
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: MobileDataStar
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: FE0B84B3-6701-43B3-88E3-7D588DD4A495
Device Start End Sectors Size Type
/dev/sda1 34 262177 262144 128M Microsoft reserved
/dev/sda2 264192 976771071 976506880 465.6G Microsoft basic data
Quero montar este /dev/sda que é um SSD externo Netac. Aqui está lsblk
a saída:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /snap/bare/5
loop1 7:1 0 63.4M 1 loop /snap/core20/1974
loop2 7:2 0 73.9M 1 loop /snap/core22/858
loop3 7:3 0 237.2M 1 loop /snap/firefox/2987
loop4 7:4 0 349.7M 1 loop /snap/gnome-3-38-2004/143
loop5 7:5 0 485.5M 1 loop /snap/gnome-42-2204/120
loop6 7:6 0 91.7M 1 loop /snap/gtk-common-themes/1535
loop7 7:7 0 12.3M 1 loop /snap/snap-store/959
loop8 7:8 0 53.3M 1 loop /snap/snapd/19457
loop9 7:9 0 452K 1 loop /snap/snapd-desktop-integration/83
sda 8:0 0 465.8G 0 disk
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 238G 0 part /var/snap/firefox/common/host-hunspell
Isso sudo parted -l
me dá uma saída como:
Model: Netac MobileDataStar (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 17.4kB 134MB 134MB Microsoft reserved partition msftres
2 135MB 500GB 500GB ntfs Basic data partition msftdata
Model: HFM256GDGTNG-87A0A (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 256GB 256GB ext4
Depois de instalar o ntfs-3g, tentei este comando sudo mount -t ntfs-3g /dev/sda /media/ntfs/
:
NTFS signature is missing.
Failed to mount '/dev/sda': Invalid argument
The device '/dev/sda' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Eu também tentei isso udisksctl mount --block-device /dev/sda
:
Object /org/freedesktop/UDisks2/block_devices/sda is not a mountable filesystem.
Tentei sudo mount -t ntfs-3g /dev/sda2 /media/ntfs
está dizendo:
ntfs-3g: Failed to access volume '/dev/sda2': No such file or directory
ntfs-3g 2021.8.22 integrated FUSE 28 - Third Generation NTFS Driver
Configuration type 7, XATTRS are on, POSIX ACLS are on
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2021 Jean-Pierre Andre
Copyright (C) 2009-2020 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), windows_names, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
Plugin path: /usr/lib/x86_64-linux-gnu/ntfs-3g
News, support and information: https://github.com/tuxera/ntfs-3g/
O que eu posso fazer agora?
O problema está resolvido agora. Instalei o gparted, depois mudei os flags da partição, foi primeiro no msftdata, escolho novamente o msftdta e fecho. Então vi que meu SSD foi reconhecido e tentei
sudo mount -t ntfs-3g /dev/sda2 /media/ntfs
e ele foi montado. Obrigado a todos por seu apoio.