[Cin] Virtualized Fedora armhf

Andrew Randrianasulu randrianasulu at gmail.com
Sat Feb 18 03:11:26 CET 2023


сб, 18 февр. 2023 г., 01:48 Mat <mnieuw at zap.a2000.nl>:

> Hi Andrew,
>
> I use the below .sh start script for Debian on armhf, network works
> fine last time I tried it.



Thanks, it seems to use same -device virtio-net-device so may be fedora
need some additional actions inside vm...

You can modify inside the virtual disk if
> you mount it as a nbd loop device, I seem to remember if I did it your
> way it was read-only, but that was year ago. I used it to change the
> root password to no password at all when I forgot it....
>
> MatN
>
> ====
> #!/bin/bash
>
> # note: after succesfull install and working network access (apt),
> comment out the cdrom from # /etc/apt/sources.list
> ISO=/mnt/DataCommon/ISOs/Debian_11/debian-11.1.0-armhf-netinst.iso
>
> # Because qemu must be started with a direct kernel parameter, use a
> variable to specify # the version. After a kernel update, extract the
> proper vmlinuz and initrd files from the client, # and place them in
> the directory where this script is started from, then update the
> VERSION # accordingly. VERSION=5.10.0-18
>
>    qemu-system-arm -machine virt -cpu cortex-a15 -smp cpus=8,maxcpus=8
>    --append "root=/dev/vda1 console=ttyAMA0 earlyprintk=ttyAMA0" \
>    -kernel ./vmlinuz-$VERSION-armmp-lpae -initrd
>    ./initrd.img-$VERSION-armmp-lpae -m 4096 \ -netdev
>    user,id=n0,hostfwd=tcp::10022-:22,smb=/home/mat/qemu_shared_folder
>    -device virtio-net-device,netdev=n0 \ -drive
>    file=debian11-arm.qcow2,if=none,format=qcow2,id=hd0 -device
>    virtio-blk-device,drive=hd0 \ -serial stdio
> =============
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230218/e6b06454/attachment.htm>


More information about the Cin mailing list