You are not logged in.

#1 2023-11-18 22:18:16

vikramr
Member
Registered: 2009-09-22
Posts: 45

[solved] /etc/fstab is empty

Not entirely sure why but my /etc/fstab is empty when i tried to edit via micro editor.

I copied current mounts I am using

 
cat /proc/mounts

Do I need these in my /etc/fstab as well or can I ignore them  (i added the comments after copying them to the file.)

 
#proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
#sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
#dev /dev devtmpfs rw,nosuid,relatime,size=3718444k,nr_inodes=929611,mode=755,inode64 0 0
#run /run tmpfs rw,nosuid,nodev,relatime,mode=755,inode64 0 0
#efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
#securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
#tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
#devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
#cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
#pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
#bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
#systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=288 0 0
#debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
#hugetlbfs /dev/hugepages hugetlbfs rw,nosuid,nodev,relatime,pagesize=2M 0 0
#tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
#mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
#tmpfs /tmp tmpfs rw,nosuid,nodev,size=3739560k,nr_inodes=1048576,inode64 0 0
#fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
#configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
#tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=747908k,nr_inodes=186977,mode=700,uid=1000,gid=1000,inode64 0 0

Last edited by vikramr (2023-11-18 22:41:45)

Offline

#2 2023-11-18 22:34:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: [solved] /etc/fstab is empty

The only reason your fstab would be empty is if you failed to follow the installation guide.

You don't need all those pseudo filesystem mounts, but what you might need is your boot/ESP partition mount. How did you configure your system when you installed it?

Mod note: Moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2023-11-18 22:39:34

vikramr
Member
Registered: 2009-09-22
Posts: 45

Re: [solved] /etc/fstab is empty

I installed this over 6 months ago and all was good until I tried to edit it today with micro. I'll try rebooting it with my current mounts minus the   pseudo filesystem mounts.


WorMzy wrote:

The only reason your fstab would be empty is if you failed to follow the installation guide.

You don't need all those pseudo filesystem mounts, but what you might need is your boot/ESP partition mount. How did you configure your system when you installed it?

Mod note: Moving to NC.

Offline

#4 2023-11-18 22:42:47

vikramr
Member
Registered: 2009-09-22
Posts: 45

Re: [solved] /etc/fstab is empty

Booted OK with the fstab recovered from /proc/mounts

Offline

Board footer

Powered by FluxBB