cancel
Showing results for 
Search instead for 
Did you mean: 
Aravind_P
Cadet
Cadet
  • 934 Views

error in creating partition

fdisk: cannot open /dev/diskname: No such file or directory

I want to create partiton disk with 1GB but error showing...what is the reson for this?

plssss help

0 Kudos
3 Replies
FabioReis
Flight Engineer
Flight Engineer
  • 925 Views

@Aravind_P 

What about the output of the "lsblk" command? You will able to see the disks with this command. 

 

Please post here. 

0 Kudos
Armann
Flight Engineer
Flight Engineer
  • 909 Views

Are you following along with a tutorial?
You have to substitute "diskname" for the actual disk you want to work with.

Like FabioReis said, post a picture of lsblk and show us the output. 

Tracy_Baker
Starfighter Starfighter
Starfighter
  • 907 Views

There is no such things as this: /dev/diskname

What you'll need to use is something that looks like: /dev/sdb, /dev/vbc/dev/nvme0n1

As the others have said, the output from lsblk would really help.

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
0 Kudos
Join the discussion
You must log in to join this conversation.