9
3
Im having a problem, my primary partition is running out of space. Due to this, I can't access linux machine remotely (through vncserver). I have another drive (/dev/sdb) having much more free space. I want to shrink space from (/dev/sdb) and extend to (/dev/sda1) partition which is my primary partition and have all linux boot, kernel etc files. What would be best risk free way to do this without losing my data on primary drive(/dev/sda1) ?? fdisk or 'dd' command or 'mount and umount' ? Any help would be highly appreciated. :)
Before resizing the partition,you should unmount the file partition. – sat – 2012-06-25T12:27:43.000
I'm pretty sure its primary partition is using the maximum it can, and so, won't be able to resize the underlying filesystem. Thus, a simple resize2fs will fail. – Dolanor – 2012-06-25T12:27:55.557