hi, i''m using ubuntu edge 6.10. i''d like to test the debian lenny guest with the partition: /dev/sdb5 / /dev/sda8 swap /dev/scd0 cdrom lenny.iso /home/iso/lenny.iso i succeded running edge-guest, windows-guest, but i can''t with debian here''s my config: 2.6.17-6-generic-xen0 xen-hypervisor-3.0-i386 and kernel = "/boot/xen0-linux-2.6.17-6-generic-xen0" ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img" builder=''linux'' memory = 512 name = "lenny" vcpus = 1 vif = [ ''bridge=xenbr0'' ] disk = [ ''phy:/dev/sdb5,sdb1,w'',''phy:/dev/sda8,sdb2,w'',''file:/home/iso/lenny.iso,scd0:cdrom,r'' ] root = "/dev/sdb1 ro" sdl=1 vnc=0 vncviewer=0 boot=''d'' after 2mn, i have this error: Error: Device 2066 (vbd) could not be connected. Hotplug scripts not working. something wrong about the config! thank in advance. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ko0nz > Sent: 31 May 2007 16:25 > To: xen-users@lists.xensource.com > Subject: [Xen-users] install debian lenny guest > > hi, > > i''m using ubuntu edge 6.10. > i''d like to test the debian lenny guest with the partition: > /dev/sdb5 / > /dev/sda8 swap > /dev/scd0 cdrom > lenny.iso /home/iso/lenny.iso > > i succeded running edge-guest, windows-guest, but i can''t with debian > here''s my config: > 2.6.17-6-generic-xen0 > xen-hypervisor-3.0-i386 > > and > > kernel = "/boot/xen0-linux-2.6.17-6-generic-xen0" > ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img" > builder=''linux'' > memory = 512 > name = "lenny" > vcpus = 1 > vif = [ ''bridge=xenbr0'' ] > disk = [ > ''phy:/dev/sdb5,sdb1,w'',''phy:/dev/sda8,sdb2,w'',''file:/home/iso/ > lenny.iso,scd0:cdrom,r'' > ] > root = "/dev/sdb1 ro" > > sdl=1 > vnc=0 > vncviewer=0 > boot=''d'' > > after 2mn, i have this error: > Error: Device 2066 (vbd) could not be connected. Hotplug > scripts not working.There''s probably more info in "/var/log/xen/xend.log", but I suspect the whole problem is that you''re trying to boot a Linux (para-virtual) domain from "cdrom", which isn''t supported at all (because the Linux-builder doesn''t run a BIOS, which is how the CDROM-boot normally works - instead, it just loads the kernel and initrd into memory and sets the VCPU registers to some values that makes it possible to run the Linux kernel from there). I''m not sure, but I don''t think ":cdrom" is a valid addition on a PV domain. [It will probably work if you use a "hvmbuilder" form, e.g kernel="hvmloader" and builder="hvm" instead of the kernel/linux settings that you use now. And you''d have to give "whole disks" to HVM, as it doesn''t support partitions. [And it won''t make a PV domain, of course - it may be possible to convert it after install, but possibly a messy business]. -- Mats> > something wrong about the config! > > thank in advance. > > _______________________________________________ > 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
hi Mats, so how about installing Linux guest(Debian here) in a Ubuntu host, without the hvm method?> > > > i''m using ubuntu edge 6.10. > > i''d like to test the debian lenny guest with the partition: > > /dev/sdb5 / > > /dev/sda8 swap > > /dev/scd0 cdrom > > lenny.iso /home/iso/lenny.iso > > > > i succeded running edge-guest, windows-guest, but i can''t with debian > > here''s my config: > > 2.6.17-6-generic-xen0 > > xen-hypervisor-3.0-i386 > > > > and > > > > kernel = "/boot/xen0-linux-2.6.17-6-generic-xen0" > > ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img" > > builder=''linux'' > > memory = 512 > > name = "lenny" > > vcpus = 1 > > vif = [ ''bridge=xenbr0'' ] > > disk = [ > > ''phy:/dev/sdb5,sdb1,w'',''phy:/dev/sda8,sdb2,w'',''file:/home/iso/ > > lenny.iso,scd0:cdrom,r'' > > ] > > root = "/dev/sdb1 ro" > > > > sdl=1 > > vnc=0 > > vncviewer=0 > > boot=''d'' > > > > after 2mn, i have this error: > > Error: Device 2066 (vbd) could not be connected. Hotplug > > scripts not working. > > There''s probably more info in "/var/log/xen/xend.log", but I suspect the > whole problem is that you''re trying to boot a Linux (para-virtual) > domain from "cdrom", which isn''t supported at all (because the > Linux-builder doesn''t run a BIOS, which is how the CDROM-boot normally > works - instead, it just loads the kernel and initrd into memory and > sets the VCPU registers to some values that makes it possible to run the > Linux kernel from there). > > I''m not sure, but I don''t think ":cdrom" is a valid addition on a PV > domain. > > [It will probably work if you use a "hvmbuilder" form, e.g > kernel="hvmloader" and builder="hvm" instead of the kernel/linux > settings that you use now. And you''d have to give "whole disks" to HVM, > as it doesn''t support partitions. [And it won''t make a PV domain, of > course - it may be possible to convert it after install, but possibly a > messy business]. > > -- > Mats > > > > something wrong about the config! > > > > thank in advance. > > > > _______________________________________________ > > 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
> -----Original Message----- > From: kameas@gmail.com [mailto:kameas@gmail.com] On Behalf Of ko0nz > Sent: 01 June 2007 13:38 > To: Petersson, Mats > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] install debian lenny guest > > hi Mats, > > so how about installing Linux guest(Debian here) in a Ubuntu host, > without the hvm method?I''ve never really done this (since I don''t tend to run PV guests, as I don''t do coding for PV in Xen - my job involves HVM (and particularly SVM) code-development, so I don''t do PV other than what little Dom0 work I''ve done [none of which has ever ended up in XenSource code, so far - but sometimes hacking around inside the kernel can help debug something]). There should be plenty of material for how you do this on the web tho''. -- Mats> > > > > > > i''m using ubuntu edge 6.10. > > > i''d like to test the debian lenny guest with the partition: > > > /dev/sdb5 / > > > /dev/sda8 swap > > > /dev/scd0 cdrom > > > lenny.iso /home/iso/lenny.iso > > > > > > i succeded running edge-guest, windows-guest, but i can''t > with debian > > > here''s my config: > > > 2.6.17-6-generic-xen0 > > > xen-hypervisor-3.0-i386 > > > > > > and > > > > > > kernel = "/boot/xen0-linux-2.6.17-6-generic-xen0" > > > ramdisk = "/boot/xen0-linux-2.6.17-6-generic-xen0.initrd.img" > > > builder=''linux'' > > > memory = 512 > > > name = "lenny" > > > vcpus = 1 > > > vif = [ ''bridge=xenbr0'' ] > > > disk = [ > > > ''phy:/dev/sdb5,sdb1,w'',''phy:/dev/sda8,sdb2,w'',''file:/home/iso/ > > > lenny.iso,scd0:cdrom,r'' > > > ] > > > root = "/dev/sdb1 ro" > > > > > > sdl=1 > > > vnc=0 > > > vncviewer=0 > > > boot=''d'' > > > > > > after 2mn, i have this error: > > > Error: Device 2066 (vbd) could not be connected. Hotplug > > > scripts not working. > > > > There''s probably more info in "/var/log/xen/xend.log", but > I suspect the > > whole problem is that you''re trying to boot a Linux (para-virtual) > > domain from "cdrom", which isn''t supported at all (because the > > Linux-builder doesn''t run a BIOS, which is how the > CDROM-boot normally > > works - instead, it just loads the kernel and initrd into memory and > > sets the VCPU registers to some values that makes it > possible to run the > > Linux kernel from there). > > > > I''m not sure, but I don''t think ":cdrom" is a valid addition on a PV > > domain. > > > > [It will probably work if you use a "hvmbuilder" form, e.g > > kernel="hvmloader" and builder="hvm" instead of the kernel/linux > > settings that you use now. And you''d have to give "whole > disks" to HVM, > > as it doesn''t support partitions. [And it won''t make a PV domain, of > > course - it may be possible to convert it after install, > but possibly a > > messy business]. > > > > -- > > Mats > > > > > > something wrong about the config! > > > > > > thank in advance. > > > > > > _______________________________________________ > > > 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
ko0nz schrieb:> hi Mats, > > so how about installing Linux guest(Debian here) in a Ubuntu host, > without the hvm method? ># apt-get install xen-tools # xen-create-image --help as an example: xen-create-image \ --lvm=vg0 \ --debootstrap \ --size=5000MB \ --memory=512MB \ --mirror=http://de.archive.ubuntu.com/ubuntu/ \ --dist=feisty \ --swap=128MB \ --fs=ext3 \ --ip=XX.XX.200.79 \ --netmask=255.255.255.192 \ --gateway=XX.XX.200.65 \ --hostname=XXXX \ --passwd \ --kernel=/boot/vmlinuz-2.6.19-4-server \ --initrd=/boot/initrd.img-2.6.19-4-server \ --force Alternatively you''ld probably use debootstrap. greetings -- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users