Here are steps which I passed through to configure Fedora 38 so that it mount NTFS partition automatically
sudo fdisk -l
This commant will give output like next one
Диск /dev/sdb: 223,57 GiB, 240057409536 байт, 468862128 секторов
Disk model: KINGSTON SA400S3
Единицы: секторов по 1 * 512 = 512 байт
Размер сектора (логический/физический): 512 байт / 512 байт
Размер I/O (минимальный/оптимальный): 512 байт / 512 байт
Тип метки диска: gpt
Идентификатор диска: 72E5E96B-43BD-45E5-9EF3-59C8E7036A18
Устр-во начало Конец Секторы Размер Тип
/dev/sdb1 2048 206847 204800 100M EFI
/dev/sdb2 206848 239615 32768 16M Зарезервированный раздел Microsoft
/dev/sdb3 239616 467793190 467553575 222,9G Microsoft basic data
/dev/sdb4 467793920 468858879 1064960 520M Среда для восстановления Microsoft
We need to find required partition: /dev/sdb3
sudo blkid
The output will be like next:
/dev/sdd4: UUID="4c541da7-2669-4764-b349-8092aff33a5a" TYPE="crypto_LUKS" PARTUUID="fdaa9b2c-c515-4735-9bb1-a76e10f0e504"
/dev/sdb4: BLOCK_SIZE="512" UUID="2E22629A223261CF" TYPE="ntfs" PARTUUID="8dc3d063-9c5c-4ebe-8271-a67e41a6f87c"
/dev/sdb2: PARTLABEL="Microsoft reserved partition" PARTUUID="c29a3ed0-1519-488d-95a2-6950c1425429"
/dev/sdb3: LABEL="OldWin10" BLOCK_SIZE="512" UUID="08A6D56BA6D2E7E8" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c64c3fd1-101e-4754-be3d-227dcc219ffd"
/dev/sdb1: UUID="97CC-A035" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="801f4b6a-53c8-48e5-a9c2-b04a112d6d8e"
Here we should find UUID of partition /dev/sdb3
- it is 08A6D56BA6D2E7E8
It is required to support NTFS file system
sudo dnf install ntfs-3g
First of all, make a backup of the file:
sudo cp /etc/fstab /etc/fstab.backup
Create folder to which the partition will be mounted:
sudo mkdir /mnt/oldwin
Open the configuration file in a text editor:
sudo nano /etc/fstab
At the end of the file add next line:
UUID=08A6D56BA6D2E7E8 /mnt/oldwin ntfs-3g rw 0 0
Close text editor saving the file
Mount all devices which are configured to be mounted automatically:
sudo mount -a
Reload daemon using next command:
sudo systemctl daemon-reload
Now you can access the partition using path /mnt/oldwin
I added it to the left panel of the file explorer