Turinglifer Chu
2009-May-25 04:30 UTC
[Xen-users] how to set ''extra'' parameter of xen configuration file?
Hi,all how to set ''extra'' parameter of xen configuration file? I found several format in this parameter, such as: extra = "text ks=nfs:192.168.1.254:/disk1/yum/centos5/ks.xen.centos5.txt" or extra = "headless ip=dhcp method=nfs:129.158.218.44:/mnt lang=en_US keymap=us ksdevice=eth0" Is there a specification to show how to edit this parameter, and to explain what the content of it mean? thanks for help! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-May-25 06:12 UTC
Re: [Xen-users] how to set ''extra'' parameter of xen configuration file?
2009/5/25 Turinglifer Chu <Turinglifer@huaweisymantec.com>:> how to set ''extra'' parameter of xen configuration file?Depends on how you boot domU. When using pygrub, it needs to be in domU''s grub.conf. When using kernel on dom0, you can use "extra" parameter.> I found several format in this parameter, such as: > > extra = "text ks=nfs:192.168.1.254:/disk1/yum/centos5/ks.xen.centos5.txt" > or > extra = "headless ip=dhcp method=nfs:129.158.218.44:/mnt lang=en_US > keymap=us ksdevice=eth0" > > Is there a specification to show how to edit this parameter, and to explain > what the content of it mean?Some options are generic to linux, while others depends on what distro you use. Try http://fedoraproject.org/wiki/Anaconda/Options http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-kickstart2-startinginstall.html http://tldp.org/HOWTO/BootPrompt-HOWTO.html -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Turinglifer Chu
2009-May-25 07:43 UTC
[Xen-users] Problem when create a suse PV guest with virt-install
I used virt-install to create a suse10 domU PV guest. Here is the problem: [root@localhost opt]# virt-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. no What is the name of your virtual machine? suse10 How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (file path)? /opt/suse10.img Would you like to enable graphics support? (yes or no) no What is the install location? ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386 Starting install... Retrieving file .treeinfo... 0 B 00:00 Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory. Domain installation may not have been successful. If it was, you can restart your domain by running ''virsh start suse10''; otherwise, please restart your installation. Mon, 25 May 2009 15:14:17 ERROR Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory. Traceback (most recent call last): File "/usr/sbin/virt-install", line 502, in ? main() File "/usr/sbin/virt-install", line 462, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 811, in start_install self._prepare_install(meter) File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 56, in _prepare_install self._installer.prepare(guest = self, meter = meter) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 239, in prepare self._prepare_kernel_and_initrd(guest, distro, meter) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 209, in _prepare_kernel_and_initrd distro = distro) File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py", line 123, in acquireKernel return store.acquireKernel(fetcher, progresscb) File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py", line 62, in acquireKernel kernel = fetcher.acquireFile(kernelpath, progresscb) File "/usr/lib/python2.4/site-packages/virtinst/ImageFetcher.py", line 88, in acquireFile raise ValueError, _("Invalid URL location given: %s %s") %\ ValueError: Invalid URL location given: ftp://129.22.0.201/pxe/suse10_sp1_x86/boot/i386/images/xen/vmlinuz [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users