Re: question regarding early ssh with kvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 17, 2013 at 09:27:24PM +0200, Oliver Zemann wrote:
> I would like to run my centos with an encrypted hard drive without
> entering the password with vnc (as the connection is not encrypted).
> For that i followed the guide on http://roosbertl.blogspot.ch/2012/12/centos6-disk-encryption-with-remote.html
> 
> When i follow the tutorial in VirtualBox, i at least can see that i
> create a connection to the machine.
> But on my productive server which runs in KVM, i even cant ping the machine.
> 
> Is there some way to print out debug messages (like "ip addr show")
> before the mount command has been executed? Maybe some kvm console
> driver where i can pipe messages to...?
> Also, is virtio_net and virtio_pci enough to load?
> 
> I try to get that working for more than 10 days now, this is really
> driving me crazy.

In a situation like this a serial console can be helpful.  Set the
kernel command-line to use the serial port (console=ttyS0) and make sure
the VM is configured with a serial port device.

This will allow you to follow the boot process.  If you need an
interactive prompt, check the distro initramfs scripts and set the
relevant debug options to get a shell prompt during the boot.

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux