LVM - multiple installations in one Volume Group?
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:
/dev/sda1 = Physical Volume
volgroup = Volume Group
lv01-root = Slackware root
lv01-swap = Slackware swap
lv01-home = Slackware home
lv02-root = Debian root
lv02-swap = Debian swap
lv02-home = Debian home
lv03-root = CentOS root
lv03-swap = CentOS swap
lv03-home = CentOS home
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.
I understand LVM much better now. Thanks for the advice, even though I ended up going with my instincts.
|All times are GMT -5. The time now is 09:51 AM.|