Computing.Net > Forums > Linux > Resizing Partitions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Resizing Partitions

Reply to Message Icon

Name: MiKeY
Date: December 11, 2004 at 17:27:52 Pacific
OS: WinXP SP2/SuSE 9.1 Pro
CPU/Ram: AthlonXP 2.4 GHz/768Mb
Comment:

Heres my existing structure:

[code]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.[/code]

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:

[code]You must delete some partition and add an extended partition first[/code]

Now Linux supports 4 primary partitions, so how can I safely create the extended partition without disturbing anything stored elsewhere?



Sponsored Link
Ads by Google

Response Number 1
Name: Dlonra
Date: December 12, 2004 at 12:44:06 Pacific
Reply:

it is not linux, unix, or Windoes - it is your bios. Hard drives are each limited to a max of 4 primary or 3 primary + an extended partition which can have multiple "sub" partitions.

As it says "You must delete some partition and add an extended partition first" - typically the last partition.

If you have populated hda / hda4, you will have a bit of a problem.



0

Response Number 2
Name: 3Dave
Date: December 14, 2004 at 05:45:16 Pacific
Reply:

You can either try resizing one of the partitions with something like parted or if you have a spare hard drive, copy the contents of a partition to that then delete the partition and create either a larger primary one or an extended partition which can hold further logical drives. If you haven't a spare drive, turn off your swap, delete the swap partition, create an extended partition with swap and the remaining space allocated, edit /etc/fstab to reflect the changes (logical drives start at hda5) and then turn swap back on.

NB Always back up important data before playing around with your partition table, especially if you are resizing partitions.


0

Response Number 3
Name: MiKeY
Date: December 15, 2004 at 06:49:43 Pacific
Reply:

Thanks for your feedback


0

Response Number 4
Name: 3Dave
Date: December 21, 2004 at 04:06:16 Pacific
Reply:

FYI I recently installed knoppix onto a laptop hard drive which had windoze 98 on it. I booted off the knoppix CD, used qtparted (it has a GUI) to resize the one big FAT partition and to create two more (one for swap and the rest for root) and then installed knoppix. All went smoothly and it now dual boots.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Resizing Partitions

Resize Partition www.computing.net/answers/linux/resize-partition/6409.html

resize / partition www.computing.net/answers/linux/resize-partition/25978.html

update resize partition www.computing.net/answers/linux/update-resize-partition/25989.html