Skip to main content

# Noderoot

Noderoot is a tool for chrooting into root file systems stored on a different system.

### How it works

  • Rootfs path on server: `/opt/somerootfs`

  • Rootfs mount path on node: `/home/user/rootfs`

  1. Using NFS: Shares `/opt/somerootfs`.

  2. Using SSH: connects to the node and brings up the mount using the nfs client at `/home/user/rootfs`.

  3. Using SSH: connects to the node and brings up any additional bind mounts locally such as /proc, /dev, /sys.

  4. If a command is given, then using SSH: connects to the node and chroot’s into the share and runs the command.

  5. If no command given, leaves the mount up and waits for the user to hit Ctrl+C.

  6. When complete, brings down the mounts in reverse order and unshares the `/opt/somerootfs`.

### Why use it?

Its mainly an alternative for using qemu user mode emulation.

For example, when building a rootfs for an ARM system the user may want to chroot into the rootfs and run some compilation steps. This tool allows that to happen on the real CPU that the rootfs will end up living on rather than an emulated one.

### Server Setup

On Debian systems the server needs nfs-kernel-server

### Node Setup

On Debian systems the node needs nfs-common

Metadata

Release files for noderoot 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noderoot 0.0.2
File Size Uploaded
noderoot-0.0.2.tar.gz 5.6 kB Details

Release files / noderoot-0.0.2.tar.gz

Download URL noderoot-0.0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1d6e57ead83ef2e7402d4b0b2383838aa8818d71b32e360382bc5c52ee9d3715
BLAKE2b-256 checksum
How to use checksums
7dd044b708ab5cef9c6c9673fd1d1be8def6218edc291c94bcc01bcd21ced78f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page