bootloader packages
bootstrap_loader_packages=( grub-efi-amd64-signed )
minimal set of packages to install
packages required for basic NAT networking
TODO: do it without virt-format?
gen_chroot_install "$name" fstab "/etc/fstab"
fstab_hd_type=nbd gen_chroot_install "$name" fstab "/etc/fstab"
local dev
dev=$(vbox_hd_partition_mount "$name" "raw")
vbox_hd_partition_umount "$name" "raw"
gen_chroot_install "$name" grub_device_map "/boot/grub/device.map"
install grub-pc package
install grub onto image
run_sudo rm -f "$(chroot_filename "$name" "boot/grub/device.map")"
gen_chroot_install "$name" fstab "/etc/fstab"
/etc/fstab: static file system information.
interfaces(5) file used by ifup(8) and ifdown(8)
virt-format does this for us; only needed if we can use fdisk