13 lines
458 B
Bash
Executable file
13 lines
458 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
# mount -t 9p -o trans=virtio,version=9p2000.L host0 /root
|
|
|
|
qemu-system-x86_64 -append "root=/dev/sda1 console=ttyS0" \
|
|
-kernel "$HOME/Desktop/debian/vmlinuz-linux" \
|
|
-initrd "$HOME/Desktop/debian/initramfs-linux.img" \
|
|
-m 2048 \
|
|
-smp $(sysctl -n hw.logicalcpu) \
|
|
-cpu qemu64 \
|
|
-virtfs local,path=.,security_model=none,mount_tag=host0 \
|
|
-drive format=raw,file=debian.img \
|
|
-nographic
|