You are not logged in.

#1 2021-05-13 05:27:55

bhugo
Member
Registered: 2021-05-13
Posts: 2

Can't find partition disks

Hello, I'm stuck at the step with mkfs.fat and ext4. I apologize if I use any terms incorrectly.

sda4 is the disk with all my memory on it, I made one 512M efi system and one linux filesystem using the rest of the memory, with cfdisk /dev/sda4. gpt if that matters. Under 'device' it says their locaton is /dev/sda4p1 and /dev/sda4p2.

Here's the problem: when i try to run mkfs.fat -F32 /dev/sda4p1   it says there is no such file or directory. Same with ext4 for sda4p2.

Anyone know what I'm doing wrong here? Thanks.

edit: i realised this should be posted in installation instead

Last edited by bhugo (2021-05-13 05:38:01)

Offline

#2 2021-05-13 06:24:56

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Can't find partition disks

You misunderstood something. You shouldn't work inside "sda4", you should work inside "sda".

Right now, you used cfdisk to create a partition table inside a partition. Names like "sda4p1" isn't what you should see, what you should see is a name for the disk "sda" and then partition names are "sda1", "sda2", etc.

Offline

#3 2021-05-13 17:46:00

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,366

Re: Can't find partition disks

What's the output of

lsb_release -d

Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

Board footer

Powered by FluxBB