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.
Hey everyone, I think that I have a problem with my partition and that I have more than one workstation on my computer due to me reinstalling Fedora once. How can i clean this up so I am using my space more efficiently. I have GParted on a USB that i can use to fix this.
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 930.3G 0 part
├─fedora_localhost--live00-root 253:0 0 50G 0 lvm /
├─fedora_localhost--live00-swap 253:1 0 7.8G 0 lvm [SWAP]
└─fedora_localhost--live00-home 253:5 0 872.5G 0 lvm /home
sdb 8:16 1 28.9G 0 disk
└─sdb1 8:17 1 28.9G 0 part /run/media/josh/D0A5-A19B
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 200M 0 part
├─nvme0n1p2 259:2 0 1G 0 part
├─nvme0n1p3 259:3 0 193.2G 0 part
│ ├─fedora_localhost--live-swap 253:2 0 7.8G 0 lvm
│ ├─fedora_localhost--live-home 253:3 0 135.4G 0 lvm
│ └─fedora_localhost--live-root 253:4 0 50G 0 lvm
├─nvme0n1p4 259:4 0 1M 0 part
├─nvme0n1p5 259:5 0 1000M 0 part
├─nvme0n1p6 259:6 0 17.1G 0 part
└─nvme0n1p7 259:7 0 1000M 0 part
What exactly do you want to do? You have two UEFI LVM installs on separate drives, each with its own efi partition. Which one has the data you want to keep, the SSD or the 1TB drive? Just format the drive partition(s) on the drive you don't use/want. You don't really indicate what the problem is. Can you boot either/both instance(s) of Fedora?
What I want to do is delete that Fedora that I am not currently using. I did reinstall Fedora to try and fix something (forget what it was) and in the process I installed it in another location without deleting the original. I ran fdisk -l to give you guys more information. What I would like to do is delete the Fedora workstation that i am not actually using and clear up unused disk space. Here is some more information
I'd simply pvremove /dev/nvme0n1p3 - you'll have to force it due to the vg.
Then you can delete the partition itself if you wish, or simply re-use it. For /dev/nvme0n1p2 just reformat/remove it.
Yes, sorry about that - always when screwing with partitions. You'll probably need to do a "vgchange -an" to deactivate the lvs in that pv. Make sure the liveCD has LVM "baked in" - use the Fedora install image for example.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.