NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/56685: new solution for running netbsd on zfs filesystem



>Number:         56685
>Category:       misc
>Synopsis:       new solution for running netbsd on zfs filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 03 17:10:00 +0000 2022
>Originator:     sergio lenzi
>Release:        9.2_STABLE, HEAD
>Organization:
k1 systems
>Environment:
NetBSD sala.lenzicasa 9.2_STABLE NetBSD 9.2_STABLE (LZT64) #1: Sun Jan 23 20:16:19 -03 2022  NetBSD@VMS.lenzicasa:/home/NetBSD/BUILD/9/amd64/OBJ/sys/arch/amd64/compile/GENERIC amd64
>Description:
here is a solution for running NetBSD amd64 on zfs filesystem.
The system boots on a very small ufs2 root partition (no usr, no var) and
then jumps into the zfs filesystem without the use of a ramdisk.
it consists of an installer, that must be run from an already running NetBSD (can be a live FS)... that partition the disk, using gpt, installs the base system, and a new rc.d entry: zpool that during the boot phase, activate the zfs datasets...  on exit the boot runs normally and the result is the full NetBSD running on a zfs FS  with the /var, /usr, /home...  all on the zpool. 
the script ask for the distribution sets directory, a directory that contais the tar.zx (base.tar.xz, etc.tar.xz...)   and installs from there ..  any contribution to the script is welcome
>How-To-Repeat:

>Fix:
take a look at the script at: http://k1.com.br/makegptzfs.sh



Home | Main Index | Thread Index | Old Index