# Changing partition types safe? raidtools to mdadm migration

- From: Simon Matthews \<hidden\>
- Date: 2007-03-09 06:39:01 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2007/03/6599449
- Thread: https://ratatoskr.run/linux-raid/2007/03/6599449/t.md

```text
I have a working RAID1 set. This is in a Gentoo system and I
configured the RAID set using raidtools. I see that Raidtools are now
deprecated in favor of mdadm.

I installed mdadm, but it does not recognize my raid set. I tried the
following command (note that my RAID set is active while I do this):
$   mdadm /dev/md0 --query --detail

This results in no output.  I believe this is because I forgot to
change the partition types on the partitions that make up the RAID set
(/dev/sda1 and /dev/sdb1) to type fd (they are the default type 82).

Can I safely change the partition types to fd on the partions that
make up my RAID set?

Or is there something else I should do to get mdadm to recognize my RAID set?

Regards,
Simon
```
