How did you copy to /bin? What are the permissions of the destination of the link? Is it accessible correctly with the link? Is it in the same partition?
RegardsPassion: https://sysplay.in (Playing with Systems)
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/7bdee4d7-05be-4261-8de2-8f5045e1066a%40sarika-pugs.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/CAM%2BrkwgNEUQ_QD-Fk8%2B71qd%2BC%2BKkYaZZdHsAxbjU3G0ZoFN_%3DQ%40mail.gmail.com.
Typically, this error indicates that the file is not accessible, during the boot time. Please note that the file structure you see after boot, may not be exactly visible during boot, due to multiple reasons. A simple check could be if you place the actual file directly at the location, instead of through links.
Thanks & RegardsTo view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/CADmUoRQ7SGSBoz%3D%2B6D-ByHRZfupo_qCGpvkCsWzGCCXPYSxLmg%40mail.gmail.com.
Hello Anil/ folks.
Thank you so much for your invaluable insights! The mystery
has been unraveled.🎉
Initially, I suspected 'switch_root' or 'initramfs' might be the culprits. I even
sprinkled some logs in switch_root.c and chroot.c (check out
https://github.com/leahneukirchen/xtools/blob/master/xchroot ).
After some detective work, it turned out they were
innocent.
The real twist in the tale was with the 'dd' command post-FDE encryption. I am
using the "dd" command to copy the encrypted image. For NAND, the
smaller image size was a breeze. But for ext4, the larger image size threw a
wrench in the works.
For NAND, it worked fine since the image size was relatively small (~80MB).
However, for ext4, the image size was larger (~300MB).
The missing piece? The "conv=fsync" option in the dd
command. Once I enabled it, everything fell into place perfectly.
warm regards,
Pranav
To view this discussion on the web visit https://groups.google.com/d/msgid/inside_linux/fc0ed316-ad43-4766-b983-5049750c9769%40sarika-pugs.com.