This is my configuration file for my vm : [root@xen ~]# cat /etc/xen/endian.cfg import os, re arch = os.uname()[4] kernel = "/boot/vmlinuz-2.6.18-164.6.1.el5xen" memory = 512 shadow_memory = 8 name = "endian" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/var/vm/endian/endian.img,sda,w'', ''phy:/dev/cdrom,xvdc:cdrom,r'' ] device_model = ''/usr/lib/xen-default/bin/qemu-dm'' # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot="dc" sdl=0 vnc=1 vnclisten="0.0.0.0" vncconsole=1 vncpasswd=''endian'' stdvga=0 serial=''pty'' usbdevice=''tablet'' on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' When starting the vm I am able to take a quick look into the terminal through virt-manager (the reason why I installed it) and I added the screenshot. It mentions : "No filesystem could mount root, tried : ext2 iso9660 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)" When following what happens through my ssh-session on the xen-server : [root@xen ~]# xm create endian.cfg Using config file "/etc/xen/endian.cfg". Started domain endian [root@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3465 2 r----- 79.3 endian 7 512 1 -b---- 0.2 [root@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3465 2 r----- 80.2 endian 8 512 1 --p--- 0.0 [root@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3465 2 r----- 80.7 endian 8 512 1 -b---- 0.1 [root@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3465 2 r----- 80.8 endian 8 512 1 -b---- 0.2 [root@xen ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 3465 2 r----- 81.4 Changing disk = [ ''file:/var/vm/endian/endian.img,sda,w'', ''phy:/dev/cdrom,xvdc:cdrom,r'' ] to disk = [ ''file:/var/vm/endian/endian.img,sda,w'', ''file:/tmp/endian/endian.iso,hdc:cdrom,r'' ] does not help (if it has anything to do with the installation media) Help with this steep learning curve is appreciated. KInd regards, Jonas. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Dec 11, 2009 at 2:36 AM, jonas kellens <jonas.kellens@telenet.be> wrote:> kernel = "/boot/vmlinuz-2.6.18-164.6.1.el5xen"So you want to install PV domU?> vif = [ ''type=ioemu, bridge=xenbr0'' ]type=ioemu is unnecessary, and might cause problems> disk = [ ''file:/var/vm/endian/endian.img,sda,w'', ''phy:/dev/cdrom,xvdc:cdrom,r'' ]You didn''t say what OS you''re trying to install. Most Linux distros that I know of can''t install PV guest from cdrom/iso.> device_model = ''/usr/lib/xen-default/bin/qemu-dm'' > # boot on floppy (a), hard disk (c) or CD-ROM (d) > # default: hard disk, cd-rom, floppy > boot="dc"I don''t think those lines mean anything on PV domU. Where did you base your domU config from?> stdvga=0 > serial=''pty'' > usbdevice=''tablet''AFAIK these ones also have meaning in HVM domU, not PV> When starting the vm I am able to take a quick look into the terminal through virt-manager (the reason why I installed it) and I added the screenshot.Since you have virt-manager anyway, why not start with letting it create a domU config file for you? Easiest way to install some (e.g. Centos, Fedora) PV domU from scratch is by using http install mirror. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar, Thank you for your reaction. This is the documentation that I have used : http://www.howtoforge.com/centos_5.0_xen http://planet.admon.org/howto/install-windows-xp-in-xen-centos/ http://www.virtuatopia.com/index.php/Installing_and_Running_Windows_XP_or_Vista_as_a_Xen_HVM_domainU_Guest http://www.howtoforge.com/how-to-run-fully-virtualized-guests-hvm-with-xen-3.2-on-debian-lenny-x86_64 https://help.ubuntu.com/community/Xen It is mostly for installing Windows from cdrom and so I thought I had it adapted to my Endian installation. I want to install endian firewall, which I need to install from cdrom or iso-mage. Could you point me to a good documentation or tutorial ??? My Intel processor does not support hardware virtualisation, so I should be able to use Xen for full virtualisation (like I did before with VirtualBox). Kind regards, Jonas. On Fri, 2009-12-11 at 08:46 +0700, Fajar A. Nugraha wrote:> On Fri, Dec 11, 2009 at 2:36 AM, jonas kellens <jonas.kellens@telenet.be> wrote: > > kernel = "/boot/vmlinuz-2.6.18-164.6.1.el5xen" > > So you want to install PV domU? > > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > type=ioemu is unnecessary, and might cause problems > > > disk = [ ''file:/var/vm/endian/endian.img,sda,w'', ''phy:/dev/cdrom,xvdc:cdrom,r'' ] > > You didn''t say what OS you''re trying to install. Most Linux distros > that I know of can''t install PV guest from cdrom/iso. > > > device_model = ''/usr/lib/xen-default/bin/qemu-dm'' > > # boot on floppy (a), hard disk (c) or CD-ROM (d) > > # default: hard disk, cd-rom, floppy > > boot="dc" > > I don''t think those lines mean anything on PV domU. Where did you base > your domU config from? > > > stdvga=0 > > serial=''pty'' > > usbdevice=''tablet'' > > AFAIK these ones also have meaning in HVM domU, not PV > > > When starting the vm I am able to take a quick look into the terminal through virt-manager (the reason why I installed it) and I added the screenshot. > > Since you have virt-manager anyway, why not start with letting it > create a domU config file for you? > Easiest way to install some (e.g. Centos, Fedora) PV domU from scratch > is by using http install mirror. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Dec 12, 2009 at 1:56 AM, jonas kellens <jonas.kellens@telenet.be> wrote:> It is mostly for installing Windows from cdrom and so I thought I had it > adapted to my Endian installation.Apparently there''s where it went wrong :D> I want to install endian firewall, which I need to install from cdrom or > iso-mage.For starters, I suggest you use the same method that you found to install Windows, and use it to install your firewall. The resulting domU will be a HVM domU, and will be unsuitable for production purposes (due to high disk/network I/O penalty), but at least it will get you the hang of things. If all goes well you''ll have a working HVM domU which works, but (probably) slow. After that, I suggest you try installing a PV Centos domU using virt-manager. It would give you an insight on how a PV domU would perform (which should be better than HVM), as well as its configuration file, while at the same time still gives you the GUI similar to virtualbox that you''re used to. Last, you need to find a way to convert your HVM endian domU to PV. This may or may not be possible (I haven''t use endian firewall, so I can''t comment about it much), and the ammount of effort may vary. For comparison purposes, converting a Ubuntu Karmic HVM domU to PV only requires editing some config files, while converting a Centos domU also requires both editing config files and installing another package (kernel-xen). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users