I am struggling to change a partition to Linux RAID:
I have tried code 29 as well, but it just doesn't want to change...
Code:
user@h1016:~$ sudo mdadm -E /dev/nvme0n1
/dev/nvme0n1:
MBR Magic : aa55
Partition[0] : 1875385007 sectors at 1 (type ee)
user@h1016:~$ sudo fdisk /dev/nvme0n1
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): t
No partition is defined yet!
Command (m for help): n
Partition number (1-128, default 1):
First sector (34-1875384974, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-1875384974, default 1875384974):
Created a new partition 1 of type 'Linux filesystem' and of size 894.3 GiB.
Command (m for help): t
Selected partition 1
Partition type or alias (type L to list all): fd
Type of partition 1 is unchanged: Linux filesystem.
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
user@h1016:~$ sudo mdadm -E /dev/nvme0n1
/dev/nvme0n1:
MBR Magic : aa55
Partition[0] : 1875385007 sectors at 1 (type ee)