March 14, 201412 yr I loop mounted the arch linux iso, and edited the cfg file as follows: name = "ciffcloud" bootloader = "pygrub" kernel = "/mnt/arch/arch/boot/x86_64/vmlinuz" ramdisk = "/mnt/arch/arch/boot/x86_64/archiso.img" extra = "archisobasedir=arch archisolabel=ARCH_201403" memory = 512 vcpus = '1' disk = [ 'file:/mnt/system/ciffcloud/ciffcloud.img,xvda,w', 'file:/mnt/system/ciffcloud/archlinux.iso,hdc:cdrom,r' ] vif = [ 'mac=00:16:3e:a1:a1:a1,bridge=br0'] boot = 'dc' I keep getting the following error when trying to create the VM root@Tower:/mnt/system/ciffcloud# xl create ciffcloud.cfg -c Parsing config from ciffcloud.cfg xl: libxl_bootloader.c:42: bootloader_arg: Assertion `bl->nargs < bl->argsspace' failed. Aborted (core dumped) I assume that these following two lines... kernel = "/mnt/arch/arch/boot/x86_64/vmlinuz" ramdisk = "/mnt/arch/arch/boot/x86_64/archiso.img" ...are supposed to point to the loop mounted ISO. Which in this case is correct. Also to note that the mounted iso is read only. Any ideas?
March 15, 201412 yr Try commenting-out the bootloader = "pygrub" line. I had a similar thing happen to me today trying to build an Ubuntu VM from scratch and got the exact same error message. Comment it out by putting a # at the start of its line. After you get through the install you can add pygrub as the bootloader.
March 15, 201412 yr Read the wiki! https://wiki.archlinux.org/index.php/xen#Create_a_domU_.22hard_disk.22
March 16, 201412 yr Author @doorunrun, thanks that worked. @ironicbadger, I did I must have missed the line.
Archived
This topic is now archived and is closed to further replies.