this post was submitted on 21 May 2025
215 points (97.8% liked)

Programmer Humor

23402 readers
1815 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] rtxn@lemmy.world 2 points 1 day ago (1 children)

No.

The local machine boots using PXE. Clonezilla itself is transferred from a TFTP server as a squashfs and loaded into memory. When that OS boots, it mounts a network share using CIFS that contains the image to be installed. All of the local SATA disks are named sda, sdb, etc. A script determines which SATA disk is the correct one (must be non-rotational, must be a specific size and type), deletes every SCSI device (which includes ATA devices too), then mounts only the chosen disk to make sure it's named sda.

Clonezilla will not allow an image cloned from a device named sda to be written to a device with a different name -- this is why I had to make sure that sda is always the correct SSD.

[โ€“] ulterno@programming.dev 0 points 1 day ago

OIC, so the physically connected storage devices are disconnected in the software and then the correct, required one is re-connected.

The part of what Clonezilla is doing seems like a mis-feature, added to prevent some kind of PICNIC.