673
edits
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
{{DISPLAYTITLE:How to install Ubuntu 12.04 on PowerPC in QEMU}}
'''Notice:''' Ubuntu 12.04 is no longer supported by Canonical.
[[File:Ubuntu 12.04 Desktop.png|thumb|Ubuntu 12.04 Desktop]]
'''Ubuntu 12.04''' is a Debian-based operating system created by Canonical that
This article will contain instructions on how to install and boot Ubuntu 12.04 in QEMU's PowerPC emulation.
==Prerequisites==
===QEMU===
<pre>qemu-img create -f qcow2 ubuntuppc.img 10G</pre>▼
You need [[QEMU/Installation|Install QEMU]] installed.
===PowerPC ISO===
You'll need an Ubuntu 12.04 PowerPC iso. You can download one from the Ubuntu repos [http://old-releases.ubuntu.com/releases/12.04.1/ubuntu-12.04-desktop-powerpc.iso here]. (You may need to right click on the link and click "Save link as...")
==Starting up==
*Step 3: Start QEMU with the following command. (If you get a message stating "openbios-ppc was not found, download it [https://github.com/qemu/qemu/blob/master/pc-bios/openbios-ppc?raw=true here]▼
===Installation===
Open a terminal and execute something similar to the following command:
20G can be replaced with however big you want the hard drive to be (with G standing for Gigabytes). Since Ubuntu 12.04 is on the older side, it doesn't take up a ton of space, but if you're installing a bunch of programs, you can change it to 40G.
When that's done, start up QEMU with a command like the following:
<pre>qemu-system-ppc -m 1024 -hda ubuntuppc.img -cdrom ubuntu-12.04-desktop-powerpc.iso -boot d</pre>
As it suggests, type "install" to begin the installation.
<pre>guestfish --ro -a ubuntuppc.img -m /dev/sda2 \
</pre>
<pre>qemu-system-ppc -m 1024 -hda ubuntuppc.img -kernel vmlinux -initrd initrd.img -append "ro root=/dev/sda3"</pre>
It might take a few minutes to boot - be patient. If all goes well, you will now be at the Ubuntu
==Troubleshooting==
===I get an error saying openbios-ppc wasn't found!===
▲
===The performance is bad!===
Since this runs on pure software emulation, it isn't going to be lightning fast. Nonetheless, there's some things you can do to make it faster:
*Switch to another, more lightweight DE, such as LXDE
*Ditch the desktop entirely and use TTY
[[Category:Linux installation guides]]
|