You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@server:~# smbpasswd -a root
root@server:~# vi /etc/samba/smb.conf
[odroid]
comment = odroid client root
path = /root
guest ok = no
browseable = no
writable = yes
create mask = 0755
directory mask = 0755
root@server:~# service smbd restart
Overlay root
overlayroot enable
root@server:~# update-initramfs -c -k $(uname -r)
update-initramfs: Generating /boot/initrd.img-4.9.337-17
root@server:~# mkimage -A arm64 -O linux -T ramdisk -C none -a 0 -e 0 -n uInitrd -d /boot/initrd.img-$(uname -r) /boot/uInitrd
Image Name: uInitrd
Created: Fri Oct 27 04:27:58 2023
Image Type: AArch64 Linux RAMDisk Image (uncompressed)
Data Size: 7805996 Bytes = 7623.04 KiB = 7.44 MiB
Load Address: 00000000
Entry Point: 00000000
// Change overlayroot value "" to "tmpfs" for overlayroot enable
root@server:~# vi /etc/overlayroot.conf
...
overlayroot_cfgdisk="disabled"
# root partition only overlay fs
# overlayroot="tmpfs:recurse=0"
# All partition overlay fs
overlayroot="tmpfs"
overlayroot disable
// get write permission
root@server:~# overlayroot-chroot
INFO: Chrooting into [/media/root-ro]
root@server:~#
// Change overlayroot value "tmpfs" to "" for overlayroot disable
root@server:~# vi /etc/overlayroot.conf
...
overlayroot_cfgdisk="disabled"
overlayroot=""