summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/directdisk-gpt.wks
blob: cf16c0c30bbd72f4e983db4803fd8ba313e8804b (plain)
1
2
3
4
5
6
7
8
9
10
# short-description: Create a 'pcbios' direct disk image
# long-description: Creates a partitioned legacy BIOS disk image that the user
# can directly dd to boot media.


part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
part / --source rootfs --ondisk sda --fstype=ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid

bootloader  --ptable gpt --timeout=0  --append="rootwait rootfstype=ext4 video=vesafb vga=0x318 console=tty0 console=ttyS0,115200n8"