mark pryor
2007-May-08 18:59 UTC
[Xen-users] centos5 guest in opensuse 10.2 with lvm - solved
Schober Walter <Walter.Schober@neotel.at> wrote:
---------------------------------
From: Schober Walter <Walter.Schober@neotel.at> wrote: Had nearly the
same issue. I used a /boot to boot from using ext3. Also you could create
another harddisk as a file on disk to boot from. -> spec. in your VM config
file.
Sorry, I know, that''s not what you asked, but maybe it helps to move
forward.
br
Walter
---------------------------------
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of mark pryor
Sent: Monday, May 07, 2007 4:33 AM
To: Xen-users@lists.xensource.com
Subject: [Xen-users] centos5 guest in opensuse 10.2 with lvm
hello,
I have default install of opensuse 10.2 x86_64 with all xen related.
I have several guests working:
Winxp pro sp2 (full virtual)
FC6 3m respin (para)
My latest adventure is to try and install CentOS 5.0 full-virtual to an LVM
filesys.
What happens is Centos boots from DVD into the installer. It sees my LVs and
starts a text install.
I select the default proposal. It then fails, saying there is not enough room
for
/boot.
Maybe this is not meant to be -- perhaps Centos can''t boot from an LV,
even in Xen?
I
cheers
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of mark pryor
Sent: Monday, May 07, 2007 4:33 AM
To: Xen-users@lists.xensource.com
Subject: [Xen-users] centos5 guest in opensuse 10.2 with lvm
hello,
I have default install of opensuse 10.2 x86_64 with all xen related.
I have several guests working:
Winxp pro sp2 (full virtual)
FC6 3m respin (para)
My latest adventure is to try and install CentOS 5.0 full-virtual to an LVM
filesys.
What happens is Centos boots from DVD into the installer. It sees my LVs and
starts a text install.
I select the default proposal. It then fails, saying there is not enough room
for
/boot.
Maybe this is not meant to be -- perhaps Centos can''t boot from an LV,
even in Xen?
IThanks for replying Walter.
Good news, the install is underway as I type this and on this same machine!
the key was to only use one LV with 3 partitions:
/root
/home
/swap
with
disk = [ (token for cdrom) , ''phy:xenvm/cent5,hda,w'']
root = "/dev/hda1"
the root line made the difference. Without it the console would open and hang.
To format the partitions I used:
losetup /dev/loop1 /dev/xenvm/cent5
fdisk /dev/loop1 #verify
kpartx -av /dev/loop1 #you should see your partitions
mkfs.ext3 /dev/mapper/loop1p1 # etc for your other partitions
kpartx -dv /dev/mapper/loop1
losetup -d /dev/loop1
now when the I boot into the installer the partitions are detected and ready to
use.
The happy result
---------------------------
http://www.superfloppy.net/xen/cent5.png
cheers
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users