[Cin] Virtualized Fedora armhf

Mat mnieuw at zap.a2000.nl
Sat Feb 18 00:11:59 CET 2023


I see the mail corrupted the script lines, each time there is a
backslash a new line should follow.

MatN

On Fri, 17 Feb 2023 23:48:43 +0100
Mat via Cin <cin at lists.cinelerra-gg.org> wrote:

> Hi Andrew,
> 
> I use the below .sh start script for Debian on armhf, network works
> fine last time I tried it. 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 
> =============
> 



More information about the Cin mailing list