Sony Vaio S1511 hard disk swap for SSD

Yes, you too can do it, and with one screwdriver.

I spent a fair while browsing laptops to find one that would suit my needs. What I wanted was a 15″ 1080p ultrabook. What I discovered is that there weren’t many. Many Spring 2012 blogs were predicting them, but in Aug 2012 there were just a few to choose from. Anyhoo, I ended up with a Sony Vaio S 15. My previous (now blown up) laptop was an i7, and in the two years it was alive, it was hardly ever pushed beyond 3%, so I decided not to waste the money and dropped down to i5. Extra memory I can get anywhere cheaply, so I didn’t see the need to pay Sony a premium for that either. What I did want was an SSD, as in other computers I work on it has introduced a step change in the speed I work at. Problem was, Sony wanted £400 for a 256Gb SSD. I beg your pardon? £400? Not sure what planet they’re on, when a very well reviewed SSD can be bought on Amazon for £150. So I wanted to know before I bought the Vaio if it would be easy to swap the HDD for an SSD I bought myself. Answer – it is.

Making the change

You’ll need one Phillips Head size 1 screwdriver. Here’s the laptop:

Flip it over and you’ll see there’s a user removable section on the base. Remove the two screws that hold it in and pull towards the edge of the laptop.

The two screws to remove are in the foreground in this photo

You can now access the battery, the spare memory slot and the hard disk. You’ll see the hard disk has four screws holding it down. Remove these and unplug the hard disk.

The hard disk has two metal mounting strips attached to each side. Swap these over to the SSD.

And screw back in

That’ll be £250, please

Moving the data
If the two disks were equal in size, or the SSD was bigger, you could clone the HD to the SSD and then expand the partitions. Instead the SSD is smaller than the HD, so some juggling is required. The retail version of the SSD linked above comes with a USB SATA cable and software to help you do this, but I had the OEM version and was installing Ubuntu, so my steps were more complicated than yours might be. My steps were:

  1. Make a bootable Ubuntu USB drive
  2. Boot from it
  3. Connect the old drive to the computer with a USB SATA adaptor
  4. Run gparted
  5. Created a new GPT partition table on the SSD (time to move in to the 21st century)
  6. Shrink the NTFS partition to 50000Mb
  7. Used dd to copy the partition from the old drive to the SSD
  8. Ran the Ubuntu installer
  9. Added a 1Mb “Reserved for boot” partition in the space at the beginning of the drive (needed to store the boot loader under GPT)
  10. Added a 2Gb swap partition
  11. Added a 15Gb ext4 root partition
  12. Used the rest as a btrfs home partition
  13. Installed Ubuntu


Since I am switching a lot between distributions at the moment, I will start building this list of equivalent commands.

Note that the repoquery command is only available once you have installed yum-utils, apt-file is only available once you have installed apt-file

Objective APT RPM
Install package from repository apt-get install <package-name> yum install <package-name>
Remove package apt-get remove <package-name> (remove leaving config files)
dpkg -e <package-name> (remove leaving config files)
dpkg -P <package-name> (remove purging config files)
yum remove <package-name>
rpm -e <package-name>
List installed packages dpkg -l rpm -qa
Find package owning file dpkg -S <file> rpm -qf <file>
Search for package name in repository apt-cache search <package-name> repoquery ‘*<package-name>*’
Find which repository a package came from sudo grep <package-name> /var/lib/apt/lists/* | grep “Filename:” repoquery -i <package-name>
Find which package would provide a file if it was installed apt-file search bin/grep repoquery –whatprovides ‘*bin/grep’