this post was submitted on 14 Jan 2025
31 points (100.0% liked)

Linux

49007 readers
1233 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I bought a laptop with windows 11 instaled in its 256gb nmve ssd. I want to install linux but I want to first create an image of the ssd and store it in an external 4tb ssd with a ext4 filesystem (that I use for different backups) so in case I want to sell the laptop later I can restore windows 11 to the same ssd from the image. So what i'm planning to do is:

  • dd if=/dev/drive_device of=external_ssd/images/windows11.img

for creating the image and swapping if and of for restoring. My question is if creating the image of a drive with a windows 11 filesystem and storing it in a ext4 filesystem is possible or can have any issue. I ask this because I read that in the case of cloning the target drive will end up with the filesystem of the source drive in case they are different, which caused me some hesitation.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 13 hours ago (1 children)

You 100% want to use Clonezilla for this job. It should be on everyone's Ventoy stick.

[–] [email protected] 4 points 12 hours ago (1 children)

What are the pros of using Clonezilla instead of dd, in terms of simplicity the command that I wrote it's hard to beat.

[–] [email protected] 3 points 5 hours ago

Backups only used blocks. Backup to or from various locations, NFS shares, ftp, WebDAV, ssh server, samba, etc. Encryption of the images, backup of single partitions or whole disks.

If you want to deploy to several machines at once it also has a load of tools for that too.