Comments (3)
I think you did something wrong... -hda switch should point to the raspberry pi image.... but you have pointed it to the kernel again. You need something like this:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -hda name-of-your-rasp-image.img
from qemu-rpi-kernel.
Like SaeidYazdani suggested, .img file of your rootfs should be passed as -hda parameter.
from qemu-rpi-kernel.
@SaeidYazdani @dhruvvyas90 Thanks, I downloaded small image and it's working.
from qemu-rpi-kernel.
Related Issues (20)
- wrong fs type, bad option, bad superblock : ERROR while mounting the image HOT 1
- Kernel image and dtb files for raspi3 emulation HOT 1
- Internet connection ? HOT 4
- Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) HOT 2
- [Feature Request] would you consider uploading a bullseye image
- Bullseye download HOT 4
- why my pc can not come in gui (err:guest has not initialized the display (yet)) HOT 7
- Not able to compile kernels HOT 4
- How can I expand the memory size? HOT 1
- native emulation on aws ec2 HOT 1
- Working RPi Docker with latest Bullseye
- select menu for building is unmatch?
- [DEPEND] Dependency failed for Conf…ooth Modems connected by UART.
- qemu-system-aarch64 emulate raspi, but no wifi HOT 1
- Details on generating new config_file HOT 3
- Running on Windows? HOT 2
- Unable to login HOT 2
- Add kernel 6.1.21 HOT 4
- How did you exactly build these kernels HOT 1
- How to properly use physical microSD instead of an image? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qemu-rpi-kernel.