Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To cut a long tedious story short, I have two partitions on an SSD. The much larger one has Ubuntu 10.04, the small one has 12.04. In the past few weeks I've finally been moving away from using 10.04 to 12.04 (I was tardy doing this because on this particular laptop there were a number of problems with 12.04 but I've now worked around these)

At this point I have 12.04 working the way I want, but it's been painful and I'd rather not have to go through it again. However, the 12.04 partition is too small (only about 500MB left and I'm bound to eat into this in the future if the past is a guide) So I've already moved my home directory to the 10.04 partition but I'd like to move /sys too (as this is has by far the largest footprint of what's left)

I understand that /sys is a mount point so I'm wondering if simply making it a link to a directory on the bigger partition is going to work (at all or work reliably)? Do I need to worry about disk mount order?

share|improve this question
up vote 1 down vote accepted

Rather than moving directories around you could simply resize the partitions. If you boot from a live CD/USB there is a program called GParted. It is fairly easy to use and I have resized many partitions without any problems.

One issue I have had when doing more involved rearranging of partitions is the breaking of GRUB but this can be fixed by running Boot-Repair.

share|improve this answer
Thanks. I deleted my swap, and extended the partition that way. Initially I thought I'd borked my system but using a recovery disk I got the grub stuff back and, after a bit of faffing finally got it booting by default off the right partition. (Boot-Repair did the trick.) – Thorsen Feb 2 '13 at 15:39

I'd like to move /sys

Don't bother

It's SysFS, a virtual file system. The kernel presents information to the userspace by this. It's not taking up space on your disk, it's not configurable.

Sysfs is a virtual file system provided by Linux. Sysfs exports information about devices and drivers from the kernel device model to user space, and is also used for configuration.


sysfs is an in-memory filesystem that was originally based on ramfs.


Sysfs is used by several utilities to access information about hardware and its driver (kernel modules) such as udev or HAL. Scripts have been written to access information previously obtained via procfs, and some scripts configure device drivers and devices via their attributes.

share|improve this answer
I had a feeling it was a non-starter. Thanks for clarifying. – Thorsen Feb 2 '13 at 15:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.