Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-29-2004, 08:46 PM   #1
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
Help! Splitting 1 large partition into 3!

Well I've been trying to do this for a few days and been reading everything, but no success. My partition table is as follows:

1-> / - 6g
2-> swap - 500mb
3-> /backups - 20g
4-> /usr - 10g
5-> /home - 40g

I basically want to resize the backup partition to 16g and make two new 2 gig partitions. There is no data on this partition and right now its ext3, but could be converted to any file system.

I was successful in resizing the partition to 16g using resize2fs but for some reason fdisk still sees it as a single 20g partition. I can look at the size in nautilus and that says it is 16 gigs. So my question is, how can I create two new partitions after I have resized it?

I do have partition magic 8 on floppies saved from when I had windows, but it can't read my partition table for some reason and shows the entire hard drive as a raw unpartitioned disk.
Old 06-30-2004, 12:37 AM   #2
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You are confusing your partition with your file system. resize2fs has resized your filesystem, leaving unallocated space on the partition on which it resided.

parted is the tool that will allow you to resize your partition.

If you are going to be rejuggling your partitions and filesystems on an active system, you might want to investigate LVM (logical volume manager). It adds a level of abstraction, but greatly simplifies rejiggering your file systems.
Old 06-30-2004, 09:04 AM   #3
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Original Poster
Rep: Reputation: 31
Thanks, I'll look into LVM. I tried using parted but It says there is no support for an ext3 filesystem. I then converted it to an ext2 file system and parted won't even recognize it. I get this error, the same one I got when I tried to resize it as an ext3:

No Implementation: This ext2 filesystem has a rather strange layout!  Parted
can't resize this (yet).


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
splitting large files to smaller parts ZaphyR Linux - Software 2 01-28-2005 12:15 PM
Splitting A Large Xml File anirudh Programming 7 09-03-2004 04:28 AM
splitting large file - with ffmpeg or vcdimager zstingx Linux - General 2 11-02-2003 10:54 AM
splitting large tar file derfberg Linux - Newbie 1 01-08-2003 07:44 PM
splitting a vfat windows partition zLinuxz Linux - General 3 10-07-2002 11:14 AM

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration