Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-11-2004, 07:08 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 23

Rep: Reputation: 15
Resizing Partitions

Heres my existing structure:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1       41613    20972826    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2           41614       43694     1048824   82  Linux swap
Partition 2 does not end on cylinder boundary.
/dev/hda3   *       43695       63536    10000368   83  Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4           63537      130110    33553296    c  W95 FAT32 (LBA)
Partition 4 does not end on cylinder boundary.
I have 11.99Gb of unused space on my HD which I'd like to use. When I try and create an extended partition, fdisk tells me:

You must delete some partition and add an extended partition first
Now Linux supports 4 primary partitions, so how can I safely create the extended partition without disturbing anything stored elsewhere?
Old 12-11-2004, 07:33 PM   #2
Registered: Sep 2004
Location: Puerto Rico
Distribution: Slackware, gentoo, Ubuntu
Posts: 30

Rep: Reputation: 15
To make things easier use cfdisk instead of fdisk

and to create an extended partition you have to delete an existing partition. NHard disk wont allow more than 4 primary partitions. So delete one, then use the free space to create an extended partition, aand from then on create as many logical partitions as you wish.
Old 12-12-2004, 02:18 PM   #3
LQ Newbie
Registered: Jul 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Nice one, I'll give that a try!
Old 12-12-2004, 07:47 PM   #4
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
When I partitioned my HDD, I have the one with windoze (which will soon depart this world), and an extended partition for the rest of the disk. Within that extended partition, I create the Linux partitions I need.

Giving all the remaining space to the extended partition simplifies things for me. It's all devoted to Linux, even though it may not all be partitioned as yet. If I want to make another Linux partition, the space is there and designated for Linux. Just size the partition I want, name it, and format it.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing Partitions dokunut Linux - Newbie 2 06-18-2005 08:56 PM
Resizing partitions ?? sachinh Linux - General 1 04-04-2005 06:01 AM
Resizing HD partitions clueless_one Debian 5 11-27-2004 07:32 AM
Resizing partitions jaakkop Fedora 2 09-30-2004 08:33 AM
resizing partitions suselinux Linux - General 7 09-07-2001 07:28 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:47 AM.

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