mirror of
https://github.com/charlesap/nasm-uefi
synced 2026-08-26 12:23:04 -04:00
update info on building, listing, and launching the shoe loader
This commit is contained in:
parent
089ea77540
commit
54afeda85c
1 changed files with 8 additions and 9 deletions
17
README.md
17
README.md
|
|
@ -2,22 +2,21 @@
|
|||
bare-bones nasm uefi application
|
||||
|
||||
build with:
|
||||
* nasm -f bin yo.asm -o yo.efi
|
||||
* sudo mount uefi.iso /mnt
|
||||
* sudo cp yo.efi /mnt/
|
||||
* sudo umount /mnt
|
||||
* nasm -f bin shoe.asm -o shoe.efi
|
||||
* sudo mount disk.iso mnt
|
||||
* sudo cp shoe.efi mnt/EFI/BOOT/BOOTX64.EFI
|
||||
* sudo umount mnt
|
||||
|
||||
get asm listing with:
|
||||
* objdump -Mintel -d shoe.efi
|
||||
|
||||
Launch QEMU with:
|
||||
|
||||
* /usr/bin/qemu-system-x86_64 -machine accel=kvm -name guest=uefiguest -machine pc,accel=kvm,usb=off,dump-guest-core=off -smp 2,sockets=2,cores=1,threads=1 -uuid 515645b7-ab3a-4e82-ba62-25751e4b523f -bios ./OVMF.fd -m 1G -vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing -drive file=uefi.iso
|
||||
* /usr/bin/qemu-system-x86_64 -machine accel=kvm -name guest=uefiguest -machine pc,accel=kvm,usb=off,dump-guest-core=off -smp 2,sockets=2,cores=1,threads=1 -uuid 515645b7-ab3a-4e82-ba62-25751e4b523f -bios ./OVMF.fd -m 1G -vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing -drive file=disk.iso
|
||||
|
||||
Launch the Spice viewer with:
|
||||
* remote-viewer spice://localhost:5900
|
||||
|
||||
In the viewer, at the prompt enter 'fs0:'
|
||||
|
||||
Then enter 'yo'
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue