Difference between revisions of "Mkosi"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
  
  
Create an image an run it on [[KVM]]:
+
Create an image an run it on [[KVM]]: <ref>http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html</ref>
 
  mkosi --bootable -o MY_IMAGE.raw (creates a [[UEFI]] bootable image named MY_IMAGE.raw)
 
  mkosi --bootable -o MY_IMAGE.raw (creates a [[UEFI]] bootable image named MY_IMAGE.raw)
 
  qemu-kvm -m 512 -smp 2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -drive format=raw,file=MY_IMAGE.raw
 
  qemu-kvm -m 512 -smp 2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -drive format=raw,file=MY_IMAGE.raw

Revision as of 13:00, 4 March 2020

This article is a Draft. Help us to complete it.


mkosi (creates a image.raw image)


Create an image an run it on KVM: [1]

mkosi --bootable -o MY_IMAGE.raw (creates a UEFI bootable image named MY_IMAGE.raw)
qemu-kvm -m 512 -smp 2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -drive format=raw,file=MY_IMAGE.raw


Activities


See also

  • http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html
  • Advertising: