mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Split QEMU command
This commit is contained in:
parent
f0959ba2f4
commit
d6d000aa0a
1 changed files with 7 additions and 1 deletions
|
|
@ -29,7 +29,13 @@ find tmp -name .git -exec rm -rf \;
|
||||||
# initramfs
|
# initramfs
|
||||||
cd tmp
|
cd tmp
|
||||||
find . | cpio -H newc -o | gzip > initramfs.igz
|
find . | cpio -H newc -o | gzip > initramfs.igz
|
||||||
qemu-system-x86_64 -enable-kvm -kernel ../kernel -initrd initramfs.igz -append console=ttyS0 -nographic -m 16G
|
|
||||||
|
# Run
|
||||||
|
qemu-system-x86_64 -enable-kvm \
|
||||||
|
-m 16G \
|
||||||
|
-nographic \
|
||||||
|
-no-reboot \
|
||||||
|
-kernel ../kernel -initrd initramfs.igz -append console=ttyS0,kernel.panic=2
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
sudo umount tmp
|
sudo umount tmp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue