<div class="gmail_quote">On Mon, Apr 16, 2012 at 4:04 PM, Konrad Rzeszutek Wilk <span dir="ltr"><<a href="mailto:konrad.wilk@oracle.com">konrad.wilk@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1uh">And do 'xm console <guest>", and run 'vncviewer localhost:0'<br>
and in the GRUB entry add this to your Linux stanza:<br></div></blockquote><div><br></div><div>So I'm a bit confused here.  Do you mean change the way I boot from the live CD because if it is not finding my hard drive how is it going to find the grub entries on the HD?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1uh">
"console=ttyS0,115200 debug loglevel=8 initcall_debug"<br></div></blockquote><div><br></div><div>So I'm just not sure where to add this.   I think I found how to do it in new grub but then it struck me that it was not finding the HD anyway so changing it there did not seem to make sense.</div>
<div><br></div><div>And that leads me to another question about the xen / virt-manager combo - I don't see any way with this to get into BIOS settings for the VM.   And when I start the VM either from the HD or the CD there does not seem to be any way to interact with the BIOS.  When trying to boot from the HD it just jumps up immediately adn says it is not found. </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1uh">
That will pipe your guest output to 'xm console'. From there it should<br>
be possible to figure out why the disks aren't seen.<br></div></blockquote><div><br></div><div>My config file already said "serial=pty" and when I do the xm command to view the console when the VM boots, I get nothing.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1uh">Oh wait, you are using 'virt install' do this right? Then to<br>
get that .xm file, do something like this:<br></div></blockquote><div><br></div><div>Yes, I did create it like that.  So now where is the definitive config stored?   I have a file /etc/xen/UbuntuServerS1 which has my config, but I can also dump the XML as you suggested.   So which one is being used when I boot?  Just so I know where to change it.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1uh">
</div></blockquote></div><div>Here is what my config file looks like - I added a couple of the VNC related directives after your last email, but I am not using VNC to view the console.  I'm using the console tab in virt-manager.</div>
<div><br></div><div><div>name = "UbuntuServerS1"</div><div>uuid = "dcc3a34e-b9d2-4b63-b169-cfa9213330e0"</div><div>maxmem = 4096</div><div>memory = 4096</div><div>vcpus = 2</div><div>builder = "hvm"</div>
<div>kernel = "/usr/lib/xen/boot/hvmloader"</div><div>boot = "cc"</div><div>pae = 1</div><div>acpi = 1</div><div>apic = 1</div><div>localtime = 0</div><div>on_poweroff = "destroy"</div><div>on_reboot = "destroy"</div>
<div>on_crash = "destroy"</div><div>device_model = "/usr/lib64/xen/bin/qemu-dm"</div><div>sdl = 0</div><div>vnc = 1</div><div>vncunused = 1</div><div>vnclisten = "0.0.0.0"</div><div>keymap = "en-us"</div>
<div>disk = [ "phy:/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1,hda,w", "file:/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso,hdc:cdrom,r" ]</div>
<div>vif = [ "mac=00:16:3e:20:95:39,bridge=xenbr1,script=vif-bridge,vifname=vif61.0", "mac=00:16:3e:4e:92:c4,bridge=xenbr0,script=vif-bridge,vifname=vif61.1" ]</div><div>parallel = "none"</div>
<div>serial = "pty"</div></div><div><br></div><div><br></div>