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

Re: [Xen-users] iSCSI root on Dom0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Joe Royall" <joenukem@xxxxxxxxx>
  • Date: Mon, 31 Mar 2008 17:04:08 -0400
  • Delivery-date: Mon, 31 Mar 2008 14:04:41 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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