Posts: 72
Joined: Sun Apr 07, 2013 6:08 pm

Raspbian on QEmu

Fri Apr 26, 2013 3:29 pm

How to run Raspbian with QEmu on Debian 6 (You have to download and compile qemu), Debian 7.

- Download Raspbian Wheezy 2013-02-09
- Download Linux kernel for Qemu
- mkdir temp
mount 2013-02-09-wheezy-raspbian.img -o offset=62914560 temp
- nano /mnt/etc/
- Comment out the line in the file (use a # as the first character of the line) and save the file (CTRL+X, then "Y" for yes).
- umount temp

How to configure network
- apt-get install bridge-utils
- brctl addbr br0
- brctl addif br0 eth0
Modify the files (see below)

denis@tomcat:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet manual

allow-hotplug br0
iface br0 inet static
bridge_ports eth0

auto br0

denis@tomcat:~$ cat /etc/qemu-ifup
#sudo -p "Password for $0:" /sbin/ifconfig $1
echo "Bringing up $1 for bridged mode..."
/sbin/ifconfig $1 promisc up
echo "Adding $1 to br0..."
/usr/sbin/brctl addif br0 $1

denis@tomcat:~$ cat /etc/qemu-ifdown
echo "Removing $1 from br0..."
/usr/sbin/brctl delif br0 $1

How to run Raspbian with QEmu

qemu-system-arm -kernel Raspberry/kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1" -hda Raspberry/2013-02-09-wheezy-raspbian.img -net nic,macaddr=00:16:3e:00:00:01 -net tap -k it
Last edited by mrdebug on Mon Apr 29, 2013 8:14 pm, edited 1 time in total.
www. ???
www. ???
Skype: mrdebug

Posts: 151
Joined: Wed Dec 19, 2012 7:32 pm
Location: Planet Gaia
Contact: Website Yahoo Messenger

Re: Raspbian on QEmu

Fri Apr 26, 2013 3:43 pm

speak englisch please ..

and look at : ... =62&t=6014

User avatar
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Raspbian on QEmu

Fri Apr 26, 2013 4:48 pm

I thought using Italian in a community forum entitled Italiano would be accepted? Perhaps the :) was missing?

To the enquirer, but in English. Yes, it is possible to run Raspbian on QEMU. I have done it on WinXP.
There are many websites with advice and downloads.
How To Ask Questions The Smart Way:
How to Report Bugs Effectively:

Return to “Italiano”