So you want to dual boot Ubuntu and Windows on your Sony VAIO VGN-FZ** laptop? Here is a quick guide to help you through the procedure. It will assume you are starting on a brand new laptop with Vista pre-installed. If this is not a new laptop then backup, backup, backup.
- Remove all the useless bloatware which Sony has installed.
- Create recovery DVDs. Sony does not provide any recovery disks so you should make some in case….
- Use the Start Menu > Computer > Manage > Disk Management to “Shrink Volume” of the main system partition. Note that Sony will have a 9 Gb EISA recovery partition at the start of the drive (I would recommend leaving this alone).
- Yes, the Shrink Volume feature will only let you shrink it to about half, if you want to get by this then disable system restore, the pagefile, and hibernaion. With these disabled you can shrink the Vista partition to 48 Gb after defragmenting the drive. This allowed me to have the following partition setup on a 250 Gb drive:
- 9 Gb EISA recovery partition
- 48 Gb Vista partition
- 30 Gb FAT32 partition to share data between Windows and Ubuntu (created using Visa)
- 140 Gb Ext3 Linux partition (created by Ubuntu installer)
- 6 Gb Linux SWAP space (created by Ubuntu installer)
- If you want to be able to read your Linux data from Vista have a look at http://www.fs-driver.org/ or http://sourceforge.net/projects/ext2fsd
- Download the Ubuntu ISO for 64bit AMD and Intel computers from http://www.ubuntu.com/getubuntu/download
- Although you could burn it to a CD to install it, I would recomend using a USB key:
- Download UNetbootin from http://unetbootin.sourceforge.net/
- Get a USB key that is at least 1 Gb and backup the data on it.
- Run UNetbootin, point it to the Ubuntu ISO you just downloaded, and select the location of the USB key.
- Once UNetbootin has created the bootable USB key reboot the computer.
- Ubuntu will go into live CD mode.
- Select Install and follow the instructions.
- Selecting the manual partition choice will allow you to create the 140 Gb Ext3 partition which will be mounted as root and the 6 Gb Linux Swap partition (double the RAM size).
- If all goes well you will see the Grub menu upon restart. Select the first choice.
- The Grub menu will have two identical choices listed at the bottom. The second to last choice is pointing to the VAIO recovery partition. This confusion can be cleared up by changing the Grub menu using “su gedit /boot/grub/menu.lst”
- Go down until you see:
title Windows Vista/Longhorn (loader)
- Change the title to “VAIO Recovery Center EISA Partition” to clear up any confusion.
Next we come to Sony VAIO specific problems in Hardy Heron (Ubuntu 8.04):
- The backlight is stuck at full intensity.
- Download the xbacklight package using the System > Administration > Synaptic Packag Manager
- Write a small script which has the following two lines:
xrandr –output LVDS –set BACKLIGHT_CONTROL native
xbacklight -set 50
where 50 is the percentage intensity.
- Headphones dont work without some modifications. Add the folowing line at the end of the file /etc/modprobe.d/alsa-base
options snd-hda-intel model=vaio
- To get mic working edit your /etc/init.d/alsa-utils as described here: http://ubuntuforums.org/showpost.php?p=4502727&postcount=4
- Switch to the internal mic then enable Capture in the volume control panel and set your mic recording level as explained here: http://ubuntufs.wordpress.com/2006/06/08/trouble-with-your-microphone/
- Get your Motion Eye Webcam working by following the steps outlined at this site: http://www.palmix.org/r5u870-en.html