Installing Linux on a Sony Vaio Z505.

  • What is the Sony Vaio Z505 ?
  • Why install Linux ?
  • The Installation Hardware.
  • Linux Installation Time.
  • The Linux Installation Process.
  • The built-in Mouse.
  • X-Windows.
  • Peripherals.
  • Interfacing a Linux laptop to household appliances.
  • Linux Links.

Having managed to break the screen of my HP Omnibook 800 when I was out launching rockets one day, I had a problem. I needed a laptop to interface to the rocket onboard flight computers both before launch, and after recovery, but the Omnibook without a screen was not particularly useful. I needed a new laptop anyway, so I thought that this time, I'd get a Sony Vaio, since I had always been impressed by their design. The Omnibook 800 could then be used as a monitorless Linux Server.

I wasn't actually intending on getting a Z505, but wandering down Tottenham Court Road in London, I saw one, and fell in love with it.

The Sony Vaio came equipped with Windows 98. Obviously, the first thing that needed doing was upgrading it to a real operating system. Given that the latest version of the Red Hat Linux distribution, version 6.1 was available for download, this seemed an ideal choice.

What is the Sony Vaio Z505 ?

The Sony Vaio Z505 is a sub-laptop running with an Intel Celeron 333MHz CPU and 64Mb of RAM and a 6.4 Gb hard disk drive. It has a 12.1 inch active matrix (TFT) colour LCD screen with a resolution of up to 1024 x 768 (XGA). It is fitted with an accelerated 128-bit PCI controller with 1 Mb of Video RAM (NeoMagic. 2093). It weighs 1.77 kg, and comes equipped with the following connections on the laptop itself:

Port/Connector Configuration Gender Comments
Network Port RJ-45 socket Female 10Base-T/100Base-T Ethernet interface
Modem Port RJ-11 socket Female V.90 WinModem
2 x USB Ports USB sockets Female
IEEE-1394 (Firewire) Firewire socket Female
Memory Stick Port Memory Stick socket Female
1 x PCMCIA Card
Cardbus ready
1 x Type II
IRDA-2 Transmitter/receiver standard IR Transceiver NA Up to 4 Mbps data transfer rate
3.5 inch Floppy Disk port USB Female
Headphones out
Stereo out
jack socket Female
Microphone in
Stereo out
jack socket Female
Power connector socket jack socket Female 19.5 volts input supply at 1.1 Amps
Kensington security slot slot Female Allows tethering of the laptop for security
Hard Disk Drive connector IDE Female Standard IDE Internal Hard disk drive
External Port Replicator 68-pin, micro-centronics Female Output ports for:
  • Serial
  • Parallel
  • Monitor (VGA)
The port replicator does not seem to contain any active circuitry. It is merely a way of fitting the outputs of the 3 ports into the densest possibly connector, and then separating the wires out to the various connectors inside the External Port Replicator box.

This is very good news for anyone who wants to control the ports in the replicator via Linux, since it makes the whole business of talking to the various ports, fairly straightforward.

Why install Linux ?

There are several good reasons as to why I wanted to install Linux on the Sony Vaio Z505, these being as follows:

  1. Being a regular user of Windows 95/98, NT, SunOS 4.1.3 and FreeBSD, I prefer it to the other options. Simple as that.
  2. I needed a portable computer for use in the field for data aqcuisition from ground based sensors, and sensor data telemetered in real time from rockets and for launch operations of rockets. Since this was going to entail programming of the parallel port in C, C++ and eventually Java, the simplest options were to use DOS or Linux. Let's face it, with that choice, how could anyone possibly fail to choose Linux ?
  3. Having Apache Web Server running on a portable is a godsend if you need to develop any cgi code on the road.
  4. Vast amount of useful tools.

The Installation Hardware.

Installing Linux on a Sony Vaio Z505, was extremely straightforward. The Omnibook 800 comes with a SCSI port as standard, so I connected the SCSI HP CD-ROM drive to the Sony Vaio Z505 SCSI port, and put a Redhat Linux 5.2 CD in it. I also connected up the external 3.5 inch floppy drive. When the Linux installation started, it picked up the SCSI CD-ROM straight away - very impressive.

