Post

Expanding my Linux's Partition

My Linux partition was so small (40GB) and I need to resize it and delete my Windows’s partition. So I must backup my Linux partition and restore to the big one. I use dd to do this, very simple software.

Backup : dd if=/dev/sdax of=file.img

Restore : dd if=file.img of=/dev/sdax

Restore with proggress bar :**dd if=FILE.IMGpv -s $(stat file.imgegrep -o “Size : [[:digit::]]*”egrep -o “[[:digit:]]*”)dd of=/dev/sdax**

AVvXsEioC5nNCAkc 1K99bAGQgBtYdFTAAkt tvaPLhoUv5ILfWeVWxx0eyEJWm2W1iFSNyLPhtdo39Qli SYVB9yY auVvlJnXLTObF8cMtt75VKkiFLqZWLX65 VEaGUTiWx1u baU7wXDqs0

After waiting restoration progress, finally I got 92.7 GB for my Linux space ! Woohoo !

Details 001

This post is licensed under CC BY 4.0 by the author.