We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

[0.0.5 b251] /etc/config/fstab not persistent



  • Since updating to 0.0.5 b251, /etc/config/fstab is not persistent

    I used to change it to override the /overlay partition with my USB storage, as directed by https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs

    However, this file is not persistent across reboots.

    I get this after reboot:

    root@Omega-15B0:~# cat /etc/config/fstab 
    config 'global'
    	option	anon_swap	'0'
    	option	anon_mount	'0'
    	option	auto_swap	'1'
    	option	auto_mount	'1'
    	option	delay_root	'5'
    	option	check_fs	'0'
    
    config 'mount'
    	option	target	'/overlay' 
    	option	uuid	'3ca7-8276'
    	option	enabled	'1'
    

    While I should be getting:

    root@Omega-15B0:~# cat /etc/config/fstab 
    config 'global'
    	option	anon_swap	'0'
    	option	anon_mount	'0'
    	option	auto_swap	'1'
    	option	auto_mount	'1'
    	option	delay_root	'5'
    	option	check_fs	'0'
    
    config 'mount'
    	option	target	'/overlay' 
    	option	uuid	'2cca1b40-e417-4a30-9917-d0efa4864f05'
    	option	enabled	'1'
    
    

    Any insight?



  • Hi @François-Levaux, is it possible that you have an old version of the /etc/config/fstab file stored in the overlay? The version that's stored in the rom might be correct, but when you mount the overlay partition, content in this partition overlays on top of the content of the rom, replacing them. So if the content in your overlay partition is the old version, it will overwrite the version that you want every time you boot up.



  • Hi @Boken-Lin , your explanation make sense. This is not the case. For some reason, it is now persistent without changing a thing. This is quite weird to me. Thanks!



  • @François-Levaux Hmmm, did you do anything or did it just become persistent automatically?



  • Would be interested in your answer before update mine.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.