I'm looking for a way to change a partition type on a linux system without starting fdisk. (In this particular case from "linux" to "softwareRAID")
The ultimate goal here is a script that is going to take /dev/sda and automatically create a software RAID1 with /dev/sdb
I'm not looking for anyone here to write me a script, just trying to provide some info changing the partition type in a script. I can take care of the rest.
Thanks in advance.