UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. gucong
    3. Best
    G
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: fstab getting overwritten?

      @crackulator
      I worked for the same purpose for several days, and finally I succeeded.
      In the <boot partition>/ramdisk/scripts/halium, you can find this:

      echo "/dev/root / rootfs defaults,ro 0 0" >>$FSTAB
      

      That's where fstab is being rewritten.

      See github:
      https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium#L315

      https://github.com/Halium/initramfs-tools-halium/blob/e6a91ad5dbd62521629ecd6f90d93c10884dc846/scripts/halium#L315

      posted in Support
      G
      gucong