LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-26-2005, 12:50 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 578

Rep: Reputation: 31
How to use Fdisk in Linux


I want to do Partion using Fdisk in Linux. Though it is possible to do with Automatic & with Disk Duard but i want to do it with using Fdisk .
I have windows partion which it shoes * at boot .
Now if i want to make linux partition then should i choouse again the primary partion & choose "e" for extended partion ?

Plz guide me taht how to make partion if i have windows in my HD also
 
Old 03-26-2005, 04:09 AM   #2
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
What do the partitions / free-space on your hard drive look like?
 
Old 03-26-2005, 04:11 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
i'd recommend using cfdisk instead of fdisk, it's a little more friendly an intuitive. in fdisk though, assuming you have spare space on the device, just hit "n" to add a new partition.
 
Old 03-26-2005, 04:17 AM   #4
The_Messiah
Member
 
Registered: Jan 2004
Distribution: Slackware 10.1
Posts: 119

Rep: Reputation: 15
When I need to use fdisk I boot with my Linux cd, then when prompted you use the command "fdisk /dev/hda"

Hitting P will show you your current configs.

N will go through a couple steps to make a new partition.

After creating a new partition, hit p again to make sure it's what you want.

If all is well, hit w, and that will save the changes.
 
Old 03-26-2005, 01:01 PM   #5
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
If you need to resize or move any of your partitions without losing data, then fdisk is not the tool to use.
 
Old 03-26-2005, 10:22 PM   #6
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 578

Original Poster
Rep: Reputation: 31
Well thanks all for the reply. I have tryed cfdisk at # but its does't work .
As "dping" said that .... "If you need to resize or move any of your partitions without losing data, then fdisk is not the tool to use."

I does't want to resize my Hard disk .Yes the area is free . Any other thid party tool to make hard disk partion which is free .
 
Old 03-28-2005, 02:10 PM   #7
dping
Member
 
Registered: Dec 2004
Location: Oregon, USA
Distribution: Kubuntu 9.04
Posts: 181

Rep: Reputation: 30
"Parted" can also perform the function you want.
There is also "sfdisk", which I have never used.

In what way did cfdisk fail??
 
  


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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
Linux Fdisk help gardenair Linux - Newbie 1 03-26-2005 02:38 PM
linux fdisk m1ke_81412 Linux - General 3 10-19-2003 11:29 AM
Linux FDISK Mug-Root-Beer Linux - General 4 12-31-2001 05:51 AM
fdisk in linux antken Linux - General 1 01-22-2001 08:00 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration