Click to See Complete Forum and Search --> : Partition sizes


Michael A. Milazzo
03-28-2001, 03:34 PM
Hi all,


When I installed RedHat 6.2, I initially only allocated 10 GB for it on a 30 GB drive. I allocated the rest of the space to Windows in FAT32. Well, I am using Linux alot more than I am Windows, and I would like to extend my current partitions to take over that 30 GB drive. Is there a way I can extend the current partitions I have to fill the drive, without losing my data? What approach would you recommend?

Thanks in advance,

Mike Milazzo

ph34r
03-28-2001, 03:43 PM
If you have un-partitioned space (or make it with partition majik) you can make a new ext2 partition and copy/move things like /home and /usr and /usr/local to the new location. Edit /etc/fstab, and reboot (just in case, especially when moving /usr). Once your system works with the new layout, go ahead and delete the old files.

I currently have :

~1.5gb /
4.0gb /usr
6.0gb /usr/local
2gb /home

and it seems to be working fine for me.

bdg1983
03-28-2001, 05:26 PM
You could try Partition Magic, although I've never used it to extend a ext2 partition.

Is Linux installed in a Primary or Logical partition?

Deleting the fat32 partition and extending the ext2 across the entire drive will of course change the partition assignment. ie 2 primary partitions for win and linux. Now Linux will be hda1 and /etc/lilo.conf will have to be modified to reflect the changes.

Anyone else with comments or corrections?