10 lines
202 B
Bash
Executable file
10 lines
202 B
Bash
Executable file
#!/bin/sh
|
|
|
|
[ -e pladde.img ] || qemu-img create pladde.img 4G
|
|
|
|
qemu-system-x86_64 \
|
|
-kernel vmlinuz \
|
|
-initrd initrd.gz \
|
|
-drive format=raw,if=scsi,file=pladde.img \
|
|
-append root=/dev/sda1 \
|
|
-m 1G
|