Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install Ubuntu 10.04 server with LVM+RAID. However, when I use cfdisk command to create new partition, I received the message: /bin/sh: cfdisk: not found. Please advise me. Thanks.

share|improve this question
up vote 0 down vote accepted

You need to use the normal menu driven installer screens to partition the drive. If you switch to the other tty, the environment is bare bones minimal and does not include cfdisk ( but iirc, it does have fdisk ).

share|improve this answer
Suckingly it doesn't. 12.04 alternate doesn't seem to have any command line fdisk at all ({c,s,}fdisk). – poige Apr 28 '12 at 10:18

Normally this command is located in /sbin. Please try to run it as sudo /sbin/cfdisk.

share|improve this answer
which or whereis can also track it down – charlesbridge Apr 20 '11 at 11:23
"Normally" PATH includes /sbin — just FYI. – poige Apr 28 '12 at 10:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.