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] iSCSI root on Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] iSCSI root on Dom0
From: "Joe Royall" <joenukem@xxxxxxxxx>
Date: Mon, 31 Mar 2008 17:04:08 -0400
Delivery-date: Mon, 31 Mar 2008 14:04:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=wOGcX7MNYkKZfbh1sZWoi/Mo73TnvOGYpDOz6KDJLZw=; b=aafBzibo0vWswB7y8dErAoNWUsGdbCE7z7v+8Zsg89O0fM9+Zys0R4hQ2gxXkiq0guMzRssBFIcvvoiJA2OggXiX/F0pu4K6Ntm9+B1nTUt5e3vTYivKZWQhepHZ8/bkHi5AqGxOebAmtMuQEjcdd3vWlO3NUk/qqPDhf4sx3wk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KMgyMCI+oFjhseMoEnQCsJQq8gfHquWH3zOrsSrweOvpfnY1OY1uaR7sqvFE1NzeMNrtRavifkC0cVhEZovZrs1c0k7y/HiQqV1tK2lPEAzFKZWVU2qFCRJLZycaBnAtz6DLRp+axQNXYJ2drkE7jRKbkcPgun1AQGWJHBuvqKk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080331205707.GA30189@xxxxxxxxxxxxxxxxxxx>
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: <bb0fa5d0803311351w5badf0b4u9b5a6dd4bc4fca25@xxxxxxxxxxxxxx> <20080331205707.GA30189@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
when anaconda installs a system it creates a initrd with an init script is its root.  The last statement is 'switchroot'  I think it is pulling the 'ro' from my kernel command line.  I have tried mucking with the command line all day and will see a variety of errors. 

man nash says

       switchroot newrootpath
              Makes  the  filesystem  mounted  at  newrootpath  the  new  root
              filesystem by moving the mountpoint.  This will only work in 2.6
              or later kernels.

I am guessing its like a chroot

Like I said earlier, this config works perfectely with the noxen config and the init script is excactly the same in both initrds.  However, pxe works a little different with xen

BTW this is the x86_64

On Mon, Mar 31, 2008 at 4:57 PM, Maximilian Wilhelm <max@xxxxxxxxxxx> wrote:
Am Monday, den 31 March hub Joe Royall folgendes in die Tasten:

[...]
> Switching to new root and running init
> #/bin/sh ro no such file or directory

[...]
> attached is the anaconda generated init inside initrd.

What type of file in 'switchroot' called at the end of init?
I would guess it's a shell script.
I guess further that it somehow fiddles around with the kernel
parameters ('ro') and that it would expect something diffent there...

So if I'm right with the first guess, can you post the contents of the
script here?

Ciao
Max
--
       Follow the white penguin.

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



--
Joe Royall
407-401-2007
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>