aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/image/canned-wks/qemux86-directdisk.wks
blob: 8fc38b54d0b0402441c3f6811c4faa24f25f392b (plain)
1
2
3
4
5
6
7
8
9
10
# short-description: Create a qemu machine 'pcbios' direct disk image
# long-description: Creates a partitioned legacy BIOS disk image that the user
# can directly use to boot a qemu machine.


part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024

bootloader  --timeout=0  --append="vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda2 rw mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 oprofile.timer=1 rootfstype=ext4 "