Git Product home page Git Product logo

Comments (11)

wtdcode avatar wtdcode commented on May 26, 2024

Did you append root=/dev/vda?

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

Yes. Generally I dont know what I should append there. An explaination would be appreciated.

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

Yes. Generally I dont know what I should append there. An explaination would be appreciated.

Could you try options in #1 ?

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

Yes. Generally I dont know what I should append there. An explaination would be appreciated.

Could you try options in #1 ?

Already did that. Still not working. The append flag tells the debian grub where to find the root file system, right?

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

Yes. Generally I dont know what I should append there. An explaination would be appreciated.

Could you try options in #1 ?

Already did that. Still not working. The append flag tells the debian grub where to find the root file system, right?

There is no grub for qemu to boot arm Linux. In other words, qemu itself plays the role of grub.

What errors do you get?

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

Hello.

I tried setting up the debian on armhf. But I do not know what I should specify as -append flag when starting QEMU. It keeps saying: image

Any ideas?

This is the error and it just drops a cell after that. It says it gave up on waiting for root file system device and that it cannot find the filepath that is specified on the -append flag. What do you specify as the root filepath?

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

Could you give the full command line and your qemu version?

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

sudo qemu-system-arm -machine virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 -nographic --append "root=/dev/vda"
-kernel ./vmlinuz-4.19.0-12-armmp-lpae -initrd ./initrd.img-4.19.0-12-armmp-lpae -m 1024
-netdev tap,ifname=vmnic1,id=n0,script=no,downscript=no -device virtio-net-device,netdev=n0
-drive file=debian.qcow2,if=none,format=qcow2,id=hd0 -device virtio-blk-device,drive=hd0

This is what I found here: https://blog.lazym.io/2021/04/16/Run-ARM-MIPS-Debian-on-QEMU/

Of course I have changed the kernel and initrd versions to the latest ones you have uploaded on releases.

from debianonqemu.

wtdcode avatar wtdcode commented on May 26, 2024

sudo qemu-system-arm -machine virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 -nographic --append "root=/dev/vda" -kernel ./vmlinuz-4.19.0-12-armmp-lpae -initrd ./initrd.img-4.19.0-12-armmp-lpae -m 1024 -netdev tap,ifname=vmnic1,id=n0,script=no,downscript=no -device virtio-net-device,netdev=n0 -drive file=debian.qcow2,if=none,format=qcow2,id=hd0 -device virtio-blk-device,drive=hd0

This is what I found here: https://blog.lazym.io/2021/04/16/Run-ARM-MIPS-Debian-on-QEMU/

Of course I have changed the kernel and initrd versions to the latest ones you have uploaded on releases.

Could you paste the actual command line?

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

Could you paste the actual command line?

sudo qemu-system-arm -machine virt -cpu cortex-a15 -smp cpus=4,maxcpus=4 -nographic --append "root=/dev/vda"
-kernel ./vmlinuz-5.10.0-18-armmp -initrd ./initrd.img-5.10.0-18-armmp -m 1024
-netdev tap,ifname=vmnic1,id=n0,script=no,downscript=no -device virtio-net-device,netdev=n0
-drive file=debian-bullseye-armhf-armmp.qcow2,if=none,format=qcow2,id=hd0 -device virtio-blk-device,dr
ive=hd0

QEMU version: QEMU emulator version 4.2.1

from debianonqemu.

PanosDgs avatar PanosDgs commented on May 26, 2024

Basically I tried again today with the command I mentioned in the above comment and it worked. So I will close the issue. Thank you!!

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.