cancel
Showing results for 
Search instead for 
Did you mean: 
Aravind_P
Mission Specialist
Mission Specialist
  • 1,167 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
  • 1,158 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
Armanator
Flight Engineer
Flight Engineer
  • 1,142 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
  • 1,140 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.