Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-27 Thread Christoph Maser
Am Sonntag, den 27.09.2009, 05:16 +0200 schrieb aurfal...@gmail.com: Ok, this is what I did in the exact same situation (solution below gotten from the xen list). I use it religiously. Lucky I'm on both forums. ** First make sure your guest

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-27 Thread aurfalien
I have absolutely no clue why this is. Have you tried taking that img file and its config to another dom0 to see what happens? Try to have 2 xen dom0s set aside for testing, one at current production level and what at bleeding edge. This way you can test exsisitng domUs on both to see what

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-27 Thread aurfalien
Unsure what xen you are on. But I was using the stock version supplied by Centos and found that latest 3.4.1 rpms found at the gitco repo ( http://www.gitco.de/ repo/ ) fixed a lot of my problems. Centos/RHEL use 3.1.2 which blowz. On Sep 26, 2009, at 8:21 PM, Devraj Mukherjee wrote:

[CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Hi all, I am trying to mount images that I previously created with dd and the images have two partitions (swap and LVM). I use these images to house data for my Xen Guests. For some reason (possibly Kernel conflicts for paravirtualized domains) I am unable to boot my Guest images. Failing which

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Alan Sparks
Devraj Mukherjee wrote: Hi all, I am trying to mount images that I previously created with dd and the images have two partitions (swap and LVM). I use these images to house data for my Xen Guests. You'll probably need at least kpartx to mount the partitions out of the image. Maybe even

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread aurfalien
Is your local host using LVMs and if so, is your volume group something like VolGroup00? Is your image file also of a VolGroup00? - aurf On Sep 26, 2009, at 7:56 PM, Devraj Mukherjee wrote: Hi all, I am trying to mount images that I previously created with dd and the images have two

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Hi aurf, On Sun, Sep 27, 2009 at 1:09 PM, aurfal...@gmail.com wrote: Is your local host using LVMs and if so, is your volume group something like VolGroup00? Yes it uses LVM and has VolGroup00 Is your image file also of a VolGroup00? - aurf Yes this is true as well. -- The secret

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread aurfalien
Ok, this is what I did in the exact same situation (solution below gotten from the xen list). I use it religiously. Lucky I'm on both forums. ** First make sure your guest isn't running unless you want to trash its file systems. losetup -f

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread Devraj Mukherjee
Thanks a lot for that, I will give it a go. I am trying to get another machine with CentOS 5.3 so I can use that to perform the rescue operations. Did you see my post on the virtualisation list? If so do you have any thoughts on that post? On Sun, Sep 27, 2009 at 1:16 PM, aurfal...@gmail.com

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread aurfalien
Well, I would build a new system with no LVMs at all, just set everything as / and ext3. This way you can rescue img files all day long without potential VolGroup00 clashes. I build all my Xen dom0 and domUs w/o LVMs. Why? Cuz I found a bug (I guess, or its just lame) that wen your

Re: [CentOS] mounting images created using dd that contain two partitions

2009-09-26 Thread aurfalien
o, i didn't see your post in the xen lists. On Sep 26, 2009, at 8:21 PM, Devraj Mukherjee wrote: Thanks a lot for that, I will give it a go. I am trying to get another machine with CentOS 5.3 so I can use that to perform the rescue operations. Did you see my post on the virtualisation list?