You are not logged in.
Hi Forum,
I've got a quite strange problem here when trying to mount NTFS partition data. I have a Win10 HP laptop, UEFI boot and internal SSD NVME volume. Here are few sysinfo
# uname -a
Linux xxx 5.9.8-arch1-1 #1 SMP PREEMPT Tue, 10 Nov 2020 22:44:11 +0000 x86_64 GNU/Linux
# blkid
/dev/nvme0n1p1: LABEL="SYSTEM" UUID="C003-5221" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="8b642d94-dc97-485a-b4bc-e5a9d1b1faa8"
/dev/sda1: LABEL_FATBOOT="LINUX" LABEL="LINUX" UUID="A6EE-E442" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="linux efi boot" PARTUUID="6720179a-5627-7545-b9cc-15f2b551433e"
/dev/sda2: UUID="b41884b9-e45e-46a9-8f1a-dc5120ded17f" TYPE="swap" PARTUUID="f84ac2d7-7c9c-1840-8f8d-45f95b1452a8"
/dev/sda3: UUID="9a344a7a-72a2-49c8-9f91-cdcd6a0a0890" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="root" PARTUUID="285eb52f-9393-b84e-bd40-1e2b6608b22c"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="32a05d66-d6dd-4738-871b-35e486d8f24d"
/dev/nvme0n1p3: PARTLABEL="Basic data partition" PARTUUID="b6d5ad13-2ed3-4f02-9564-9c80e3facc79"
/dev/nvme0n1p4: PARTLABEL="McAfeeEpeReserved" PARTUUID="6a8c8efd-3c4f-4f45-844e-5be2dd7580ab"
# fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SK hynix BC511 HFM256GDJTNI-82A0A
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: 71692D38-A729-4721-A0FE-777FC26C26E4
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 796671 262144 128M Microsoft reserved
/dev/nvme0n1p3 796672 499913311 499116640 238G Microsoft basic data
/dev/nvme0n1p4 499913312 500118143 204832 100M unknown
# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 vfat FAT32 LINUX A6EE-E442
├─sda2 swap 1 b41884b9-e45e-46a9-8f1a-dc5120ded17f [SWAP]
└─sda3 ext4 1.0 9a344a7a-72a2-49c8-9f91-cdcd6a0a0890 179.8G 6% /
nvme0n1
├─nvme0n1p1 vfat FAT32 SYSTEM C003-5221
├─nvme0n1p2
├─nvme0n1p3
└─nvme0n1p4
Arch is installed on external USB3 SSD disk, boot from EFI and I can regularly see Win Partitions /dev/nvme0n1p3 is where my data are, I've installed ntfs and ntfs-3g utils but a simple
mount -t ntfs -o ro /dev/nvme0n1p3 /mnt/windows/
NTFS signature is missing.
Failed to mount '/dev/nvme0n1p3': Invalid argument
The device '/dev/nvme0n1p3' 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?
Cannot mount that partition.
I have:
- disabled fastboot
- rebooted windows (instead of a shutdown)
- chkdsk /f in order to avoid mistakes on the partition
but none of them produced a different output from what I've reported above
Formatting the partition is not an option, I can change something (if required) but I need to preserve internal Win10 installation, what am I missing ? Is there something wrong in the partition or HW ? I'm using a UEFI system and I've booted arch in EFI mode (not legacy BIOS) but I still cannot reach that Microsoft basic data part that seems to be invalid even if Win10 regularly boots it (still, no fast boot or hybernate modes)
Can someone please address me to the right solution for it ?
Thank you in advance for your kind reply
Ben
Offline
Even more:
I've also tried to mount that with PARTUUID instead of partition name but I always see the NTFS signature error
Offline
Are you sure it's ntfs and not exfat? Does mount work without specifying a filesystem type?
When you boot into Windows, what filesystem is shown for nvme0n1p3?
If it is ntfs I think you should expect to see a ntfs flag shown against nvme0n1p3 in your "lsblk -f" output.
Do you have bitlocker enabled under Windows?
Offline
sudo file -s /dev/nvme0n1p3
Offline
Forgot to mention I've already checked bitlocker and windows tells me it's disabled
I'd like to provide information you required so here's something more:
# mount /dev/nvme0n1p3 /mnt/windows/
mount: /mnt/windows: wrong fs type, bad option, bad superblock on /dev/nvme0n1p3, missing codepage or helper program, or other error.
# sudo file -s /dev/nvme0n1p3
/dev/nvme0n1p3: data
# mount -t exfat /dev/nvme0n1p3 /mnt/windows/
FUSE exfat 1.3.0
ERROR: exFAT file system is not found.
# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 vfat FAT32 LINUX A6EE-E442
├─sda2 swap 1 b41884b9-e45e-46a9-8f1a-dc5120ded17f [SWAP]
└─sda3 ext4 1.0 9a344a7a-72a2-49c8-9f91-cdcd6a0a0890 179.8G 6% /
nvme0n1
├─nvme0n1p1 vfat FAT32 SYSTEM C003-5221
├─nvme0n1p2
├─nvme0n1p3
└─nvme0n1p4
# ls -l /mnt/
total 4
drwxr-xr-x 2 root root 4096 Nov 6 15:26 windows
Each operation has been executed with root privileges in order to skip permission troubles.
I've tried mounting partition as exfat but from Windows disk manager is clearly marked as NTFS even if I seriously don't know what "data" means (from "file-s" command).
This is the first time I'm having problems with ntfs partitions and EFI, but it's even the first time I'm doing it with a nvme device (SK hynix BC511 HFM256GDJTNI-82A0A) and a laptop, HP is not properly known for open source transparency on laptops (AMD® Ryzen 5 3500u with radeon vega mobile gfx × 8).
Offline
You could try https://aur.archlinux.org/packages/dislocker/ to see whether there's a bitlocker encoded partition…
Offline