Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 09-29-2011, 07:59 AM   #1
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390Reputation: 2390
libvirt/kvm: Enter passphrase during guest startup using virsh start <domain>

Hi all,

I've just installed a virtual machine and have encrypted one of the VM's partitions (/dev/vdaX).

When this VM is started using the virt-manager the startup procedure is clearly visible (GUI) and at a certain point a pass-phrase is asked.

virsh start <domain> does start the domain, but the VM itself is (obviously) waiting until a pass-phrase is provided and thus never fully starts.

I was wondering if it is possible to not use the virt-manager, but virsh start <?option?> domain to start the VM and provide the pass-phrase (interactive/none-interactive).

A search came up empty (all related to encrypting a virtual machine’s disks, which is not what I'm after).

This is just me playing around. I do realize that encrypting the disk image used by the VM would be a better solution if this would be for real.

Just in case:
- Host: RHEL 6.1
- Guest: RHEL 6.1
- libvirt: 0.8.7

Thanks in advance!


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Set up Ubuntu 11.04 KVM to run is spice session on Fedora 14 KVM Server ( Libvirt Preview Env) LXer Syndicated Linux News 0 03-20-2011 01:00 AM
qemu/kvm virsh networking help zoran119 Linux - Virtualization and Cloud 2 12-02-2010 02:43 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 03:50 PM
LXer: Completely functional virsh (Libvirt 0.1.7-15) & GRUB2 Support at Xen 3.4.3 (pv LXer Syndicated Linux News 0 03-04-2010 06:50 AM
LXer: Virsh (Libvirt 0.7.2) & managing PV DomUs on openSUSE 11.2 LXer Syndicated Linux News 0 01-10-2010 01:30 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:22 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