|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] iSCSI root on Dom0
 
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |