LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating a partition using cfdisk (https://www.linuxquestions.org/questions/linux-newbie-8/creating-a-partition-using-cfdisk-505275/)

lel800 11-27-2006 12:06 PM

Creating a partition using cfdisk
 
I'm using LiveCD DSL to create a linux partition. I enter 'cfdisk' in the terminal window and it says "FATAL ERROR: Cannot open disk drive".

How do I create a linux partition for a hard drive using a CD?

And if I wish to install an operating system on the entire hard drive versus one partition of it, should I create a partition? And what does cfdisk do? ( I know I should research that one myself and I will )

Thanks ...

nadroj 11-27-2006 12:10 PM

you probably have to supply the disk to format. such as 'cfdisk /dev/hdX' where X is 'a' for a master primary IDE drive, 'b' for a master secondary IDE drive, 'c' for a slave primary IDE drive, etc

lel800 11-27-2006 12:14 PM

Quote:

Originally Posted by nadroj
you probably have to supply the disk to format. such as 'cfdisk /dev/hdX' where X is 'a' for a master primary IDE drive, 'b' for a master secondary IDE drive, 'c' for a slave primary IDE drive, etc

Thanks for your reply. This time, since there is only one primary IDE drive, I used

cfdisk /dev/hd1

And the error message was the same.

nadroj 11-27-2006 12:15 PM

Quote:

cfdisk /dev/hd1
if theres only one primary IDE drive it will be '/dev/hda'

lel800 11-27-2006 12:21 PM

Thanks for your reply. And I discovered I need to be root - must use

sudo cfdisk /dev/hda


All times are GMT -5. The time now is 11:48 PM.