WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] install debian lenny guest

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] install debian lenny guest
From: ko0nz <yesiko0nz@xxxxxxxxx>
Date: Fri, 1 Jun 2007 14:37:45 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 01 Jun 2007 05:36:06 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=J8iZhs9By7IR5upEWZfGag0jle4YncF3mV7vKf0cu/wS/bnkAPU9G7IB8RaWtXDRjsSPZuRikVebuZ2rlBKE4rsSg5T03LVcYZlYNfBrHYiyhyCn7OO9YbSyr7CW6L0z/Vwm1q4e1+8UlPgWplRUbPh5zGkkjbLg1WaUECXOGRQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=JV1nmFyNT89aLpshShmYrdrYcN7jnYftU7+IkdVdSKlCVkrPLsHoonQ1EMIUm2gGZTla42jTuy/UBuu6wsSJvpZMUONnnSvrNTrDGdL/3TDdeDchrRMudagWyKClAgEKvopDU219Z7I9aC2vrCqALmK0PhlVcYzjDq1CReDdL1w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561D96@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1f7e0c110705310824x490671f0r49ea867dee298489@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561D96@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>