The program "makeboot.sh" is actually a legacy program. For the uEFI
system nowadays normally it's no need to use it anymore.
Of course we can improve it by check /proc/partitions to see if the
partition exists.
Normally it's better to run syslinux/extlinux in the partition which is
not mounted.
Maybe it's bad netiquette to dump the code in an email. I'll put it at the
end to reduce the pain. It's not too long. Seems to me it's just a bunch of
regex tests but you're correct, it doesn't look to test if the device
actually exists, merely that the parameter is valid/as expected.
I'm going to
Hi,
Clonezilla version: clonezilla-live-20251203-questing-amd64.zip
Script makeboot.sh
Function is_partition
The function does NOT check for existence of a partition.
e.g for a device device sda with partitions sda1 and sda2,
is_partition /dev/sda2025 returns true.
Is this intended behavi