[Software] Mount Server Permanently In Natilus

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
reformedhatter
Posts: 44
Joined: 2024-01-30 10:33
Has thanked: 12 times
Been thanked: 2 times

[Software] Mount Server Permanently In Natilus

#1 Post by reformedhatter »

So, in nautilus, I have gone to Other Locations, and at the bottom I have managed to connect to my server. It shows up in the left hand panel and is mounted. But I have to do this each time I boot up. Is there a way to by-pass this and the server is connected to automatically?
Debian 12
Laptop: ASUS FX502VD
Network Controller: Intel Corporation Wireless 8260 (rev 3a)

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: [Software] Mount Server Permanently In Natilus

#2 Post by arzgi »

You could mount your server in /etc/fstab, so it would be mountad at boot.

reformedhatter
Posts: 44
Joined: 2024-01-30 10:33
Has thanked: 12 times
Been thanked: 2 times

Re: [Software] Mount Server Permanently In Natilus

#3 Post by reformedhatter »

Thanks for the quick reply. I think I may have made a mistake in my opening post as it seems to be there permanent after all. Can you explain how to mount it in /etc/fstab?
Debian 12
Laptop: ASUS FX502VD
Network Controller: Intel Corporation Wireless 8260 (rev 3a)

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: [Software] Mount Server Permanently In Natilus

#4 Post by arzgi »

Hello!

Should know do you use samba or what method.

Basic syntax:

Code: Select all

//192.168.1.100/share  /mnt/network_drive  cifs  defaults  0  0
You need root rights or sudo to edit /etc/fstab

reformedhatter
Posts: 44
Joined: 2024-01-30 10:33
Has thanked: 12 times
Been thanked: 2 times

Re: [Software] Mount Server Permanently In Natilus

#5 Post by reformedhatter »

What is samba? Sorry, you are talking to a slow beginner here lol
Debian 12
Laptop: ASUS FX502VD
Network Controller: Intel Corporation Wireless 8260 (rev 3a)

reformedhatter
Posts: 44
Joined: 2024-01-30 10:33
Has thanked: 12 times
Been thanked: 2 times

Re: [Software] Mount Server Permanently In Natilus

#6 Post by reformedhatter »

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=16975f2c-0aa0-4522-accc-56c78f4c7b18 / ext4 errors=remoun>
# /boot/efi was on /dev/sda1 during installation
UUID=596D-EA56 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda3 during installation
UUID=ccf14dd3-87d9-4689-a923-8b81ff33a72c none swap sw >
LABEL=BackingUp /mnt/BackingUp auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Storage /mnt/Storage auto nosuid,nodev,nofail,x-gvfs-show 0 0
this is what I see when I run sudo nano /etc/fstab
Debian 12
Laptop: ASUS FX502VD
Network Controller: Intel Corporation Wireless 8260 (rev 3a)

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: [Software] Mount Server Permanently In Natilus

#7 Post by arzgi »

We all have been in some point.

Samba is protocol used to share data between windows and linux.

arzgi
Posts: 1775
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times

Re: [Software] Mount Server Permanently In Natilus

#8 Post by arzgi »

reformedhatter wrote: 2025-01-14 14:48
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=16975f2c-0aa0-4522-accc-56c78f4c7b18 / ext4 errors=remoun>
# /boot/efi was on /dev/sda1 during installation
UUID=596D-EA56 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda3 during installation
UUID=ccf14dd3-87d9-4689-a923-8b81ff33a72c none swap sw >
LABEL=BackingUp /mnt/BackingUp auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=Storage /mnt/Storage auto nosuid,nodev,nofail,x-gvfs-show 0 0
this is what I see when I run sudo nano /etc/fstab


So you already have, you should add option user to that auto, nosuid,,, That > at the end of swap is wrong, maybe a typo.

reformedhatter
Posts: 44
Joined: 2024-01-30 10:33
Has thanked: 12 times
Been thanked: 2 times

Re: [Software] Mount Server Permanently In Natilus

#9 Post by reformedhatter »

I managed to find out how to bookmark the server and that seems to be working fine.
Debian 12
Laptop: ASUS FX502VD
Network Controller: Intel Corporation Wireless 8260 (rev 3a)

Post Reply