JP Embedded Solutions

Installing Debian on a SPARC ULTRA 10

Introduction

Debian OpenLogo

IC photo

I have an old SPARC ULTRA 10  lying around, and I thought to myself that as it wasn’t doing anything, and as there was a Debian distribution for SPARC, I’d give it a go.  After all, installing Debian on Intel boxes was easy, wasn’t it?  Eight hours later I can affirm that no, it is not easy at all.  In fact, there are any number of pitfalls along the way for the unwary, and just following the instructions Debian give you will lead to staring at a blank screen wondering what went wrong.   All this information is somewhere in the internet, but it’s not even remotely in the same place. So, in the interest of all you people who might want to try to run Debian on a SPARC, here are my tips for successful installation.  Not that I promise they’ll work, but they might at least help . . .

The installation

Boot media

I decided to go for a network install CD, which is 140 MB, and sets up the core system, downloading everything else.  So here comes problem number one.  The official Debian SPARC network install image is here, but you don’t want that, because it crashes half way through trying to boot the kernel.  You want the testing version of the image, which you download here:

Boot parameters

Okay, so now you can do

boot cdrom

to get to the kernel boot prompt.  You might think the obvious thing to do would be just to press enter to go for the default boot.  And if you try that then things go swimmingly right up to the point where the Debian installer  tries to install DHCP, at which point it finds the package doesn’t have a valid PKI signature, and it asks you what to do about it.  Unfortunately, it asks you via the serial port.  So, you could connect up a terminal emulator to the serial port, or you could do this: when you are asked to select a boot type, enter:

expert debian-installer/allow_unauthenticated=true

Selecting a kernel

I chose linux-image-3.0.0-1-sparc64 out of the available options.  It seemed sensible to have the most up-to-date alternative.

Selecting packages

Now everything will go fine right up to the point where the base system s installed and you have to decide which of the major software packages to install.  Things like web server and graphical user interface.  Whatever you do, do not select any of the groups.  If you do, then it will install all of them and then, just as it’s processing the last one, the installer will crash.  Just go with the pre-selected set of utilities, press go, and after a wait, you should end up with a basic text-based Debian system.

I say should: it depends on your choice of network mirror.  Bizarrely, slow mirrors seem to work better.  So if it crashes the first time, try another mirror.  However, in that case the safest option is to skip this step entirely, and jump straight to installing the boot-loader.

The software selection

Now is the time to work out what you actually want running on your SPARC.  the GNOME desktop environment does slow the thing down tremendously, so if you want to use the machine primarily as a server, I recommend just installing the packages you want with aptitude.  However BEWARE:.  If you try to install too many packages at once, aptitude will crash.  So just install a few at a time.  Alternatively, install as much as possible from the command line with apt-get (running as root).

This naturally means installing GNOME is a positive minefield.  If you must do it, invoke the following:

apt-get install xorg gdm gnome gnome-desktop

That should work.  If it crashes, reboot, then do

dpkg --configure -a

and then re-run the apt-get.

About these ads

Filed under: Uncategorized, , , , , , , , ,

4 Responses

  1. Andrew Cowie says:

    I had an Ultra 10 in my closet in 2001.

    It overheated :)

    AfC

  2. Philippe says:

    Yeah !
    I followed your notice and it worked for me …
    Just one small thing :
    apt-get install xorg gdm gnome gnome-desktop failed
    but install these packages without gdm was ok
    Gdm seems to be included now within gnome.

    • Glad it worked for you.

      I had trouble with it too. I ended up removing Gnome and using X with one of the very lightweight window managers. Apart from anything else, Gnome wasn’t exactly fast . . .

  3. ankur saxena says:

    This iso did not worked for me, while installing it hangs in between, later on I downloaded latest version of debian netboot from website and installed through it, no gnome, just selected the basic package. It went fine and now I have a command level debian running out of it. I tried many option like rarpd/tftpd and all finally this worked.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Copyright © 2011, JP Embedded Solutions, All rights reserved

All content is subject to the BSD license

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: