disk space expansion

Joep L. Blom jlblom at neuroweave.nl
Fri Feb 22 13:59:18 UTC 2013


On 21/02/13 11:52, Colin Law wrote:
> On 20 February 2013 22:35, Joep L. Blom <jlblom at neuroweave.nl> wrote:
>> On 20/02/13 13:28, Colin Law wrote:

> If I read it correctly, then sda5, 6, 7 and 8 are all inside the
> extended partition sda2.  I had missed the fact that you have lots of
> unused disk above this.  I don't know whether it is possible to move a
> partition from inside sda2 to a new primary partition.  Try it and
> see, if gparted will let you do it then fine.  Also I don't know
> whether you can just tell gparted to move the whole of sda2 up.  If
> you can then that would be the easiest solution.  Again try it and
> see, if gparted allows it then it will work.  Otherwise I think the
> best way may be to extend sda2 to give empty space inside it at the
> top, then move sda5 up past sda8 as you suggested, then move the start
> of sda2 up to the start of sda6 and extend sda1 into the empty space.
>
> Does that make sense?
>
> Colin
>
Everybody, thanks for the advice.
at Avi, 5 years ago I have used LVM as I thought it very handy for 
things like expansion etc. However, it turned out to be a nightmare with 
constantly problems when upgrading the OS and other problems I have - 
luckily - forgotten so I don't think it the right way for me. Moreover, 
disks are that cheap if you need space you buy a new one.

at Nils, yes that is a possibility and I will think seriously about it. 
On the other hand, I am wondering why I must have such a large boot 
section as the only large files are the initrd.img (~20 MB) and 
vmlinuz-x.x.x (~5 MB), System.map-x.x.x (~3 MB) and a file in grub 
(unucide.pf2 ~2.5 MB) so 30 MB max. In 100 MB I could easily have 3 
different kernels. Another problem is that programs like du, df and 
gparted all give different sizes for used/unused of partition /boot. I 
know it all has to do with the definition of MB (1024) and MiB (1000) or 
vice versa but it is confusing. Moreover in my opinion are sizes of 20MB 
of kernels grossly oversized but I can't help that.
I don't think I need to expand into the unused space at this moment. My 
home directory is the largest and I have still 52 % available.
I store large files (music, films, etc) on an external USB-disk as Speed 
is not important there and if I need it I can copy it temporarily to 
this disk.
at Colin, Your suggestion is also taken in account as it coincide with 
Nils but at the moment I have so many other things to do that I leave it 
for the moment as I could remove one old kernel and the update manager 
happily installed the new kernel.
I keep you posted. Thanks again,
Joep






More information about the ubuntu-users mailing list