How to make copies of encrypted EasyOS?

Moderator: BarryK

Post Reply
nonyeb
Posts: 1
Joined: Sat Dec 10, 2022 11:33 am

How to make copies of encrypted EasyOS?

Post by nonyeb »

I've got easyos kirkstone working in a partition on my laptops internal ssd drive. I want to copy it to a linux partition on a memory stick. From there I want to make other copies on other computers. Naively I booted into puppy linux and just used the copy comand within rox filer to copy over the whole thing over but the encrypted file names caused that to fail. So is there a way to copy the whole of easyos as a set of files in its encrypted state from one drive to another?

User avatar
BarryK
Posts: 2309
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 95 times
Been thanked: 577 times

Re: making copies of easyos

Post by BarryK »

Hmmm, ok, let me think...

Create a new EasyOS usb-stick, at first bootup, enter the same password as used for Easy in the ssd.

After bootup of the usb-stick, mount the ssd partition by clicking on the partition icon.
It should ask for the password, so enter the same password.

Let's say Easy is in /dev/sdb2 and folder "easyos" in the ssd

In a terminal:

Code: Select all

# cp -a -f --remove-destination /mnt/sdb2/easyos/* /mnt/wkg/
# cp -a -f --remove-destination /mnt/sdb2/easyos/.* /mnt/wkg/
# sync

Unmount /mnt/sdb2
Then reboot the usb-stick, without saving the session.

I think that will work.
It will probably even work if you boot the usb-stick with a different password, or no password.

Post Reply

Return to “EasyOS”