aboutsummaryrefslogtreecommitdiffstats
path: root/wic/qemuboot-xen-x86-64.wks
blob: 593e0a666b99a3d519dc71a7d88d088c01158631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# short-description: Create a 'pcbios' direct disk image with Xen hypervisor and bootloader config
# long-description: Creates a partitioned legacy BIOS disk image to boot Xen
# with a bootloader config that the user can directly dd to boot media.
# Boot files are located on the first vfat partition.

part /boot --source bootimg-biosxen --ondisk sda --label boot --active --align 1024

# For the main partition, it can be useful to add additional space for VMs;
# eg. increase partition size by appending: --size 10G
part / --source rootfs --ondisk sda --use-uuid --fstype=ext4 --label root --align 1024

bootloader --configfile="qemuboot-xen-x86-64.cfg"