How do i upgrade macbook air harddrive while keeping the same system?
I have been tasked with "fixing" a macbook that would not boot. It was having issues as the HDD was completely full.
I moved Downloads and Pictures to a USB stick for about 117MB, rebooted and had errors. Booted into single user mode, the disk was full again, so i deleted the user's ./Library/Cache and cleared virtual memory to save 2 GB. Rebooted without error, cleared Chrome's cache, and now there is about 573 MB free. Trash is empty. Nor are there iTunes backups.
The disk itself is 56GB. There is a 25GB image (single file) for VirtualBox. "du -hc | grep ^...G" produces (sans permission errors):
6.1G /Applications/Google Chrome.app/Contents/Versions
6.1G /Applications/Google Chrome.app/Contents
6.1G /Applications/Google Chrome.app
1.0G /Applications/iMovie.app/Contents/Frameworks
2.2G /Applications/iMovie.app/Contents
2.2G /Applications/iMovie.app
1.1G /Applications/iPhoto.app/Contents/Resources
1.4G /Applications/iPhoto.app/Contents
1.4G /Applications/iPhoto.app
1.0G /Applications/Microsoft Office 2011/Office
1.2G /Applications/Microsoft Office 2011
14G /Applications
1.4G /Library/Application Support/GarageBand
2.3G /Library/Application Support
6.1G /Library
2.1G /private/var/vm
3.4G /private/var
3.4G /private
3.3G /System/Library
3.3G /System
25G /Users/User/VirtualBox VMs/BMS Remote
25G /Users/User/VirtualBox VMs
25G /Users/User
25G /Users
2.2G /Volumes/NO NAME
2.2G /Volumes
55G /
55G total
/Volumes/No Name is the usb stick.
I do not think the free space will last very long, so i either need to remove files, either to the usb stick or permanently, or upgrade the hard drive.
The current laptop runs a system in their building and must continue as-is for the next 8 or 9 months. No upgrades are allowed. Is it possible to upgrade the hard drive and keep the same system, like by copying and expanding the image? Or perhaps an external hard drive would be better for the VirtualBox image, but i wonder how that would affect performance. Any help would be appreciated.
According to Apple, based on the serial number, it is: MacBook Air (13-inch, Mid 2012) .It has 4GB of memory and is running OSX 10.9.5.
Mac mini, OS X Mavericks (10.9)