I'm trying to create an "anti-cloning" system. I'd like to know if there's a way to check a unique label on the hard disk, during the boot phase, in order to avoid the machine to continue booting if the hard disk was cloned.
I've googled a lot, but nothing interesting came out...
Since I have two hard disks, the first one with Windows 10, and the other one with Ubuntu:
- Do I need two different solutions, or should I create a Grub script and use it for both?
- What kind of unique ID should I check?
- How and where should I store that ID in order to avoid as much as possible a change by someone else?
Thanks in advance
I'm editing my question, because I think it has been a little misinterpreted.
My main goal is prevention. For example, I have a secure system but it's still "virgin" (first time configuration for example) and some dedicated software/data is saved inside. How can I prevent that someone else clone my system and use it for it's own purposes?
That's why I was thinking about a boot script