Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running a RHEL5 w/ 1 VM, that VM runs it's own LVM (boot, swap and root).

so now what I need is to be able to boot directly into that VM bypassing my host enviroment and making my VM is a host, I figured since it's has it's own LVM i should be able to load it up directly.

VM itself is a RHEL5 and currently host runs RHEL5 w/ XEN VM

share|improve this question
    
Please make this readable english. I don't understand what you are trying to do. –  Niels Basjes Sep 2 '09 at 20:55
    
I think he's got a RHEL5 hosting a VM of some kind. He wants to boot the VM install directly on the hardware without bothering with the RHEL5 host (ie a non-VM install). But without knowing more about the setup, I couldn't answer the question. –  David Mackintosh Sep 2 '09 at 21:04
    
What is the VM's operating system? When you sah "has its own LVM", is that on a real disk or a virtual one? VMware or Xen (since I'm presuming KVM in RHEL 5 is too new for anyone to have actually deployed it yet)? –  David Mackintosh Sep 2 '09 at 21:05
    
i just rephrase it, i hope this is better –  alexus Sep 8 '09 at 20:01
add comment

2 Answers

If I've understood you correctly, you want the HOST to not boot, and only the HOSTED VM to boot?

That's not possible without doing a V2P migration. The hypervisor has to be running, or the VM cannot.

share|improve this answer
    
What's V2P? and what's Hypervisor? XEN can be fully virtualized and/or PARA virtualized, fully virtualized it's like you running full blown OS without any modifications, para is slightly modified OS –  alexus Sep 23 '09 at 14:11
    
@alexus, I thought you'd know :) ..The "hypervisor" is the virtualization engine you're running. "V2P" is the shorthand for "virtual to physical". –  warren Sep 23 '09 at 15:13
1  
Warren is correct. The host OS must be running since that is where the hypervisor lives. If you want a small footprint host try VMWare ESXi. –  RateControl Oct 29 '09 at 13:07
add comment

Are you attempting to move your VM out of the virtual environment onto the parent physical server?

If so, it's possible cloning software like Clonezilla may do this. Boot Clonezilla inside the VM, clone the virtual disk to a network attached storage device (or something else) outside the VM, then boot Clonezilla on the physical machine and clone that image down to the bare metal.

Somebody correct me if this won't work!

share|improve this answer
    
It will only work if the real hardware is close enough to the VM's hardware that the "VM" can boot on the bare metal. If the bare metal requires some fancy ethernet or RAID controller driver, you might not get anywhere. –  David Mackintosh Sep 3 '09 at 2:54
    
in Linux - quite possible actually –  dyasny Sep 4 '09 at 16:48
    
my hardware close enough, at least i'd like to think so and I want to give it a shot... –  alexus Sep 16 '09 at 20:04
1  
backup, backup, backup before trying! –  sybreon Sep 23 '09 at 1:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.