[SOLVED] LVM - multiple installations in one Volume Group?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I am not familiar with LVM at all, although I have successfully got it up and running in Slackware. What I would like to know is, could I create one Volume Group in a Physical Volume consisting at the moment of just one disk, and install separate Linux releases into Logical Volumes in this solitary VG? So, for example:
Or do I need to create different Volume Groups for each installation?
And one other question: I am quite comfortable with Lilo but not with Grub. What is the best way to chainload these installations so that Lilo assumes final control? Install Debian and CentOS grub to root instead of MBR, and Slackware to MBR?
You can do that, but it seems pointless and overly complex. You'd need a separate /boot partition too outside of LVM, which *could* be used as common between all distro. Possible but again, overly complex. You'd not want to chain load these either really, the boot loader has nothing to do with the distro really (as /boot doesn't either - it doesn't ever need to be available to the running system) so you should just have in them in a single grub instance.
You can do that, but it seems pointless and overly complex. You'd need a separate /boot partition too outside of LVM, which *could* be used as common between all distro. Possible but again, overly complex.
So what is the usual way of doing it? Excuse my ignorance, but I've never really needed anything more than traditional partitioning. Now I want to get certified and I intend to have NetBSD, Slackware, Debian and Scientific Linux set up. This is too much for traditional partitioning. I just want to know how to go about it with LVM. You're saying one Volume Group with multiple Logical Volumes is overly complex. Is the alternative a Volume Group for each distro?
So what is the usual way of doing it? Excuse my ignorance, but I've never really needed anything more than traditional partitioning. Now I want to get certified and I intend to have NetBSD, Slackware, Debian and Scientific Linux set up. This is too much for traditional partitioning. I just want to know how to go about it with LVM. You're saying one Volume Group with multiple Logical Volumes is overly complex. Is the alternative a Volume Group for each distro?
I ended up using one extended partition for the physical volume and separate LVs for each distro, with a standard partition for /
I understand LVM much better now. Thanks for the advice, even though I ended up going with my instincts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.