Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-02-2012, 09:48 AM   #1
Registered: May 2008
Distribution: ubuntu debian knoppix centos puppy
Posts: 31
Blog Entries: 2

Rep: Reputation: 1
installing 2nd Centos into new, empty logical volume of existing LVM

I have a single physical disk of "500G" with a Centos 6.2 64-bit install taking up the full disk in an LVM as follows:

[centoslive@livecd ~]$ sudo pvscan
  PV /dev/sda2   VG vg_test   lvm2 [465.27 GiB / 259.42 GiB free]
  Total: 1 [465.27 GiB] / in use: 1 [465.27 GiB] / in no VG: 0 [0   ]
[centoslive@livecd ~]$ sudo lvscan
  ACTIVE            '/dev/vg_test/lv_root' [100.00 GiB] inherit
  ACTIVE            '/dev/vg_test/lv_swap' [5.84 GiB] inherit
  ACTIVE            '/dev/vg_test/lv_home' [100.00 GiB] inherit
Now after using this setup for 6 months, I find that Centos 6.3 32-bit is better suited for my needs - using certain specific 3rd party programs with certain older versions is imperative for work - but is unsupported for 64-bit platform.
I tried out compat-libs and ia32-libs and a couple other solutions - VMware/Vbox is very slow.
And I also discovered 6.3 has far better network card support (at least for hardware in my workplace) compared with 6.2.

So I have about 250 G of space available into which I can make upto 3 more side-by-side Centos installs in the future, if I use say 80G for each install. I can make upto 3 80G logical volumes.

But can I use one (or each) of them to install Centos 6.3 32-bit (or later versions) ?

Will the installer allow installing to a single logical volume?
Will the installer update GRUB entries to make the 2 OSes - Centos 6.2-64 & 6.3-32 available as menu options or do I need to do it manually?

Grub version is GNU GRUB 0.97

Thanks in advance.

Old 10-10-2012, 09:03 AM   #2
LQ Newbie
Registered: Jul 2012
Posts: 4
Blog Entries: 3

Rep: Reputation: Disabled
Check if this link is helpful?
Old 10-12-2012, 03:18 AM   #3
Registered: May 2008
Distribution: ubuntu debian knoppix centos puppy
Posts: 31
Blog Entries: 2

Original Poster
Rep: Reputation: 1
Firstly, thanks for your reply!

From reading that blog entry, I am surprised to find that a basic installation of Centos can be done without using the installer/liveCD ! I'll try that as soon as I get a chance to do so. This means that I dont have to wipe partitions every time in the future I want to add a new version! - if it works it will be a great help.
Old 10-12-2012, 03:58 AM   #4
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Rep: Reputation: 27
I think that if you layout your disk it's very easy and even comfortable to use multiple os on the same system

in your case, I would have a boot partition (not on lvm) per OS of only about 250MB where each os could store it's kernels etc.
Then you can create another lvm root partition (/) for each OS where you install the systems.
Ideally you have one shared /home partition (lvm) which can be used by both systems to store your data on.

When installing the new OS, you can boot into livecd and use chroot or just the empty lvm-based partitions to install the new systems. But don't install grub again, you already have it from your first OS installation. You can just add entries for the newly installed os in the existing grub, allowing you to multiboot.



centos, grub, installation, lvm2, multiboot

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 08:02 AM
[SOLVED] delete logical volume (lvm) Art McClure Slackware 6 04-01-2012 08:04 PM
Installing Linux on an existing LVM volume arnljots Linux - Software 1 01-10-2012 02:52 AM
Shrinking a Logical Volume With LVM jimmyjiang Red Hat 1 02-28-2008 05:45 PM
adding 2nd hard drive to logical volume?? alabamaman Linux - Hardware 1 09-18-2007 04:47 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration