If you do not want to create your own
.wks
file, you can use a provided
file.
Use the following command to list the available files:
$ wic list images mkefidisk Create an EFI disk image directdisk Create a 'pcbios' direct disk image
When you use a provided file, you do not have to use the
.wks
extension.
Here is an example in Raw Mode that uses the
directdisk
file:
$ wic create directdisk -r <rootfs_dir> -b <bootimg_dir> \ -k <kernel_dir> -n <native_sysroot>
Here are the actual partition language commands
used in the mkefidisk.wks
file to generate
an image:
# short-description: Create an EFI disk image # long-description: Creates a partitioned EFI disk image that the user # can directly dd to boot media. part /boot --source bootimg --ondisk sda --fstype=efi --label msdos --active --align 1024 part / --source rootfs --ondisk sda --fstype=ext3 --label platform --align 1024 part swap --ondisk sda --size 44 --label swap1 --fstype=swap bootloader --timeout=10 --append="rootwait rootfstype=ext3 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda- intel.enable_msi=0"