segunda-feira, 6 de agosto de 2018

Criando image de Debian Stretch com suporte a ZFS para live USB

Buenas,

Seguindo basicamente o que está em https://janvrany.github.io/2018/01/fun-with-zfs-part-2-creating-debian-zfs-rescue-usb-image.html e https://ubuntuforums.org/showthread.php?t=2267762 (configuração de proxy http):

sudo su

zfs create pool00/live_debian_with_zfs

cd /pool00/live_debian_with_zfs

apt install live-build

lb config --distribution=stretch --architecture=amd64 --binary-images=iso-hybrid --iso-volume="Debian Stretch ZFS Rescue Live" --archive-areas="main contrib" --linux-packages="linux-image linux-headers" --apt-http-proxy http://...:3128

echo "
> zfs-dkms
> less
> curl
> wget
> openssh-client
> openssh-server
> openssh-sftp-server
> " >> config/package-lists/my.list.chroot


lb bootstrap

lb chroot

lb binary

Pronto. Bora testar!!!

Nenhum comentário: