#[solved] Does gnome disks "create a disk image" create a perfect copy of a disk, and can you b

59 messages · Page 1 of 1 (latest)

blazing loom
#

Title.

both nvme drives, both 250GB.

vivid valley
#

Note that the GPT UUID and the filesystem UUID are duplicated, which can cause conflicts in some cases.

#

You may want to change them later

blazing loom
vivid valley
blazing loom
#

Should I note the UUID's separately? ie. make a backup of the UUIDs of the original?

#

or both disks

vivid valley
#

As long as no file system or partition uses the same UUID, which is meant to be unique

vivid valley
vivid valley
#

Use ls -lha /dev/disk/by-partuuid to see partition UUIDs

blazing loom
vivid valley
blazing loom
#

i'm using LUKS by the way

vivid valley
#

for reference only, you need to do your own research

  • /etc/fstab
  • /etc/default/grub - only if you are using grub as your boot loader.
blazing loom
#

alright

#

i'll just note down all the UUIDs for both disks using lsblk -f and ls -lha /dev/disk/by-partuuid

vivid valley
#

Than a direct copy via dd

blazing loom
#

@vivid valleyif I have luks on the original disk, will LUKS be transferred to the destination? is it better to encrypt destination with LUKS separately

vivid valley
# blazing loom does more IO? is that a good or bad thing

If you click Create Disk Images, gnome-disks will have to write 250GB to a disk image file,
When you click Restore Disk Images, gnome-disks will read this file and write it to the destination directory, this is another 250GB write.

In total, 500GB would be written.
dd would write 250 GB

blazing loom
#

which one should I use to clone a disk?

vivid valley
#

Just for information, use whatever pleases you.

blazing loom
#

I don't want to do "what pleases me", I want to do the one that is designed for what I'm trying to achieve.

#

I hope I'm not being pushy.

vivid valley
#

dd and gnome-disks do the same, and gnome-disks takes an extra step by saving a disc image to a different location.

vivid valley
blazing loom
blazing loom
#

@vivid valleywait, now I understand...

#

So you have to create the image first, to a .img file, then restore that file using the restore option

#

I thought you could just create it

#

then boot off it

#

so that's why you said 500gb

vivid valley
blazing loom
vivid valley
#

What would not happen if dd were to be used

blazing loom
#

It's a live system disk that I'm cloning, is that a problem

#

i'll read the article now

#

btw I'm not using arch

vivid valley
vivid valley
blazing loom
vivid valley
#

It is better to do it in another OS, such as Arch Live ISO.

blazing loom
#

right

#

okay

#

Thank you

vivid valley
#

... solved

wet ospreyBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you