Code Monkey home page Code Monkey logo

ntfs-as-rootfs's Introduction

NTFS as rootfs

Install Linux to an NTFS partition.

This guide focus on partition installtion. For directory installation, Nikola Pavlica’s guide may help.

Screenshot: Manjaro installed to NTFS

How NTFS is different from native file systems

FUSE

  • Initramfs is required.
  • Initramfs helpers does not handle NTFS properly.

Permissions

  • NTFS-3G can map NTFS permissions to POSIX permissions, if the permissions option is (explicitly or implicitly) set on mount.
  • Some builds of NTFS-3G may enable nosuid by default, and mount does not pass suid option to ntfs-3g.

Known issue

  • Poor performance.
  • On shutdown or reboot, the system will halt but not poweroff or reset.

Arch Linux and Manjaro

Installation

Arch Linux: follow the ArchWiki Installation guide page. Note that the permissions option is required when mounting the root partition.

Manjaro: do customised installation like Arch Linux.

  • The manjaro-architect installer may help.
    • The “architect” iso is not required. You can run it from live media.
  • If manjaro-architect used, mount the root partition with permissions to /mnt manually.

ntfs-3g package

Arch Linux and Manjaro’s build of NTFS-3G enable nosuid by default. The ntfs-3g-fuse package works.

Initramfs

Edit /etc/mkinitcpio.conf:

  • add fuse to the MODULES array;
  • add mount.ntfs-3g to the BINARIES array.

Then regenerate initramfs.

Kernel command line parameters

  • Add rootfstype=ntfs-3g and rootflags=permissions to kernel command line parameters.
  • Make sure all required mount options have been add to kernel parameters, and remove root partition from /etc/fstab to avoid systemd’s auto remount, which is not supported by NTFS-3G.

Debian and derivatives

WIP.

ntfs-as-rootfs's People

Contributors

cyanohao avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

2a588

ntfs-as-rootfs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.