On Fri, 31 May 2019 05:44:56 +0200, hans Schneidhofer wrote:
>the VM I'll only use for mathematical Programs

Hi,

VirtualBox is the easiest to use VM, but it's for sure not the best. I
wonder if VirtualBox supports the instruction sets provided by your CPU?

IMO you should use VirtualBox only to test, if you experience any issue
when using snap and flatpack. OTOH instead of using a virtual machine,
just backup your whole install and test it with the real install on
bare metal. If the test should break your install, restore it from
the backup or boot directly into the copied install, this way you also
could just move the new SSD to the new machine later.

To backup the whole install from it's original SSD to the new SSD, run
a Xubuntu live media. The size of the new partition don't need to be the
same size as those of the old partition. After the old SSD is partitioned
open xfce4-terminal and run

sudo -i
cp -ai /media/xubuntu/mount_point_of_the_old_ssd/* 
/media/xubuntu/mount_point_of_the_new_ssd/; echo $?
diff -r /media/xubuntu/mount_point_of_the_old_ssd/ 
/media/xubuntu/mount_point_of_the_new_ssd/; echo $?

The output of 'echo $?' is '0', if the copy is ok. Note the '*' assumes
that the root directory (IOW '/', don't confuse it with '/root') doesn't
contain hidden items.

To see if it contains hidden items (something a root directory usually
doesn't) run after 'sudo -i' and before 'cp'

ls -Al /media/xubuntu/mount_point_of_the_old_ssd/

ls -Al /media/xubuntu/mount_point_of_the_new_ssd/

if there should be items that beginn with a dot '.', then instead of

cp -ai /media/xubuntu/mount_point_of_the_old_ssd/* 
/media/xubuntu/mount_point_of_the_new_ssd/; echo $?

run

cp -ai 
/media/xubuntu/mount_point_of_the_old_ssd/{*,.hidden_item_1,.hidden_item_2,.hidden_item_n}
 /media/xubuntu/mount_point_of_the_new_ssd/; echo $?

If there should be a something on the new SSD, such as 'lost+found/'
or anything else, wipe it out, but before doing so, unmount the old SSD,
to avoid accidents.

Use Thunar to mount the SSDs and replace 'mount_point_of_the_???_ssd/' with
the name given by thunar.

Regards,
Ralf


-- 
xubuntu-users mailing list
xubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to