You are not logged in.

#1 2024-05-25 11:09:35

Keyönz
Member
Registered: 2024-05-25
Posts: 2

[SOLVED] mount automatically ntfs partition

Hi,
I would like to mount automatically on boot my nfts drive located on /dev/sda1
here is my fstab file, I don't know why it doesn't mount my disk on boot :

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p7
UUID=85066899-967a-45d0-8188-a47a0b19061e	/         	ext4      	rw,relatime	0 1

# /dev/nvme0n1p5
UUID=621D-6D99      	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

# /dev/sda1 LABEL=Storage
UUID=8CFC298EFC29739C	/         	ntfs      	rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096	0 0

if you need, here is the output of lsblk -f :

NAME        FSTYPE FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                  
└─sda1      ntfs         Storage 8CFC298EFC29739C                      717.8G    20% /run/media/maeb/Storage
nvme0n1                                                                              
├─nvme0n1p1 vfat   FAT32         EAA6-CAE0                                           
├─nvme0n1p2                                                                          
├─nvme0n1p3 ntfs                 E64EB6934EB65BCD                       50.6G    57% /run/media/maeb/E64EB6934EB65BCD
├─nvme0n1p4 ntfs                 E4C22934C2290C7C                                    
├─nvme0n1p5 vfat   FAT32         621D-6D99                               303M    41% /boot
├─nvme0n1p6 swap   1             3c47902d-a228-451b-9f46-e2a7a03051d2                [SWAP]
└─nvme0n1p7 ext4   1.0           85066899-967a-45d0-8188-a47a0b19061e   67.1G    33% /

Note:
Here i mounted /dev/sda1 manually. same for /dev/nvme0n1p3, i need to keep it in nfts partition because i have a dual boot with windows.

Last edited by Keyönz (2024-05-30 12:56:45)

Offline

#2 2024-05-25 12:08:05

-thc
Member
Registered: 2017-03-15
Posts: 1,099

Re: [SOLVED] mount automatically ntfs partition

Please use code tags to format your posting.

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p7
UUID=85066899-967a-45d0-8188-a47a0b19061e    /             ext4          rw,relatime    0 1

# /dev/nvme0n1p5
UUID=621D-6D99          /boot         vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro    0 2

# /dev/sda1 LABEL=Storage
UUID=8CFC298EFC29739C    /             ntfs          rw,nosuid,nodev,user_id=0,group_id=0,allow_other,blksize=4096    0 0

The second column in fstab is the destined mount point - mounting your storage on "/" is a misconfiguration.

Chose another mount point.

Last edited by -thc (2024-05-25 12:08:25)

Offline

#3 2024-05-25 14:13:11

Keyönz
Member
Registered: 2024-05-25
Posts: 2

Re: [SOLVED] mount automatically ntfs partition

Ok it worked that was a dumb mistake, thanks !

Offline

#4 2024-05-25 15:12:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,595

Re: [SOLVED] mount automatically ntfs partition

Be sure to edit your first post and change the title by prepending [SOLVED]


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2024-05-25 18:37:45

cryptearth
Member
Registered: 2024-02-03
Posts: 1,988

Re: [SOLVED] mount automatically ntfs partition

for exchanging files with windows exFAT is a better option than ntfs

Offline

Board footer

Powered by FluxBB