I chose Redhat Linux 5.2 because I had installed earlier versions of Redhat Linux previously on other hardware, so was happy using it again. Having said that, I came close to getting SuSE and Debian implementations of Linux - I'll probably get them at some point and install them on one of my development boxes, just out of interest.

Linux Installation Time.

The installation process took me about 30-45 minutes, but that was only because I chose a custom installation. The workstation and server installations would have taken considerably less time.

The Linux Installation Process.

The 4 Gb hard disk that came with the Omnibook 800 was already partitioned into 2 x 2Gb partitions, so I left Windows-95 on the first partition, and installed Linux on the second partition. The Redhat manual recommends approximately 120 Mb for a minimal install, approximately 450 Mb of disk space for a Linux Workstation installation, and approximately 1.65 Gb of disk space for a Linux Server installation, so the 2 Gb I had was going to be ample for a server installation.

There are very few salient features of my install, since it was so simple, the only features that stand out are :

  • I set the swap size to 48 Mb, since I had 48 Mb of RAM in the Sony Vaio Z505.
  • Since it is a laptop, I wasn't too fussy about needing lots of partitions for admin, so I just set up 3 partitions; /swap, /boot and /root, and just slung all the usual directories under the /root partition.
  • I set the screen display to a 800 x 600 LCD display (More on this in a minute).
  • I also made a floppy boot disk during the install.

At the end of the install, the laptop booted to Linux flawlessly. No problems at all.

The built-in Mouse.

The HP Omnibook 800 comes with a bizarre flip-out mouse. It takes a bit of getting used to, but works quite well on a flat surface. Sat on your lap, it's a bit of a pig to use it though.

When running the Linux installation process, the mouse should be configured as a PS/2 mouse. Following installation, I experienced no problems with the mouse. Mouse operations with X-windows on the Omnibook 800 are fine.

X-Windows.

Problem: I started up X-windows, but it was having none of it. This was a bit of a bore, since I really needed to take advantage of X-windows for some of my development work (such as web development).

Stopgap Solution: I ran Xconfigurator (which didn't crash the machine), and dropped the screen display to a 640 x 400 LCD display in what looked like 0.5 bit colour.

X-windows then started up without a hitch - problem was, the screen display at this resolution blew chunks.

Eventual Solution: I downloaded the Precision Insight XFree86.neomagic fix (available form both the Precision Insight and the Redhat web sites). The screen display looks far, far better, now X-windows is useable.

Peripherals.

So far, I have successfully tested the following peripherals with the HP Omnibook 800 running Redhat Linux 5.2:

PeripheralManufacturerPortResults
External 3.5 inch floppy disk driveHPHP proprietarySuccessful - reads and writes floppy disks
External 8-speed SCSI CD-ROM driveHPSCSISuccessful - reads CD-ROMs
PCMCIA network cardD-linkPCMCIASuccessful

Interfacing a Linux laptop to household appliances.

Well, it just had to be done. Using as parallel port for just printing just seemed a bit tame. So I started thinking of other devices which could be interfaced to a Linux box.

Questions for new converts to the cause

How do I mount external devices such as floppy disk drives and CD-ROMs ?

Use the mount command. e.g.

For floppy disk drives: mount /mnt/floppy
For CD-ROMs: mount /mnt/cdrom

How do I copy files from a MS-DOS format floppy disk.

Use the mcopy command. There are a number of commands for accessing MS-DOS format floppy disks. To copy a file from the floppy disk to the directory you are currently in, type:

mcopy a:filename.extension .

To copy a file from the floppy disk to a specific directory, type:

mcopy a:filename.extension /directory

Linux Links

Richard's online bio Web based contact form Current projects Digital Themes Educational background Personal Details Research Activities Rocketry related activities - mainly amateur and high power rocketry Space interests

(c) 1999 Richard Osborne, London.
http://www.gbnet.net/~richard/