You are not logged in.

#1 2016-01-17 10:40:34

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

{SOLVED] genfstab: command not found

After a recent kernel upgrade I found out the hard way that my fstab wasn't configured correctly. In order to create a proper fstab I tried genfstab but the command is not found.

Which package should contain genfstab?

Last edited by theking2 (2016-01-20 19:34:20)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2016-01-17 10:44:43

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

Re: {SOLVED] genfstab: command not found


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.

Offline

#3 2016-01-17 11:57:27

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: {SOLVED] genfstab: command not found

theking2 wrote:

After a recent kernel upgrade I found out the hard way that my fstab wasn't configured correctly. In order to create a proper fstab I tried genfstab but the command is not found.

It is not advised to run the genfstab script after the installation has finished.

There used to be a statement to that effect in the Beginner's Guide but it has been streamlined recently.

Write the lines yourself with reference to fstab(5) & mount(8)


Jin, Jîyan, Azadî

Offline

#4 2016-01-17 12:54:46

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: {SOLVED] genfstab: command not found

use "defaults" for the fourth field makes it a better day big_smile

Offline

#5 2016-01-20 19:39:19

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: {SOLVED] genfstab: command not found

Head_on_a_Stick wrote:
theking2 wrote:

After a recent kernel upgrade I found out the hard way that my fstab wasn't configured correctly. In order to create a proper fstab I tried genfstab but the command is not found.

It is not advised to run the genfstab script after the installation has finished.

There used to be a statement to that effect in the Beginner's Guide but it has been streamlined recently.

Write the lines yourself with reference to fstab(5) & mount(8)


Thanks! That is exactly what I did in the end. I ended up using the GPT labels instead of the filesystem labels.

Actually my knowledge of fstab is getting more and more old fasioned. I currently mention swap and boot only. As I have most other partitions in a ZFS there seems to be no need to mention the expicitly in fstab, they are mounted automagically. Also /  and /tmp or /run/tmp seem no longer be needed in fstab. That is a step in the right direction but baffles me.

What is and what is no longer needed in fstab?


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#6 2016-01-20 19:53:35

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: {SOLVED] genfstab: command not found

theking2 wrote:

What is and what is no longer needed in fstab?

empty@Arch ~ % cat /etc/fstab
cat: /etc/fstab: No such file or directory

Not much...

big_smile


Jin, Jîyan, Azadî

Offline

#7 2021-08-08 20:39:32

atomikegg
Member
Registered: 2019-08-14
Posts: 128

Re: {SOLVED] genfstab: command not found

Head_on_a_Stick wrote:

It is not advised to run the genfstab script after the installation has finished.

Hm, but still in the installation guide.
https://wiki.archlinux.org/title/instal … le_systems

Offline

#8 2021-08-08 20:55:55

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: {SOLVED] genfstab: command not found

atomikegg wrote:
Head_on_a_Stick wrote:

It is not advised to run the genfstab script after the installation has finished.

Hm, but still in the installation guide.
https://wiki.archlinux.org/title/instal … le_systems

Please can you refrain from posting completely untrue and irrelevant information, especially in 5 year old solved threads.
Closing.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB