Skip to content

How to run Pidora in QEMU

July 14, 2013

Put the Pidora image and kernel-qemu in a directory (mine’s qemu, which I’m working from for the rest of this).

$ file pidora-18-r1c.img

pidora-18-r1c.img: x86 boot sector; partition 1: ID=0xc, active, starthead 32, startsector 2048, 102400 sectors; partition 2: ID=0x83, starthead 32, startsector 104448, 3389858 sectors, code offset 0xb8

Take the startsector number from partition 2 (bold above) and multiply by 512 to use as the offset number in the next step:

$ sudo mount qemu/pidora-18-r1c.img -o offset=53477376 /mnt/pidora

There’s one line in /mnt/pidora/etc/ Comment it out and unmount:

$ sudo umount /mnt/pidora

$ qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 panic=1" -hda pidora-18-r1c.img

This will take you to the first boot screen, and you can go through that process, which will then reboot at the end, but you’ll have to start QEMU again:

Screenshot from 2013-07-14 13:54:03

Hit up and enter for one more round of:

$ qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -serial stdio -append "root=/dev/sda2 panic=1" -hda pidora-18-r1c.img

And you’re at the login screen. Not that quickly, of course. In fact, if you like to browse the Internet like it’s 1995, this is a good way to go:

Screenshot from 2013-07-14 16:04:48

All this based on instructions here, which leads to here.

5 Comments leave one →
  1. Russian guy permalink
    July 14, 2013 4:57 pm

    Pidora… It’s amazing name! Russians can understand it 🙂

    • Ruth permalink*
      July 14, 2013 5:07 pm

      We survived the GIMP. I think we can take some Pidora snickering. Ha ha. OK, over it.

  2. July 18, 2013 5:04 pm

    That’s neat.. I was trying to compile omxplayer directly on my RPi with Pidora.. not funny, not funny at all

  3. July 20, 2013 8:58 pm

    Thank you for your own article, it is rather useful, will certainly try to research what you have got indicated… there is certainly only one point I want to discuss in more detail, My spouse and i wrote a message to your deal with about it.


  1. Vyzkoušejte Pidoru v QEMU |

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: