Ubuntu on Thinkpad X41 – Basic Installation Instructions
Posted by Shane O'Sullivan on February 16, 2007
This is one of a number of posts detailing how to install Ubuntu 6.10 (codename Edgy) on a Thinkpad X41.
This post focuses on the initial steps to installing Ubuntu.
- Download an Ubuntu CD image from one of these links, depending on which is closer to you geographically: Ireland, United Kingdom, Germany, USA, Australia, Brazil, China, Japan, Singapore or Namibia. Alternatively, go here and choose a mirror to download from.
- Burn this CD image to a blank CD with the CD burning software of your choice. I used Nero.
- Create backup disks for Windows XP, in case something goes horribly wrong and you need to reinstall Windows. The Thinkpad X41 usually doesn’t come shipped with Windows XP on a disc (or at least mine didn’t), so you’ll need these disks if you ever want to reinstall Windows. To do this, click Start/.. tbc
- Connect your CD/DVD drive to your laptop, and place the Ubuntu CD in it. Restart your laptop and boot from the CD. If your system is not set to boot from CD (i.e. it always uses the hard drive), then when the laptop is starting to boot, hit the blue “Access IBM” button, and change the boot options to boot from CD before hard drive.
- Ubuntu should now load. You will see an icon labelled “Install” on the desktop. Double click on this, and click your way through the install wizard. The defaults are generally the right choice. The installations should take around twenty minutes, without a progress bar – don’t worry, it hasn’t hung, it’s working just fine.
- Restart the laptop, removing the CD from the drive.
- Since you’ve installed Ubuntu as a dual-boot partition alongside Windows, you will probably want to be able to access your Windows hard drive. The help document provided by Ubuntu at “Partitions and Booting/Make Windows Partitions available from Ubuntu” is out of date – there is no System->Administrators->Disks menu item, as it claims. Instead, open the Help system with System->Help->System Documentation, and click on “Working with your Desktop“. From the left menu, choose “Partitions and Booting/Make Windows Partitions automatically available“.By default, Ubuntu (as with pretty much all Linux distros) provides read-only access to NTFS partitions. To get read-write access, you have to install an extra package called ntfs-3g
- Click System->Administration->Synaptic Package Manager.
- Scroll down to ntfs-3g, check the box next to it and click Apply.
- Open a terminal with Applications->Accessories->Terminal and type:
- You now have to find out the name of your Windows hard drive. type:
- This will list the disks available to you. See if you can recognise the name of your C drive in Windows – originally mine was called IBM_PRELOAD. Take note of it
- At the end of the fstab file we opened earlier append
/dev/disks/by-label/IBM_PRELOAD /media/windows ntfs-3g locale=en_US.utf8 0 0
- Save and close the file, and type “sudo mount -a“ so the changes take effect. If you still can’t access the windows partition at /media/windows then restart Ubuntu to force the changes to take effect.
- On a personal side note, to speed up access to the drive, I created a soft link to it, called “C”, from my home folder. To this open a terminal and type
ln -s /media/windows ~/C
sudo mkdir /media/windows
sudo cp /etc/fstab/ /etc/fstab_backup
sudo gedit /etc/fstab
- If you find your internet connection is slow, then it could be due to the IPv6 protocol interfering with you network requests. To fix this (source link):
- Open a terminal and type
sudo gedit /etc/modprobe.d/aliases
- Locate “alias net-pf-10 ipv6″ and replace it with
- Save the file and exit gedit.
- Open Firefox and type into the address bar about:config.
- Find and set the following values in the list:
- Set network.dns.disableIPv6 to “true” by double clicking on it
- Set network.http.pipelining to “true”
- Set network.http.pipeining.maxrequests to 8
- Set network.http.proxy.pipelining to “true”
- Reboot your system.
#alias net-pf-10 ipv6
alias net-pf-10 off ipv6
alias net-pf-10 off
- Open a terminal and type
- To share folders over a Windows network (through Samba) network, a couple of steps are required [source link]:
- Click System->Administration->Shared Folders
- Click Add and choose the folder you want to share.
- Next you must add a password for whatever users you want to be able to connect to your machine over the network. Open a terminal and type sudo smbpasswd -a myusername where ‘myusername’ is, of course, your user name.
- You will be prompted for a password twice. Enter it, and you will then be able to connect to that share over a windows network.