Context
I've added a fancy new NVMe storage device to my system. I wish to install an operating system on it. To achieve this, I believe I should:
Now I have run into a problem. I would like to create this NTFS partition, but gpart refuses to. Unfortunately, the error is not very informative. If I inspect the device, I see the following
I would think I would now be able to create a partition. Why can't I? Am I missing something?
Resources
I've added a fancy new NVMe storage device to my system. I wish to install an operating system on it. To achieve this, I believe I should:
- Setup a GPT partition table scheme
- Create an NTFS partition within the GPT table scheme
- Reboot and use a prepared USB to install my new operating system onto the NVMe (Windows 10)
Description | Command/Edit | Result |
---|---|---|
Enable NVMe direct access with device driver ( nda ) | echo 'nvme_load="YES"' >> | N/A |
List my devices | nvmecontrol devlist | |
List ndaX device(s) | ls /dev/nda* | |
Create a gpt partition table scheme | gpart create -s gpt /dev/nda0 | nda0 created |
Add an NTFS partition | gpart add -t NTFS -l Windows10 nda0 | gpart: invalid argument |
Now I have run into a problem. I would like to create this NTFS partition, but gpart refuses to. Unfortunately, the error is not very informative. If I inspect the device, I see the following
Description | Command/Edit | Result |
---|---|---|
Show device | gpart show nda0 | |
I would think I would now be able to create a partition. Why can't I? Am I missing something?
Resources