Discussion:
booting Debian NetINST image in QEMU and booting the created disk
(too old to reply)
Jeroen Diederen
2023-11-11 15:50:01 UTC
Permalink
Hi all,

I found a way to boot the recent Debian installer images and to boot the
created disk. In the example I created a 20G debian12.qcow2 file.

Install from the NETINST-1.iso:

qemu-system-ppc \
-L pc-bios \
-boot d \
-M mac99 \
-m 2048 \
-prom-env 'auto-boot?=true' \
-prom-env 'boot-args=-v' \
-drive file=debian-12.0.0-powerpc-NETINST-1.iso,format=raw,media=cdrom
\
-drive file=debian12.qcow2,format=qcow2,media=disk \
-net nic,model=sungem \
-net user


Boot the disk:

qemu-system-ppc \
-L pc=bios \
-boot order=cd,menu=off \
-M mac99,via=pmu \
-m 2048 \
-drive file=debian-12.0.0-powerpc-NETINST-1.iso,media=cdrom \
-drive file=debian12.qcow2,if=ide,media=disk \
-net nic,model=sungem \
-net user


Best regards,
Jeroen Diederen - MintPPC
Jeroen Diederen
2023-11-12 00:50:01 UTC
Permalink
Hi Leo,

Not sure what you did but it works fine for me. I can start the disk and
it boots into a gui. Mouse and keyboard work with this configuration.
There is not a lot of documentation on this subject. There is however a
mailing list qemu-ppc, they might know much more.

https://lists.nongnu.org/mailman/listinfo/qemu-ppc

Best regards,
Jeroen Diederen
Will that fix the issue i had when installing the vm?
Em sáb., 11 de nov. de 2023 às 12:41, Jeroen Diederen
Post by Jeroen Diederen
Hi all,
I found a way to boot the recent Debian installer images and to boot the
created disk. In the example I created a 20G debian12.qcow2 file.
qemu-system-ppc \
-L pc-bios \
-boot d \
-M mac99 \
-m 2048 \
-prom-env 'auto-boot?=true' \
-prom-env 'boot-args=-v' \
-drive
file=debian-12.0.0-powerpc-NETINST-1.iso,format=raw,media=cdrom
\
-drive file=debian12.qcow2,format=qcow2,media=disk \
-net nic,model=sungem \
-net user
qemu-system-ppc \
-L pc=bios \
-boot order=cd,menu=off \
-M mac99,via=pmu \
-m 2048 \
-drive file=debian-12.0.0-powerpc-NETINST-1.iso,media=cdrom \
-drive file=debian12.qcow2,if=ide,media=disk \
-net nic,model=sungem \
-net user
Best regards,
Jeroen Diederen - MintPPC
Loading...