Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hello, I thought I had finally successfully installed Fedora 25 on a dual boot with windows 7, but now it seems like my partition sizes are wrong. When I go to "properties" of my Home directory, I see 365mb of content, and only 41.6 mb free. I intended to have much more space available than tha(more 400 gb).
It seems like I have two installations right now, sda3 and sda5. Is it possible that the later was created when I updated and installed the rpmfusion drivers for my video card, following this guide?
If you want to use the Anaconda installer and the partition manager that comes with Fedora than yes you will have to re-install to re-partition those partitions.
Otherwise you could use a live version of g-parted live to create new partitions.
-::-Keep in mind that when you resize partitions sometimes the system will not boot.-::-
When I made my partitions too small I just used the Fedora Live CD to re-partition and go through the install again.
Others may have other ideas.
Basically you need to create 4 partitions.
Boot, /Root, Swap and Home.
But it appears the large partition for Fedora is still there on dev/sda3. I'm confused about what's going on with sda5, which I'm guessing I'm on. I must have done something incorrectly when I updated my drivers. It appears a new kernel was installed, but I don't know if that had any affect on my partitions.
I normally create the boot partition first. Than the root partition and allocate 1 to 2 GB to the swap and give the rest of the drive to the home partition.
But it appears the large partition for Fedora is still there on dev/sda3. I'm confused about what's going on with sda5, which I'm guessing I'm on. I must have done something incorrectly when I updated my drivers. It appears a new kernel was installed, but I don't know if that had any affect on my partitions.
Yeah your on /dev/sda3 in order to be up and running.
I think what happened is the partition manager took the remaining and allocated 454m to an additional LVM partition.
A new kernel should not of effected your partitions.
Looking at the output of df -h the Fedora fs is mounted.
As well as the /home being mounted.
You will have to wait to hear from rknichols on the output of lsblk -f which shows all of the partitions by UUID and lvs which I'm not sure is an indication of what other than what's shown.
Your problem is that you have a split LVM system - /home is on a separate (small) pv (/dev/sda5), rather than being incorporated in the large pv (/dev/sda3) which should have plenty of free space.
/home can't expand into that free space until it (/home) is moved into the vg in the larger pv that occupies /dev/sda3.
I have never seen Fedora create a system like that, so can only assume you did something at the partitionin stage of the install to cause it.
The general routine to fix it is to create a new lv in vg "fedora" and copy current /home to it - then mount the new lv as /home - all needs to be done from a liveCD. Later you can delete the content in /dev/sda5 (the lv and vg), then add that pv to the "fedora" vg so you can use all you space as you wish.
For some reason you created a separate volume group (fedora00) for /home on that small 444MB sda5 partition. I don't think you intended to do that.
While your 50GB mounted root partition is on LV fedora-root00, you have an additional 50GB LV fedora-root that you don't appear to be using. Is there anything in there? Mount it on a temporary mount point and take a look. If it's nothing you want, I suggest renaming that to fedora-home, making a new filesystem there (unless the current one is empty), copying everything from the current /home there, and then adjusting /etc/fstab to mount the new filesystem on /home. If that sounds reasonable, post the content of your current /etc/fstab and I can give more specific instructions.
BTW, that can all be done from the running system.
Last edited by rknichols; 01-21-2017 at 09:49 PM.
Reason: Add BTW ...
For some reason you created a separate volume group (fedora00) for /home on that small 444MB sda5 partition. I don't think you intended to do that.
While your 50GB mounted root partition is on LV fedora-root00, you have an additional 50GB LV fedora-root that you don't appear to be using. Is there anything in there? Mount it on a temporary mount point and take a look. If it's nothing you want, I suggest renaming that to fedora-home, making a new filesystem there (unless the current one is empty), copying everything from the current /home there, and then adjusting /etc/fstab to mount the new filesystem on /home. If that sounds reasonable, post the content of your current /etc/fstab and I can give more specific instructions.
BTW, that can all be done from the running system.
This sounds fine. This is all from a fresh install that I seem to have mangled, so there is no data to be saved. I have no problem doing what you are suggesting, but would appreciate you walking me through it.
Something that I don't understand: won't clearing out that 50GB LV fedora-root only get me another 50gb? I'm using a 1tb drive that I tried to split evenly between Windows and Fedora, so I would think that I should have at least 400gb to work with on my Fedora home partition...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.