wcs2228
39
The /etc/AdGuardHome directory should not be there because the symbolic link is to replace the directory and all its contents, as I had indicated. The real directory with all the real content should have been copied to the USB drive. The idea is to have /etc/AdGuardHome as a symbolic link to /mnt/usb_drv/AdGuardHome.
The other commands are the directories that you copied to the USB drive as /mnt/usb_drv/AdGuardHome, so they have to exist as shown in Post 34 screenshot:
ls -l /mnt /usb_drv/AdGuardHome
ls -l /mnt /usb_drv/AdGuardHome/data
ls -l /mnt /usb_drv/AdGuardHome/data/filters
ls -l /mnt /usb_drv/AdGuardHome/data/filters/2389612069
I am not clear which are all the files that you copied to the USB drive and whether you left some files on /etc/AdGuardHome. If the the /mnt/usb_drv/AdGuard directories are there, then just to rename it and create the symbolic link:
cd /etc
mv ./AdGuardHome ./AdGuardHome.SAVE
ln -s /mnt/usb_drv/AdGuardHome ./AdGuardHome