Skip to content

madprog/zfsmount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

zfsmount

Script to automatically install the native ZFS module on a LiveCD instance

I also use it to mount my ZFS root filesystem from the Ubuntu rescue instance on online.net. Once the zfsmount.sh script is on the boot partition, I can run the following commands:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@host -p 22
mount /dev/sda1 /mnt
/mnt/zfsmount.sh

-o UserKnownHostsFile=/dev/null and -o StrictHostKeyChecking=no are only needed for a rescue connection: without these options, the connection would be refused, as the temporary SSH server has a different key.

Once the installation is finished (about 5 minutes), the ZFS-rooted system can be chrooted in order to rescue it.

In order to install a native-ZFS Linux, you can follow these excellent tutoriels for Debian and for Ubuntu.

An idea can be to always have this file on the boot partition. You can install it using these commands:

mount /dev/sda1 /mnt
wget -o /mnt/zfsmount.sh https://raw.githubusercontent.com/madprog/zfsmount/master/zfsmount.sh
chmod +x /mnt/zfsmount.sh

About

Script to install the native zfs module on a LiveCD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages