openSUSE 13.1

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

openSUSE 13.1

Post by xeno74 »

I try to create a openSUSE 13.1 image file for the A1-X1000.

Notes:

Code: Select all

qemu-system-ppc -M mac99 -m 2048 -bios /usr/share/openbios/openbios-ppc -cdrom openSUSE-NET-ppc-Build0022-Media.iso -usb -usbdevice host:0781:556c -boot order=d -net nic,vlan=0,model=e1000 -net user,vlan=0
opensuse4.png
opensuse5.png
opensuse6.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

opensuse7.png
opensuse8.png
opensuse9.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

opensuse10.png
opensuse11.png
opensuse1.png
Last edited by xeno74 on Thu Apr 10, 2014 2:27 pm, edited 1 time in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

opensuse2.png
opensuse3.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

opensuse12.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

opensuse13.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

It works on my A1-X1000. :-)

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

Image

Download: supertuxkart-amiga.de

Be aware, that openSUSE is experimental and isn't supported. openSUSE for the X1000 is alpha software! It's only for testing!

Here are the installation instructions for openSUSE (based on the Fedora installation instructions by Pat Wall. Thanks to Pat :) )

You must have another Linux distribution already installed such as Debian, MintPPC, Ubuntu etc in
order to install openSUSE 13.1-1. Login to your current Linux distribution, e.g. Debian or
Ubuntu and create an ext4 partition of at least 20GB using GParted or similar tool of your choice.
You should also create a Linux swap partition.

Login to your current Linux distribution, e.g. Debian or Ubuntu, and open a terminal to complete
the following steps.
Become the root user by entering

Code: Select all

su
<return>

Enter your root password <return>
Download the kernel tarball from the following URL: kernel-3.9.8.1-x1000-opensuse-ppc64.tar.bz2
Unpack the kernel tarball and copy it to your CF Card or USB Stick so it will be available to select
when booting from CFE:

Code: Select all

tar jxvf kernel-3.9.8.1-x1000-opensuse-ppc64.tar.bz2

<return>

Code: Select all

cp /path/to/vmlinux-3.9.8.1-opensuse /path/to/cfcard
<return>

Create a mount point on which to mount the new openSUSE partition:

Code: Select all

mkdir /mnt/opensuse
<return>

Mount the partition where you want to install openSUSE.

Code: Select all

mount -t ext4 /dev/sdXX /mnt/opensuse
<return>

Download the openSUSE tarball from the following URL: openSUSE-13.1-1-x1000-ppc.tar.gz
(The compressed image is 2.0GB in size and will expand to 5.4GB )
Copy the tar.gz file to the partition where you want to install openSUSE.

Code: Select all

cp openSUSE-13.1-1-x1000-ppc.tar.gz /mnt/opensuse
<return>

Change to /mnt/opensuse.

Code: Select all

cd /mnt/opensuse
<return>

Unpack the tarball.

Code: Select all

tar zxvf openSUSE-13.1-1-x1000-ppc.tar.gz

<return>

Configure fstab to reflect your system e.g. replacing the strings with your own root partition
and swap partition respectively. In this example /dev/sdb2 is the root partition and /dev/sdb3 is the
swap partition.

Code: Select all

nano -w /mnt/opensuse/etc/fstab

Code: Select all

/dev/sdb2 / ext4 acl,user_xattr 1 1
/dev/sdb3 swap swap defaults 0 0
You can now reboot into your openSUSE installation:

Code: Select all

reboot
<return>

Booting openSUSE
To boot openSUSE at the CFE prompt you will need to do the following:
Remember to substitute the root partition (/dev/sdb2 in this example) that you installed openSUSE on.
(Note this is typed as a single line at the CFE prompt)

Code: Select all

CFE> setenv bootargs "root=/dev/sdb2"
Boot the provided vmlinux-3.9.8.1-opensuse kernel from a usb stick or compact flash card.

Code: Select all

CFE> boot -elf -noints -fatfs cf0:vmlinux-3.9.8.1-opensuse
(compact flash card)

Code: Select all

CFE> boot -elf -noints -fatfs usbdisk0:vmlinux-3.9.8.1-opensuse
(USB disk)

openSUSE will now boot to the “Shell Login” Screen.

Login into openSUSE with the administrator account root.

The default root password is: amigaone (all lower-case)

Change the root password to the password of your choice.

Code: Select all

passwd

<return>

Enter your new password and confirm.
While still logged in as root you will need to setup X11.

Code: Select all

X -configure
<return>

Copy the xorg.conf.new file to /etc/X11/xorg.conf.

Code: Select all

cp xorg.conf.new /etc/X11/xorg.conf
Start KDE 4 with

Code: Select all

kdm
You can also login with the user "amigaone".

The default password is: amigaone (all lower-case)

With startx you can start KDE 4 as root.

Have a lot of fun with openSUSE. :-)

Be aware, that openSUSE is experimental and isn't supported. openSUSE for the X1000 is alpha software! It's only for testing! Please install only 32-bit packages with YaST2 or zypper because 64-bit packages won't work. The PA6T is not compatible (enough) to POWER4 which is the minimum requirement for 64-bit openSUSE 13.1 to work.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

128px-Icon-yast.png
128px-Icon-yast.png (17.92 KiB) Viewed 9891 times
There is a little bug in the tar.gz file. /bin/su hasn't a setuid bit. This is very important if you want to use YaST as a normal user.

Log in as root and type

Code: Select all

# chmod u+s /bin/su
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 6449
Joined: Fri Mar 23, 2012 7:58 am

Re: openSUSE 13.1

Post by xeno74 »

Just for info: openSUSE 13.1-1 has the wrong colors issue in Mesa too. But ... the unofficial Mesa versions work very well with the right colors on openSUSE 13.1-1.
openSUSE_13.1-1_with_the_unofficial_Mesa_10.0.4.jpg
By the way ...

Please install only 32-bit packages with YaST2 or zypper because 64-bit packages won't work. The PA6T is not compatible (enough) to POWER4 which is the minimum requirement for 64-bit openSUSE 13.1 to work.

How can you install 32-bit packages? For example Mesa-demo-egl:
  1. Start YaST2
  2. Choose "Software" and then "Software Management"
  3. Search for "mesa-demo"
  4. Select the package "Mesa-demo-egl"
  5. Choose the tab "Versions"
  6. Choose the 32-bit package (ppc)
  7. Install the package with "Accept"
openSUSE_13.1-1_with_YaST2_A1-X1000.jpg
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply