721c919c7b
Changes: - kernel 6.0.2 - Broken init scripts - Switch to bun for better peroformance an easier ffi - Removed grup - Efi support without graphics (at least graphics werent tested) - Suppression de toutes les dépendance non libc - new splash - broken audio - typescript support - ls rewritten to be more reliable
26 lines
861 B
Bash
Executable File
26 lines
861 B
Bash
Executable File
if [ ! -f ovmf_vars.fd ]
|
|
then
|
|
cp /usr/share/edk2-ovmf/x64/OVMF_VARS.fd ovmf_vars.fd
|
|
fi
|
|
|
|
|
|
echo "Attention sur linux le son est a zero par default dans le paneau de config"
|
|
qemu-system-x86_64\
|
|
-boot menu=on\
|
|
-machine type=q35,accel=kvm\
|
|
-enable-kvm\
|
|
-object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-pci,rng=rng0\
|
|
-cpu host\
|
|
-smp 2\
|
|
-m 4G -device virtio-balloon\
|
|
-drive file=disk.img,format=raw\
|
|
-k fr\
|
|
-vga qxl\
|
|
-audiodev pa,id=hda,out.mixing-engine=on \
|
|
-device intel-hda -device hda-output,audiodev=hda \
|
|
-kernel './kernel/src/arch/x86/boot/bzImage' \
|
|
-drive if=pflash,format=raw,readonly=on,file=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd \
|
|
-drive if=pflash,format=raw,file=ovmf_vars.fd \
|
|
-append 'console=ttyS0 root=/dev/sda2 rw' $* \
|
|
-nographic #TODO: enable efi graphics
|