For this guide, you will need a PATA/USB cable, another computer that can boot from a CD or flash drive, and at least one spare flash drive (you will need two if you boot Parted Magic from a flash drive).
I wasted a whole day trying to use Unetbootin to install the xubuntu .iso to a small partition (1GB), and then use that to install to the rest of the drive. I almost pulled it off, but the installer insisted on unmounting the installation partition. Here are a few notes, though, in case you try something similar:
- I don't think the Portégé works with Unetbootin disks created in OS X (my guess is they need to be ext4 formatted, which OS X doesn't support)
- The Portégé is non-PAE hardware; make sure whatever you install is compatible (in my case with xubuntu, use 12.04)
I eventually gave up and did something a little more complicated, but probably cleaner in the long run:
Boot another computer with a Parted Magic CD or flash drive, and plug in (1) the Portégé hard drive via PATA/USB and (2) a reasonably large spare flash drive (mine was 4GB). Using the Parted Magic Utilities:
- Format both the hard drive and spare flash drive to ext4 with the Partition Editor (gparted)
- Use Unetbootin to make the hard drive a bootable installation disk for your desired distribution
- Unmount the hard drive and spare flash drive, put the hard drive back in the Portégé, and plug in the flash drive
- Turn on the Portégé, and install the distribution to the flash drive (it might be a good idea to try the live version first to make sure the stylus drivers, etc. in your distribution work like you think they should... for the record, xubuntu works just fine!).
- When the Portégé reboots after installation, it will start up to the Unetbootin screen again (remember, it can't boot from USB)... just turn the machine off (you have to hold the power switch for a second).
- Remove the hard drive and flash drive, and plug them back into the computer running Parted Magic
- Using gparted, re-format the hard drive to ext4 (this may not be strictly necessary, but it's a good way to check which drive is sda, sdb, etc. before the next step)
- Using the Disk Cloning utility, do a local disk to local disk copy... copy the flash drive to the hard drive, and copy the bootloader when asked
- Open gparted again:
- Delete the swap and extended partition so you can expand the first (make a note of how big the extended partition was... I think the installer picks 510MB)
- Expand the first partition to fill the disk, leaving room to recreate the swap space at the end
- Recreate the extended partition and the swap space inside it
- Click Apply (you may need to create the swap space twice... it failed the first time I tried it)
- Finally, put the hard drive back in the Portégé, and start it up... if you did exactly what I did, you'll probably see some anomalies in the loading screen (mine was all fuzzy), but everything's fine once the desktop comes up.
- Open Synaptic Package Manager, click "Mark All Upgrades", and then click "Apply." At some point in the installation, it will ask about where to install grub - I installed on both sda and sda1.