[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Pygrub on ARM64
On Wed, 2016-02-24 at 16:35 +0530, Sanjeev Pandita wrote: > Hi Ian/All, Please don't top post. > If I run the command manually it says OSError: no such file or directory > . > > [root@localhost ~]# /usr/local/lib/xen/bin/pygrub > --args=root=/dev/xvda4 rw console=hvc0 earlyprintk=xen > --output=/var/run/xen/bootloader.25.out --output-format=simple0 > --output-directory=/var/run/xen/bootloader.25.d > /mnt/xen/CentOS-7-aarch64.img [...] > OSError: [Errno 2] No such file or directory: 'rw' This is because you haven't quoted the "--args", everything from "root=/dev/xvda4" up to "earlyprintk=xen" should be quoted in the shell, that "rw" is supposed to be part of the eventual kernel command line[*]. You are using a local raw image, so it seems to be doing the local attach thing and then passing the raw image to pygrub, which should work I think. As well as trying to run pygrub by hand again with proper quoting you could also try "xl console vm1" after you run the create, it could be that pygrub is actually working and waiting for user input on the console. Ian. [*] normally this information would come from your grub.cfg in the guest, so you might want to remove the extra = in your guest cfg, or maybe you are deliberately overriding grub.cfg, in any case you are not yet at the point where this setting would make any difference. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |