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] Domu has no disks

To: Barry Kolts <bhkolts@xxxxxxxxxxx>
Subject: Re: [Xen-users] Domu has no disks
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Tue, 11 Oct 2011 17:26:27 -0700 (PDT)
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 11 Oct 2011 17:27:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1318379187; bh=U9unfaz5soeDDi402eMfYypW19BLjVYqDH/QiEUoDXs=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=usZ05OpII895z9ggrQ1jJOHPFXMJZKyBWmQ7bS/wMpxlsZ9Jn8cIU/Rujw9eZm4gyaiR2MyCalPumEeMexvqszbUtESGtDuQfPoksmGJbR+PT54m/5uXekt2W2TyDwY4BqMCMb3VoiXkcAe6LLxVFLEHxIll44X1mHLFHgg0BHI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=do9s4dY8abjC43WpFZCxer2YE7JIX4NsidcdVkaXzDOmGmBBDfZGL4JTsWlXR1ukkhjSQ3iwsHjwCLykWPG+S2mSCXFH75RaNMVSixSa3PU68NhRH9VXSYCxwPE8bMVos7kpShozVtz8/mAsZ/8nWEvIjtcN/pP9msEVxomnDvg=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <24492B6A9BC54217A82CFED7B4250DE3@maincomputer>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <24492B6A9BC54217A82CFED7B4250DE3@maincomputer>
Reply-to: Mark Pryor <tlviewer@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx



----- Original Message -----
From: Barry Kolts <bhkolts@xxxxxxxxxxx>
To: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Cc: 
Sent: Tuesday, October 11, 2011 5:02 PM
Subject: [Xen-users] Domu has no disks

Hello,

This is my first post to the list and I am new to Xen, so please excuse my 
ignorance.

I have Xen 4.0 running on Debian Squeeze with Squeeze as dom0. I am trying to 
install Ubuntu Lucid 10.04 as a guest. I am using the install cd iso. I think I 
should be able to do this based on this quote from 
http://wiki.xensource.com/xenwiki/XenOverview. From the 'Installing new 
Paravirtual (PV) guests' section, 'Ubuntu 10.04 ("Lucid Lynx") installer can be 
booted as a Xen PV guest and installed easily that way. '.

The problem is once the Ubuntu installer starts it cannot find the cdrom. Also 
if I use the net-install method, the installer can't find the virtual disk to 
install to. So my problem is not getting domu to boot but not having any disks 
once it does.

My domu configuration file is based on the xmexample1 configuration that was 
packaged with Xen. Rather than posting the whole file here are the changes I 
made:

kernel = "/etc/xen/install_kernels/cd-installer/vmlinuz"
ramdisk = "/etc/xen/install_kernels/cd-installer/initrd.gz"
builder='linux'
memory = 512
name = "Lucid-server-install"
disk = [ 'file:/home/barry/iso/ubuntu-10.04.3-server-amd64.iso,xvdc:cdrom,r',
'tap:aio:/xen-vm-fs/lucid-vm-disk,xvda,w' ]
root = "/dev/cdrom ro"

The kernel and initrd.gz are copied of the cd iso. In the disk statement I have 
tried hdc, hda, sda, sdc to no avail.
I have Googled, searched this list, the debian list, Ubuntu documentation and 
the Xen.org documentation and not found the answer. Can anyone spot where I've 
gone wrong? Please ask for more information or suggest how I can debug this 
problem. One more piece of information, this machine does not have a 
virtualization process so paravirtual is a must.

Thanks in advance for any help
Barry 

---------------------

You want to use the CD ISO as source, but not as boot object.

What I did is mount the ISO in a webroot (/var/www/), copy off the netboot 
vmlinuz and initrd.img and them as targets to 
xm create (kernel/ramdisk).

Now you are booting into a PV install using xm.

THis works very well and is fast.

-- 
Mark

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

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