These are shell scripts examples to use on Linux.
Both examples are for AHCI disk controller.

Note that you must edit these scripts before usage.
Replace all "/home/user/vm/" to the paths on your computer.