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)
root (hd0,0)
- 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
Enjoy Ubuntu!
3 thoughts on “Ubuntu / Vista dual boot installation on a Sony VGN-FZ”
Thank you so very much for this contribution, do you know if there have been any strides in attaching the xbacklight to the HAL functions. I know for fact that Ubuntu 8.04 detects FN keys, and also that the music controls work out of the box. I’d just like to be able to use the FN keys to actually control the brightness instead of running a script.
Email me, please and thank you!
Your blog is going in my favorites.
Little update
1) For the Webcam, in jaunty, you need to do that (7 commands):
sudo apt-get install libglib2.0-dev libusb-dev build-essential gcc automake fakeroot mercurial
hg clone http://bitbucket.org/ahixon/r5u87x/
cd r5u87x
make
make rules
sudo make install
sudo r5u87x-loader –reload
2) the memory stick seems to work according to the posts of pulpo88, but I don’t understand what is exactly the procedure to follow
http://ubuntuforums.org/showthread.php?t=797031&page=2
https://bugs.launchpad.net/ubuntu/ source/linux-ubuntu-modules-2.6.22/ bug/159951
https://bugs.launchpad.net/ubuntu/ source/linux/ bug/222557
Maybe U can help.
Great page
I have an NS laptop with Jaunty and everything save the mic works out of the box. Will give the script alteration a try and see what develops.