PDA

View Full Version : [ubuntu] how can i add more space to sda2 from free space



jcer93705
July 23rd, 2010, 02:57 AM
hey guys i made space by shrinking my window partition and so i have unallocated and would like to add to sda2 to have more space. Check out this pic. How can i do this?

oldfred
July 23rd, 2010, 05:31 AM
You end up having to move a lot of partitions around with increasing risk as you move more data.

I would suggest just making it sda3 and move /home into it or make it just a data partition for all your data (but not hidden system settings) that is in /home.

To move /home uses rsync (cp with -a should also work):
https://help.ubuntu.com/community/Partitioning/Home/Moving
Uses cp -ax
http://www.ivankuznetsov.com/2008/04/moving-home-to-its-own-partition.html
cp without -a and copying as sudo root takes ownership
Uses cpio
http://www.psychocats.net/ubuntu/separatehome

Painless Linux Multi-boot Setup - see also comments
http://blog.linuxtoday.com/blog/2009/08/painless-linux.html
Partitioning basics with some info on /data older but still relavent
http://ubuntuforums.org/showthread.php?t=282018&highlight=separate+%2Fdata+partition

Your data partition could be linux only or NTFS to share with windows:
Mount, hide & link windows partition
http://ubuntuforums.org/showthread.php?t=1397508