[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Yet another partitioning question



Hi,

I believe that you hit the limit of "number of primary partition". In most case, there can be only up to 4 primary+extend(only 1) partition one the same hard drive. The fdisk result you listed below showed that the number of P+E partition is 4. The only place you can add a new ext3 partition is within the extend partition, however, you use up all 509 MB of it. 

Do not think you can get around with it, unless you re-partition your space. suggest you 

1. backup data from /bluemoses to /dev/hda1 (win95 c)
2. umount /bluemoses
3. delete the extend partition of /dev./hda4
4. create new extend partition on free 16GB space
5. make 2 logical partitions with the extend partition one for /bluemoses one for new data
6. mke2fs for both partition
7. mount /bluemoses & new partition (modify the /etc/fstab)
8. umount swap
9. delete original swap partition & recreate swap partition with the original /dev/hda4 & /dev/hda5 for further ram expansion.
10. mkswap
11. swapon -a
12. move data backuped on win95 back to /bluemoses
13. check result

Please let me know what you think......

Andrew HUANG
Email: andrew andrewhuang idv tw


-----Original Message-----
From: redhat-install-list-admin redhat com [mailto:redhat-install-list-admin redhat com]On Behalf Of Kerry Nice
Sent: Saturday, December 28, 2002 2:03 AM
To: redhat-install-list redhat com
Subject: Yet another partitioning question


Sorry if this gets on the list twice, possibly.  I originally sent it from
an address that wasn't subscribed to the list.  Anyhow:

Ok, I'm really confused now.  Without going and buying Partition Magic,
how can I make this work.  I've been through parted, nparted, fdisk,
cfdisk and a million postings on newsgroups.

I had hda1 was 30 gigs and I shrunk it down to the 12 gigs it is at now
with parted.  I don't really use it anymore, but I don't think I really
want to delete it yet.  There is still some stuff in there I use (the data
and some programs though Wine).

How do I either add a new ext3 partition to the 16 gigs of free space or
add it to one of the other ones, preferably hda3.  fdisk tells me it has
no free sectors available.  parted keeps telling me that it overlaps other
partitions if I try to create something new there.

I'm not sure if I'm running into too many primary partitions, going above
1024 cylinders, or what is messing this up.  Is there something already
there, how do I end up using the free space?  Any suggestions?


/dev/hda: IDE-Maxtor 4D040H2(255-63-4982 512B/sec) 39083Mb
  /dev/hda1 : primary  Cil:(1-1530) 12001MB FAT
  /dev/hda-1: free     Cil:(1531-3697) 16998MB
  /dev/hda2 : primary  Cil:(3698-3703) 47MB ext3
  /dev/hda3 : primary  Cil:(3704-4917) 9522MB ext3
  /dev/hda4 : extended Cil:(4918-4982) 509MB
  /dev/hda5 : logical  Cil:(4918-4982) 509MB linux-swap

[root mothlight root]# fdisk -l /dev/hda

Disk /dev/hda: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1530  12289693+   c  Win95 FAT32 (LBA)
/dev/hda2          3698      3703     48195   83  Linux
/dev/hda3          3704      4917   9751455   83  Linux
/dev/hda4          4918      4982    522112+   f  Win95 Ext'd (LBA)
/dev/hda5          4918      4982    522081   82  Linux swap


     Name           Flags             Part Type          FS Type
Size (MB)
 ---------------------------------------------------------------------------
--------------------------
     /dev/hda1      Boot              Primary            Win95 FAT32 (LBA)
12001.69
                                                         Unusable 16998.47
     /dev/hda2                        Primary            Linux 47.07
     /dev/hda3                        Primary            Linux 9522.91
     /dev/hda4                        Primary            Win95 Extended
(LBA)   509.88


[root mothlight tmp]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3              9598380   8356588    754220  92% /
/dev/hda2                46668      9378     34881  22% /boot
none                    127692         0    127692   0% /dev/shm
/dev/hda1             12286624  11752992    533632  96% /bluemoses





_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request redhat com
Subject: unsubscribe





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]