LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-20-2005, 08:22 PM   #1
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Rep: Reputation: 15
cfdisk


I have no clue how to use cfdisk, does anyone know of any tutorials?

Heres my hdb which I want to install:

linux primary partition 115gb
swap partition 1.5gb

I want to install another partition but the linux partition up there is taking all the space, how could I take some space from that and use it for another distro i want to use?
 
Old 12-20-2005, 10:05 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
When you use cfdisk, it will show you the free space on the disk, assuming you haven't created partitions yet. If you have, highlight the large partition, and make it smaller.

Then select the free space and make another primary bootable partition, or make an extended partition. If you make an extended partition, select it, and make a bootable logical partition inside the extended partition (for another distro).

If you haven't made the swap parition yet, make the extended partition small enough to leave free space at the end, then select that to make the swap partition.

After you have done all the partitioning, select Write to write the partition as the last thing to do before exiting cfdisk.

Then reboot. It one of the few times in Linux you need to reboot after making changes.

Note: if you write the partition table after each partition is made, you may end up with inconsistencies, such as overlapping partitions (happened to me a couple of weeks ago).

Had to delete all, reboot, do it all over, and reboot again to get it right.
 
  


Reply



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
cfdisk hansi umayangan Red Hat 3 04-04-2005 01:49 AM
cfdisk... kurrupt Linux - Software 2 07-17-2004 08:58 PM
help with cfdisk comprookie2000 Linux - Newbie 1 02-19-2004 12:25 AM
regarding cfdisk rahul_jain_9684 Linux - Software 2 07-25-2003 05:15 AM
I want my cfdisk WindozBytes Linux - General 2 11-12-2001 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 PM.

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
Open Source Consulting | Domain Registration