Skip to content

Instantly share code, notes, and snippets.

View mcb30's full-sized avatar

Michael Brown mcb30

View GitHub Profile
#!ipxe
prompt --key 0x197e --timeout 2000 Press F12 to install Windows to ${root-path}... || exit
cpuid --ext 29 && set arch amd64 || set arch x86
kernel wimboot
initrd ${arch}/media/install.bat install.bat
initrd ${arch}/media/winpeshl.ini winpeshl.ini
initrd ${arch}/media/Boot/BCD BCD
initrd ${arch}/media/Boot/boot.sdi boot.sdi
initrd ${arch}/media/sources/boot.wim boot.wim
@mcb30
mcb30 / boot.ipxe
Created February 13, 2021 20:54
/var/www/html/tinycore/boot.ipxe
#!ipxe
kernel vmlinuz64 initrd=rootfs.gz initrd=modules64.gz
initrd rootfs.gz
initrd modules64.gz
boot
@mcb30
mcb30 / gist:5583788
Created May 15, 2013 12:53
Simple bare-metal "Hello world" program
/*
* Compile with
*
* as --32 -o vga.o vga.s && objcopy -Obinary vga.o vga.bin
*
*/
.arch i386
.text
.code16