FedoraThis forum is for the discussion of the Fedora Project.
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.
Goodness, being away from Linux for a long time has made me forget a lot that I thought I already knew. I have FC8 installed on a 40GB dirve (The only drive in the machine.) The last FC I used did not use LVM and I am not familiar with how it handles partitions. I want to partition this drive and add a partition to put Slackware 12 on using Gparted. I want to leave 15GB for Fedora and create a 12GB partition for Slack, plus an additional 2GB swap partition.
My question is: Can I use Gparted to resize the Fedora partion the way I used to when the partitions were called hda (and so forth)? Are there any special consequences I must be aware of before I attempt this, as I do not want to damage my FC8 installation?
I will use my Grub installation in Fedora to add the boot information for Slack, I am assuming (hoping) that I can just add it's boot location (hd01 in Grub speak.)
No, you must use the LVM tools to resize the LVs. The Fedora / and swap "partitions" are inside the LV partition, so you can't change their logical sizes using tools designed for physical devices. Look at the man lvm for suggestions on how to do it, or search for LVM tutorials in the "tutorials" section. (See the button in the top line on the page you're currently reading.)
If you've just installed Fedora 8, you could choose to re-install without using the default LV setup. Logical Volumes, in my opinion, make very little sense for a simple "home" installation, although they are quite useful for Linux installation handling hundreds of hard drives in multiple RAID configurations.
Nope - Gparted (libparted) doesn't have that.
Fedora should have tools to do (most of) it - but basically I'd expect you have to shrink the filesystem, then the lv, then the vg, then the partition.
That last one will have to be partition delete/reallocate from something like [c]fdisk I'd expect.
There's a user guide on tldp.org.
Virtualizers always seem to be based on the premise you will always want to add resources, not take them away.
(BTW, that'd be "hd0,1" in grubspeak)
Thank you, PTrenhome, for your reply, and I am glad I didn't attempt to do this. Unfortunately, I have been running FC8 for a number of weeks and have spent hours updating and fine tuning, so I don't want to reinstall and have to do all of that again. I honestly don't recall being given an option during the install as to what kind of partitioning I wanted. The LVM seemed to be installed by default in Fedora.
I have read a number of manuals and tutorials on LVM, and quite frankly they confuse me. I will re-read the tutorials here and see what I can do. If it means that I cannot now install Slack, then so be it, because I don't want to distro hop anymore. I only wanted Slack on this machine because it is old (PIII 1Ghz) and FC8 runs a little slow on it. I have been told that Slack 12 is still pretty fast on a PIII machine.
Yes, noted my error about hd0,1 as soon as I posted it. Since read PTrenholme's post I have read the man lvm pages, the LVM how to, and a number of posts in LQ forums. Its clear to me after reading these that the LVM tools I would need to use are way over my head having never seen them before. I will keep reading, but so far I haven't a clue how to begin to do this.
If I am not a ble to figure it out (i.e. find a step by step tutorial somewhere or a similar post in the forums) I will just have to give up on installing Slack until I can add a second hard drive. I assume I could do it that way and the FC8 installation on the first drive would not be affected.