init
This commit is contained in:
commit
b3dba4542f
44 changed files with 1596 additions and 0 deletions
13
bin/img.run
Executable file
13
bin/img.run
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue