A mix of these tutorials:
- create a new (bigger) virtual hd
- use a gparted iso, create a virtual machine and attach the iso, the old (smaller) hd and the new hd to the machine
- once started, identify the two hard drives and launch:
dd -if=/dev/sda of=/dev/sdb
be careful because if you invert if
and of
you will delete your original hd.
This will take a lot of time to copy everything from one hard drive to the other.