I am on the way to GENTOO-i-fy my Raspberry Pi4. Booting works and I can connect via sshd and ethernet.
As "harddisk" I am using an usb attached SSD. There is no SDcard inserted or in use otherwise.
While trying things, it may happen to not to get a connection at all so a "hard reset" (read: Power cycle) needs
to be done....leaving the filesystem of / and /home in a "floating" <cough> state.
fstab shows as follows:
Code: Select all
# <device> <dir> <type> <options> <dump> <fsck>
#---------------------------------------------------------------------------------------------------------------------------------------
LABEL=ROOT / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
LABEL=BOOT /boot vfat defaults 0 2
LABEL=HOME /home ext4 defaults 0 2
tmpfs /tmp tmpfs defaults,nosuid 0 0
LABEL=SWAP none swap defaults 0 0With
Code: Select all
tune2fs -l /dev/sda<b>Code: Select all
ilesystem created: Tue Feb 2 11:47:26 2021
Last mount time: Thu Jan 1 01:00:22 1970
Last write time: Thu Jan 1 01:00:11 1970
Mount count: 1
Maximum mount count: 1
Last checked: Tue Feb 2 11:55:41 2021
Check interval: 0 (<none>)
Code: Select all
Filesystem created: Tue Feb 2 11:55:40 2021
Last mount time: Thu Jan 1 01:00:23 1970
Last write time: Thu Jan 1 01:00:23 1970
Mount count: 1
Maximum mount count: 1
Last checked: Tue Feb 2 11:55:40 2021
Check interval: 0 (<none>)Code: Select all
tune2fs -c 1 /dev/sda<n>I followed these instructions:
https://linuxconfig.org/how-to-force-fs ... t-on-linux
According to these instructions, there had to be a fsck right after boot...but according to the parameters above it did not happen.
Before I forget...it is the 4.2.2021 while I am writing this...
I know of the touch-trick for ROOT...but it does not help for HOME and I would like to have one working method (tune2fs) instead of two different,
if one is not working ... at least for me.
What did I wrong here?
Cheers,
N.Frisia


