Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mingfu-design/images

Open more actions menu
 
 

Repository files navigation

Download

More about Fabrik: https://fabrik.red

To create a jail using with create-jail.sh:

# ./create-jail.sh -p=/jails/foo

Here /jails already exists

To mount the disk.raw:

> zpool import -o readonly=on -d /dev -f -R /mnt
   pool: zroot
     id: 15033985127548010097
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        zroot        ONLINE
          gpt/disk0  ONLINE

Then use:

zpool import -o readonly=on -d /dev -f -R /mnt 15033985127548010097

If know the pool name:

zpool import -o readonly=on -d /dev -f -R /mnt zroot

update existing jail

cd into /usr/src:

env MAKEOBJDIRPREFIX=/fabrik/jail/obj SRCCONF=/etc/src-jail.conf __MAKE_CONF=/etc/make.conf make -DNO_CLEAN -j16 buildworld

Then stop the jail and install the world:

env MAKEOBJDIRPREFIX=/fabrik/jail/obj SRCCONF=/etc/src-jail.conf __MAKE_CONF=/etc/make.conf make DESTDIR=/jails/test installworld

Using gtar for google compute engine:

gtar -cSzf disk-zfs-swap.tar.gz disk.raw

About

Scripts for creating bootable (FreeBSD/zfs) images

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.