You are not logged in.

#1 2019-08-17 14:32:48

sleepyoh
Member
Registered: 2016-11-05
Posts: 15

Has fstab changed?

Hello

I feel super confused, I have an 700+ day old install running as my server in the closet, when i generated fstab on installation I used uuid's, and have other drives mounted also in fstab, all is fine.

My desktop however, new computer, which I recently installed Arch on. It's pretty standard, mbr with seperate /boot partition, the rest is all under /. Did as I usually do, generate fstab with uuid's and everything has been working fine.

Today I added another ssd on my system, and to my confusion, fstab is blank? My systemdisk is not in fstab, /etc/fstab contains nothing except

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

# <file system> <dir> <type> <options> <dump> <pass>
          

I then did my usual thing, created an directory in /mnt which my user owns, used blkid to get uuid, mounted my drive to my created folder, it's using ext4 and I specified default as option and dump 0 pass 2, dont know why I use those options but all my drives on my other machines are mounted this way, probably had some reason back in the days.

I rebooted to see if it mounts as should, but no results. Also curious to why my system-drive which the installed system is on, is not in fstab as my other  systems? Have fstab moved or changed? I find nothing new in the documentation and am kind of stuck as how to move forward.  Works absolutely fine mounting the drive manually to my specified directory in /mnt.

/Sleepy

Last edited by sleepyoh (2019-08-17 15:07:07)

Offline

#2 2019-08-17 15:00:59

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Has fstab changed?

The root filesystem is mounted from the initrd using options passed from the bootloader or systemd can use systemd-gpt-auto-generator.
If the root filesystem is listed in the fstab it will be remounted with the options specified in fstab.

Offline

Board footer

Powered by FluxBB