Azimout's Linux weblog

upgrading ubuntu with a 4gb root partition

leave a comment »

I tried upgrading my eee701 today, from Karmic to Lucid. It kept complaining that there’s not enough available free disk space. The eee701 has a 4GB SSD. I tried cleaning the package cache, removing a lot of software I don’t need, old kernels, but I still ended up using a little more than half of that.

Here’s the solution I found:

  • plug in a usb stick (mine is 8GB)
  • unmount it, if it’s automatically mounted
  • mount it again, on /var/cache/apt/archives/
  • sudo mkdir /var/cache/apt/archives/partial
  • upgrade as usual…

PS Maybe it would have been easier to provide the Lucid .iso LiveCD as a repository:

  • download the LiveCD .iso, put it onto a usb stick and plug that into the eee
  • remount the usb stick on /var/cache/apt/archives/ as before
  • sudo mkdir /mnt/livecd
  • sudo mount -o loop <path to iso> /mnt/livecd
  • sudo apt-cdrom -m -d=/mnt/livecd add

Written by azimout

03/05/2010 at 18:56

Posted in Problems

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: