disk space expansion
Colin Law
clanlaw at googlemail.com
Wed Feb 20 12:28:40 UTC 2013
On 20 February 2013 12:22, Joep L. Blom <jlblom at neuroweave.nl> wrote:
> I have a little problem and actually a little ashamed to ask as I can't
> remember how to solve it.
> The situation:
> I have in my main workstation a sata disk of 1 Tb where approx. 450 GiB is
> unallocated. The division is:
> Device Boot Start End Blocks Id System
> /dev/sda1 * 2048 194559 96256 83 Linux
> /dev/sda2 196606 996286463 498044929 5 Extended
> /dev/sda5 196608 195506175 97654784 83 Linux
> /dev/sda6 195508224 781443071 292967424 83 Linux
> /dev/sda7 781445120 976754687 97654784 83 Linux
> /dev/sda8 976756736 996286463 9764864 82 Linux swap
> The problem:
> I have only 1 primary partition of 100Mb (/dev/sda1) where /boot is mounted.
> Now as currently 100 MB for a boot sector is rather small I need to expand
> it. As you can see ,however, there is no room for continuous expansion as
> /dev/sda2 starts already 2048 sectors further.
> There must be a way to do it but I don't know. I hope somebody here can help
> me out.
I think you have to boot off the live CD or a gparted CD and shrink
and move the partitions inside sda2 so that there is a gap at the end
of sda2. Then you can shrink sda2 and move it up, then expand sda1.
Backup first of course.
Colin
More information about the ubuntu-users
mailing list