Extend ext3 Partition Using Unpartitioned Space On Same Hard Drive - Fedora Core 6
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It depends ... if only primary (no extended ones!) partitions have been created you can use a tool like qtparted or Gparted to extend the last partition on the drive AFTER having backed up your data (on another drive, of course). The best is to use a live CD like Knoppix (you must run qtparted as root in Knoppix). If it is LVM I have no idea (as I have no idea what LVM actually is ... ) and if it is an extended partition I know no way to extend it.
using Knoppix to extend the partition, would it just reformat (and clear all data from the) hard drive, or will it extend the partition and leave all the data as it is? So far I'm thinking I should backup using only a 256 and 512 USB pen drives(although I'll probably take up less than 1MB) and Reinstall Linux, is there a way I can backup the Linux settings, such as the Desktop toolbars (forgot what they're called). Like the transparency of the toolbars and the icons that are on the toolbars that I put there. Could I just save the /home/aaron directory and then replace the newly installed /home/aaron directory with the old one? Or is there a backup user settings option somewhere?
It depends on what you are doing and if only primary partitions without LVM are present. But given the right circumstances, yes, you can extend a partition without loosing data.
Well, if you want to backup most USER settings, you can copy the whole /home/yourusername folder which contains them. The setting are usually located in the hidden directories (those beginning with . [dot]).
Yes, you can replace the directory, but it does not always work.
How is your system partitioned? Maybe just backing up the data on the last partition on the disk (which one is it?) then extending it will do the trick.
Well, that's not really usefull. Could you open either Qtparted (KDE), Gparted (Gnome) or your distribution's partition manager and tell us how it is partitioned (Filesystem, Partition name like hda1, Logical partition etc.). What is your last partition called? And, please, check if you are using LVM before doing stupid things (don't know how to do that, but a previous poster seem suggesting it is on by default). I'm NOT using Fedora.
If and only if you have only two partitions as you described (swap MUST be hda2) you can do following: Boot Knoppix or any other live distro with swap turned off (make sure your machine has enough Ram: 512MB strongly recommended) - in Knoppix
knoppix noswap desktop=icewm
at boot time. Then open a console, get root privilege, type:
Delete the swap partition, save, extend your main partition, save, then recreate a swap partition at the end (about the same size as now).
Then you can restart Fedora, maybe you will have to resize the ext3 VOLUME (not partition) if its still displayed as 200GB, I don't remember how to do it, but you should find the solution here on LQ or Google.