tag:blogger.com,1999:blog-5879050571098780501.post4333206887207912301..comments2023-07-29T17:37:04.170+05:30Comments on The Code Artist: Booting Android completely over ethernetUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5879050571098780501.post-29249582723343945592019-11-13T23:28:33.052+05:302019-11-13T23:28:33.052+05:30Sorry, its been quite some time since i did this a...Sorry, its been quite some time since i did this and newer version of Android appear to have complicated over time.<br /><br />The issue appears to be incompatibility between SELinux and the NFS-based root-fs.<br /><br />Few things to try disabling SELinux.<br /><br />Add either of these command-line options to the kernel bootargs in U-boot:<br /><br />android.SElinux=disable<br /> or<br />androidboot.selinux=permissive<br /><br />Also add a suffix ",v3,tcp" (without the quotes) at the end of the value specified for the nfsroot property in the bootargs.<br /><br />nfsroot=:,v3,tcp<br /><br />I haven't been able to verify this myself. If this works for you, please feel free to drop a note here for others in future... :-)<br /><br /><br />On a related note, for anyone interested in what SELinux needs under the hood from a filesystem, here are a few slides describing what was done to add SELinux support to NFS - https://www.nsa.gov/Portals/70/documents/what-we-do/research/selinux/documentation/presentations/2005-implementing-selinux-support-for-nfs-presentation.pdfTheCodeArtisthttps://www.blogger.com/profile/11629092532561603507noreply@blogger.comtag:blogger.com,1999:blog-5879050571098780501.post-18068984627234835352019-09-25T19:57:29.479+05:302019-09-25T19:57:29.479+05:30Is this issue fixed. Can you please let us know th...Is this issue fixed. Can you please let us know the fix?Anonymoushttps://www.blogger.com/profile/09125086076860356309noreply@blogger.comtag:blogger.com,1999:blog-5879050571098780501.post-25185242061541261552018-12-15T14:27:28.707+05:302018-12-15T14:27:28.707+05:30I am also facing same issue, is issue fixed?I am also facing same issue, is issue fixed?shahulhttps://www.blogger.com/profile/08442924773921542710noreply@blogger.comtag:blogger.com,1999:blog-5879050571098780501.post-91605358916249697582018-11-01T18:47:41.859+05:302018-11-01T18:47:41.859+05:30I am facing below error:
================
Freeing ...I am facing below error:<br />================<br />Freeing unused kernel memory: 1024K (c1100000 - c1200000)<br />init: init first stage started!<br />audit: type=1403 audit(3005.970:2): policy loaded auid=4294967295 ses=4294967295<br />init: (Initializing SELinux non-enforcing took 0.10s.)<br />init: SELinux: Could not set context for /init: Operation not supported on transport endpoint<br />init: restorecon failed: Operation not supported on transport endpoint<br />init: Security failure; rebooting into recovery mode...<br />sysrq: SysRq : Emergency Remount R/O<br />Emergency Remount complete<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5879050571098780501.post-22345427177015510032012-10-23T18:05:30.646+05:302012-10-23T18:05:30.646+05:30Awesome ! Thanks a lot Awesome ! Thanks a lot Anonymoushttps://www.blogger.com/profile/16588829755628606187noreply@blogger.com