tagline: From openSUSE
openSUSE for ARM can be installed alongside your other OS on any Linux machine, be it x86 or ARM based. This way you can work with openSUSE for ARM on your x86 based workstation. Or you can run it on your Android ARM device. Please make sure to be root for the command snippets below.
First, download the latest JeOS image at http://download.opensuse.org/ports/armv7hl/distribution/12.3/images/ and choose between:
- JeOS image for a minimal system openSUSE-12.3-ARM-JeOS-rootfs-*.tbz or
- XFCE image for a graphical system openSUSE-12.3-ARM-XFCE-rootfs-*.tbz
# wget http://download.opensuse.org/ports/armv7hl/distribution/12.3/images/openSUSE-12.3-ARM-JeOS-rootfs.armv7l-*.tbz # mkdir rootfs # sudo tar xvjf *.tbz -C rootfs
If you are on x86, set up QEMU translation for ARM binaries. You can skip this if you are already on an ARM device:
# zypper in qemu-linux-user # qemu-binfmt-conf.sh
Prepare the environment:
# mount --bind /proc rootfs/proc # mount --bind /sys rootfs/sys # mount --bind /dev rootfs/dev # mount --bind /dev/pts rootfs/dev/pts # cp /etc/resolv.conf rootfs/etc/ # chroot rootfs
You can now run commands like you would on any openSUSE installation, for example:
# zypper ref # zypper up # zypper in gcc make SDL-devel
Once you're done, type
and you're back in your previous filesystem.
If you have your own kernel and bootloader, you can follow the steps as above, but instead extract the rootfs tbz file into a real partition on your machine (or on a partition on an SD card). When booting your own kernel, point it to that new partition
U-Boot 2012.04.01 (Oct 14 2012 - 20:04:42) CPU: Some CPU Board: Some Board DRAM: n GiB Using default environment In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 U-Boot > setenv bootargs root=/dev/mmcblk0p1 U-Boot > boot
This way you can use your own kernel and bootloader to run an openSUSE distribution!