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 7: Line 7:
 
Create an image an run it on [[KVM]]: <ref>http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html</ref>
 
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
  
  

Latest revision as of 13:01, 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[edit]


See also[edit]

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