Skip to content

Instantly share code, notes, and snippets.

@fiddyschmitt
Last active June 13, 2024 12:53
Show Gist options
  • Save fiddyschmitt/ebae302027683fdeec2131c2f0f6f4b2 to your computer and use it in GitHub Desktop.
Save fiddyschmitt/ebae302027683fdeec2131c2f0f6f4b2 to your computer and use it in GitHub Desktop.
Clonezilla nfs
sudo apt-get update
sudo apt-get install nfs-kernel-server
mount -o size=1G -t tmpfs none /mnt/tmpfs
sudo chmod 777 /mnt/tmpfs
sudo nano /etc/exports
/mnt/tmpfs *(rw,sync,no_root_squash,no_subtree_check)
sudo exportfs -a
sudo systemctl restart nfs-kernel-server
//mount in Windows
//Open normal Command Prompt (not PS) as regular user
mount 192.168.1.2:/mnt/tmpfs X:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment