Tuesday, August 25, 2009

Ubuntu (Linux): Getting Slow Old Machines to Boot

Some tips about making a slow old machine boot. I hope to expand on this more as I experience more situations.

Hardware
Getting hardware to work can is getting more easier as more manufacturers of devices and supporting Linux more. Yet you will bump into some issues on and off, here are a few things to help installation go smoothly.

Old Hardware (Different name on kernel supports)
I have known the odd monitor setting to be differently named for third party use. Acer, Dell and Compaq have known to use crypt set ups in the past. Another is "ROCK" that sells laptops but they don't make them, some company in Asia creates them and hires or makes another company to sell them more friendly.

Support Or Not?
Always google around to look for hardware supported yet in the Kernel.

Partitions
If the motherboards is really old, make sure the "Boot/" partition is first. Believe there is a guide on standard size for the various partitions.

Basic Setup
/boot - 512 Mb as ext2(Important that)
/swap - double the size of your physical memory as swap.
/ (Rest of the hd space) - REST of the space as ext3 (For fast performance).

Believe it could be lower on the /boot partition. May need to verify that myself.

Booting
Various boot issues may come in the way. Here is mine I bumped into.

Move the Boot Partition
Some distros of Linux, forget to make the /boot partition at the beginning of the harddrive. See above for more info.

Kernel Boot Parameters
Read the first two paragraphs and then look for your known issues in "Known Kernel Parameters"

Manually Change (temporary)
When you get to the load up screen of "GRUB" you may need to press "e" key a few times to edit parameters.

Make changes Permanent
You will then need to modify the "/boot/grub/menu.lst" file and then finally run "sudo grub-update" to permantly keep the changes.

sudo gedit /boot/grub/menu.lst
sudo update-grub

Known Kernel Parameters
  • Slow Reading of Harddrives rootdelay=90
  • Provide Auto Power Down acpi=force
Further Reading
Grub Howto By Ubuntu Community
Setting Kernel Parameters By Ubuntu Community1

No comments: