Git Product home page Git Product logo

Comments (7)

wtdcode avatar wtdcode commented on May 26, 2024 1

qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4
-kernel ./vmlinuz-5.10.0-13-armmp
-initrd ./initrd.img-5.10.0-13-armmp
-hda ./debian-bullseye-armhf-armmp.qcow2
-append "root=/dev/vda rw console=ttyAMA0 rodata=n"
-nographic

I tried your command line and it works fine on my machine (using 5.10.0-16-armmp)?

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

Hello, thanks for your issue. What initrd and vmlinuz do you download?

from debianonqemu.

mathslimin avatar mathslimin commented on May 26, 2024

I use arm, use this command
qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 \
-kernel ./vmlinuz-5.10.0-13-armmp \
-initrd ./initrd.img-5.10.0-13-armmp \
-hda ./debian-bullseye-armhf-armmp.qcow2 \
-append "root=/dev/vda rw console=ttyAMA0 rodata=n" \
-nographic

my linux is ubuntu 18.04, not support kvm

from debianonqemu.

teroz avatar teroz commented on May 26, 2024

qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4
-kernel ./vmlinuz-5.10.0-13-armmp
-initrd ./initrd.img-5.10.0-13-armmp
-hda ./debian-bullseye-armhf-armmp.qcow2
-append "root=/dev/vda rw console=ttyAMA0 rodata=n"
-nographic

I tried your command line and it works fine on my machine (using 5.10.0-16-armmp)?

This didn't work for me either but this did

qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 -kernel ./vmlinuz-5.10.0-22-armmp -initrd ./initrd.img-5.10.0-22-armmp \
-drive if=none,file=debian-bullseye-armhf-armmp.qcow2,id=hd0 -device virtio-blk-device,drive=hd0 \
-append "root=/dev/vda rw console=ttyAMA0 rodata=n" \
-nographic \

from debianonqemu.

baiwfg2 avatar baiwfg2 commented on May 26, 2024

qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4
-kernel ./vmlinuz-5.10.0-13-armmp
-initrd ./initrd.img-5.10.0-13-armmp
-hda ./debian-bullseye-armhf-armmp.qcow2
-append "root=/dev/vda rw console=ttyAMA0 rodata=n"
-nographic

I tried your command line and it works fine on my machine (using 5.10.0-16-armmp)?

Works for me too. But I add net part:

 qemu-system-arm -m 2048 -M virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 -kernel /f/vmlinuz-5.10.0-22-armmp -initrd /f/initrd.img-5.10.0-22-armmp -hda /f/debian-bullseye-armhf-armmp.qcow2 -append "root=/dev/vda rw console=ttyAMA0 rodata=n" -nographic -net nic -net user,hostfwd=tcp::2223-:22

It only shows (initramfs) command line, and I cannot ssh to the machine. Why is that ?

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

@baiwfg2 Your disk is not mounted correctly so Debian fails to boot

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

I updated all start command lines and pushed a docker to avoid qemu regression. Please check the latest release and README!

from debianonqemu.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.