Sun_SPARC_Ultra-5/10
Here is a tried and tested process for performing a headless (i.e. no monitor) boot from a Gentoo Live-CD on an Ultra-5. Since the Ultra-10 is similar on the inside to the Ultra-5, it should work on an Ultra-10 too. This may even work for other SUN boxes.
This process is useful because many vintage SUN boxes have unusual (i.e. non x86-PC) video interfaces and require dedicated monitors.
Contents |
Requirements:
- Gentoo Live CD (this has been tested on the 2007/0 release)
- Ultra-5 or Ultra-10
- Type-5 Sun keyboard
- Connection from the main NIC on your Ultra-5 to your network
- A DHCP service on your network (most home routers have one)
- A working Linux box on the network with nmap and the SSH client installed.
Stuff you won't know for sure, but need to assume
- The Ultra's keyboard works
- The NIC on the motherboard works
- The CD drive works
- Your fingers work as instructed - i.e. you can type accurately without seeing what you are typing
So, here we blindly go:
Power-on to Boot prompt:
- Power on
- Insert Gentoo Live-CD and close CD
- Power off
- Power on
- Wait 10 seconds
- Wait for the CapLock light on the keyboard to flicker once. Then hit Stop-A once every second for 5 seconds or so.
Booting to the Live-CD:
You should now be at the boot prompt. Type (carefully):
boot cdrom- and hit the Enter key. There should be a flurry of activity on the CD drive for a few seconds and all will go quiet again, because you need to enter your kernel choice. Since this is a Ultra-5 (applies to Ultra-10 too), type:
2620- and hit the Enter key. There should now be some more activity on the CD drive during the booting process, which takes about 2 minutes. When things go quiet, you can assume that the booting process is complete and that you are at the Gentoo Live-CD prompt.
Starting the SSH daemon
The SSH-daemon does not run by default on LiveCD boot and the root password is auto-generated on every LiveCD boot, so the following two steps are required:
Set the root password
Type the passwd-command, password and password confirmation (shown as ****** below). Use a strong password that you know will work, or Gentoo will complain and may prompt you an indeterminate number of times to confirm your password. Remember to hit the Enter key after every line:
passwd ****** ******
Start SSH
Type:
/etc/init.d/sshd start- you hit the Enter key, right? There may be a brief flicker of CD drive activity. The daemon takes a few minutes to come up since random keys are generated in memory. You can't be certain if you have actually reached this point in the process, but you will find out soon enough in the next step (heh-heh).
Connect to your Ultra-5/10 on the network
Look for a new SSH service on your network
From your working Linux terminal on the same network (which obviously has a monitor), portscan for your machine, which should have a DHCP-allocated IP address. Assuming a subnet of 192.168.0.* on your network and a DHCP address-range starting at 150, type:
$ nmap 192.168.0.* -p 22
You should eventually get a response similar to this once the SSH service is up an running on your Ultra-5/10:
Starting Nmap 4.53 ( http://insecure.org ) at 2008-01-24 12:03 GMT Interesting ports on 192.168.0.151: PORT STATE SERVICE 22/tcp open ssh
Bare in mind that there may be other SSH service running on your network - the trick is to find a new IP address with the SSH port open. Keep repeating the nmap-command until you get a positive response. If, after a few minutes, you still don't see a new SSH service on your network, then either a previous step has failed or your NIC is knackered.
Establish the SSH session
SSH to the machine you found on the network as user root using the strong password that you entered earlier on:
$ ssh root@192.168.0.151 root@livecd's password:
Continue with the Gentoo Install
If you have managed to successfully log in to your Ultra-5/10 box, proceed with the SPARC installation as described in http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
