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?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The information given just gives examples of how it could be and looks very complicated. I'll try to work something out myself, if I can't I guess I'll reinstall :/
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.
The hard drive that it is installed onto isn't partitioned, well.. 200GB of it is formatted while the remaining is just raw..unformatted hard drive that can't be used until format.
The formatted partition of the hard drive is where Linux and all programs are installed.
Last edited by aaron4katie; 01-10-2007 at 09:26 AM.
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:
qtparted
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.