You are not logged in.

#1 2020-05-12 17:23:31

jed833
Member
Registered: 2012-04-30
Posts: 23

[SOLVED]Issues partitioning on NVMe

So I just got a new laptop and Im running through the installation process. When I get to the partitioning, for some reason I cant seem to create a root or a regular filesystem parition.

So I have:
/dev/nvme0n1p1 as EFI System
/dev/nvme0n1p2 as Root (x86_64) (Have also tried as just "Linux Filesystem" same issue)
/dev/nvme0n1p3 as Swap

Only 1 and 3 seem to exist in /dev so I cant give 2 a filesystem, cant mount it. Really cant interact with it at all beyond using cfdisk to create it and delete it.
Any ideas?

Last edited by jed833 (2020-05-13 17:00:30)

Offline

#2 2020-05-12 20:50:39

merlock
Member
Registered: 2018-10-30
Posts: 233

Re: [SOLVED]Issues partitioning on NVMe

jed833 wrote:

So I just got a new laptop and Im running through the installation process. When I get to the partitioning, for some reason I cant seem to create a root or a regular filesystem parition.

So I have:
/dev/nvme0n1p1 as EFI System
/dev/nvme0n1p2 as Root (x86_64) (Have also tried as just "Linux Filesystem" same issue)
/dev/nvme0n1p3 as Swap

Only 1 and 3 seem to exist in /dev so I cant give 2 a filesystem, cant mount it. Really cant interact with it at all beyond using cfdisk to create it and delete it.
Any ideas?

Are you creating the filesystem after creating the partition (mke2fs, etc.)?


Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#3 2020-05-13 00:39:45

jed833
Member
Registered: 2012-04-30
Posts: 23

Re: [SOLVED]Issues partitioning on NVMe

So im using cfdisk to make the partitions. This includes setting types. Then I am trying to assign the filesystems to them.

Offline

#4 2020-05-13 01:03:43

merlock
Member
Registered: 2018-10-30
Posts: 233

Re: [SOLVED]Issues partitioning on NVMe

jed833 wrote:

Then I am trying to assign the filesystems to them.

What does this mean?

Maybe a quick Wiki refresher might help.

Last edited by merlock (2020-05-13 01:06:53)


Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#5 2020-05-13 02:46:44

jed833
Member
Registered: 2012-04-30
Posts: 23

Re: [SOLVED]Issues partitioning on NVMe

So in cfdisk, I go in select the size of partition. Then select the type. Then write it.
After that i attempt to do mkfs.ext4 /dev/nvme0n1p2.

It then tells me that doesn't exist. Thats the issue. The other 2 do and I can make swap just fine. 2 is the only one that doesn't seem to exist. I can fdisk -l and it shows up. But it isnt actually in /dev

Offline

#6 2020-05-13 03:01:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [SOLVED]Issues partitioning on NVMe

Were there any warning messages from fdisk as you wrote the new partition table or exited?

You could try partprobe or blockdev as described here:
https://www.2daygeek.com/how-to-reload- … em-reboot/


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2020-05-13 03:15:58

jed833
Member
Registered: 2012-04-30
Posts: 23

Re: [SOLVED]Issues partitioning on NVMe

Mo messages, and Ive tries this a few times, clearing all partitions everytime.

Ill try those when i get back home. Hopefully they help.

Offline

#8 2020-05-13 14:33:46

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED]Issues partitioning on NVMe

Did you try fdisk and not cfdisk to create the partitions?
As mentioned on the installation guide, you should be using fdisk or parted: cfdisk is not mentioned...
https://wiki.archlinux.org/index.php/In … _the_disks

Offline

#9 2020-05-13 17:00:00

jed833
Member
Registered: 2012-04-30
Posts: 23

Re: [SOLVED]Issues partitioning on NVMe

So partprobe told me 2 was in use, even though I had written it multiple times. I ended up rebooting again and this time it worked. So great, thanks for the help everyone.

Offline

Board footer

Powered by FluxBB