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

[Xen-users] [RESOLVED] 9.0-RELEASE PV from scratch on XCP v1.1.0



On Sat, Feb 11, 2012 at 10:55:44AM -0600, Trix Farrar wrote:
> I'm probably missing something really obvious here, but here are a
> couple of issues that keep this from being a complete win.

Yes, I missed something obvious.  I was overthinking things.

>   * Kernel ignoring/not-getting arguments from the domain builder.
>     This means that the kernel can''t find its root device.

Boot arguments _are_ passed to the kernel correctly.  The part that I
missed is that they are passed literally.  I had used the following:

xe vm-param-set \
    uuid=$VM_UUID \
    PV-bootloader-args="--kernel=/boot/kernel/kernel 
--args='vfs.root.mountfrom=ufs:xbd0s1a,kern.hz=100,boot_verbose=1'"

This meant that what the kernel saw for vfs.root.mountfrom was "'ufs:xbd0s1a", 
so it was
ignoring it becuase there is no "'ufs" filesystem type.  By removing
the single quotes around the "--args" portion, the kernel boots just
fine.  btw: "kern.hz" is 100 by default, so that part isn't needed
either.  The following PV-bootloader-args command allows the VM to
boot normally and unattended:

xe vm-param-set \
    uuid=$VM_UUID \
    PV-bootloader-args='--kernel=/boot/kernel/kernel 
--args=vfs.root.mountfrom=ufs:xbd0s1a,boot_verbose=1'

So, I'm willing to call it a win!

-- 
John D. "Trix" Farrar               __\\|//__               Basement.NET
trix@xxxxxxxxxxxx                   (` o-o ')   http://www.basement.net/
-----------------------------------ooO-(_)-Ooo--------------------------
   GPG Key Fprint: 525F DBA7 1A62 E4C4 E642  DF95 384B B851 3CEF C10A

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.