[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: installing a new domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Fred Blaise <chapeaurouge@xxxxxxxxx>
  • Date: Tue, 18 Oct 2005 10:45:22 +0200
  • Delivery-date: Tue, 18 Oct 2005 08:42:57 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e0UgSE9l30o8v6yrHps/KBwdb827nKDg1kpFuexKEctmH0DqvEXYeYZ3kpwGarzAD1UwiWoXiZ6yyCOtJzOsx2DnOhXi2Qyo2IcXGi4glxRAq9z0cDGPeEY060Eodv1RxSc96uWKwFC/FFgE0PdA7XKNPpXmXNcUeg6+TEIIbok=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 10/18/05, Fred Blaise <chapeaurouge@xxxxxxxxx> wrote:
> Hi all
>
> I have a stupid question...
>
> How do you actually install a new OS inside a new domainU ?
> I assumed it'd be vmware like, meaning, given the following config:
>
> kernel = "/boot/vmlinuz-2.6.12-xenU"
> memory = 512
> name = "oes1"
> disk = [ 'phy:vgdata/lv_xen_oes1,hda1,w' ]
> disk = [ 'phy:md2,hda2,w' ]
> dhcp="dhcp"
> root = "/dev/hda1 ro"
> extra = "4"

I got a little farther doing this:

disk = [ 'phy:hdd,hdd,r' , 'phy:vgdata/lv_xen_oes1,hda1,w' , 'phy:hda5,hda2,w' ]
where hdd is my cdrom device, lv_xen_oes1 the /, and hda2 my swap
space.. but i still get this:

Freeing unused kernel memory: 152k freed
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

>
> and starting it like 'xm create oes1 -c', the console opens, sees
> nothing (lv_xen_oes1 is empty), it would prompt me to install the new
> OS..
>
> But since I get a
> VFS: Cannot open root device "hda1" or unknown-block(2,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
>
> I am assuming there needs to be something on it before I start the
> domain? In that case, how do I install a new OS inside that domain?
>
> Thanks a lot for pointing me to relevant documentation, or answering
> this stupid question.
>
> fred
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.