You are not logged in.

#1 2019-01-01 13:53:39

atis
Member
Registered: 2019-01-01
Posts: 17

[Solved] fdisk error Failed to remove partition 2 from system:

I'm trying to install Arch on an NVMe SSD.

These are the exact commands I put in

fdisk /dev/nvme0n1p5
g
n
1
2048
+300M
t
1
1
w

The partition table has been altered.
Failed to remove partition 2 from system: Invalid argument 
Failed to remove partition 3 from system: Invalid argument 

I looked around but the I'm not sure if what other threads suggested is what might be causing this error.
I suspect it's something to do with the drive? I have successfully installed 2 arch OSs on my PC (both have Samsung SATA SSD). This machine has a Toshiba NVMe SSD.

Help is appreciated!

Last edited by atis (2019-01-15 12:57:54)

Offline

#2 2019-01-02 02:02:23

jbenge1
Member
From: Milano
Registered: 2018-04-09
Posts: 149

Re: [Solved] fdisk error Failed to remove partition 2 from system:

My drive is labelled something like

/dev/nvme0n1

and whenever I create a parition it is labelled

/dev/nvme0n1pX

have you tried

fdisk /dev/nvme0n1

https://wiki.archlinux.org/index.php/Fdisk


"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden

Offline

#3 2019-01-02 02:08:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 27,700
Website

Re: [Solved] fdisk error Failed to remove partition 2 from system:

atis wrote:
fdisk /dev/nvme0n1p5

p5 is a partition, is it not?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-01-15 12:57:34

atis
Member
Registered: 2019-01-01
Posts: 17

Re: [Solved] fdisk error Failed to remove partition 2 from system:

Ah I completely forgot about the thread, sorry about that and yeah that was it. I feel so stupid now. Thanks for the help!

Offline

Board footer

Powered by FluxBB