LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2006, 01:06 PM   #1
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Rep: Reputation: 30
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 ...
 
Old 11-27-2006, 01:10 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
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
 
Old 11-27-2006, 01:14 PM   #3
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Original Poster
Rep: Reputation: 30
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.
 
Old 11-27-2006, 01:15 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
Quote:
cfdisk /dev/hd1
if theres only one primary IDE drive it will be '/dev/hda'
 
Old 11-27-2006, 01:21 PM   #5
lel800
Member
 
Registered: Aug 2003
Distribution: Red Hat RHEL WS 3, RHEL WS 4
Posts: 228

Original Poster
Rep: Reputation: 30
Thanks for your reply. And I discovered I need to be root - must use

sudo cfdisk /dev/hda
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition types in cfdisk davemar Linux - General 1 01-12-2005 08:19 AM
Error in cfdisk? Cant partition! bobthebear Linux - General 6 07-05-2004 10:14 AM
CFDISK Partition Manager tycapel7 Linux - Software 1 06-07-2004 07:31 PM
partition with cfdisk.. but no permission!! r3dxP Linux - Software 2 05-27-2004 03:15 PM
Extra Partition after cfdisk SBarretDolph Linux - Newbie 1 01-20-2004 12:32 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration