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

Re: [Xen-users] centos 5.3 + jailtime.org



It was a initrd problem
I solve my problem with this
http://www.virtuatopia.com/index.php/A_Xen_Guest_OS_fails_to_boot_with_a_%22switchroot:_mount_failed:_No_such_file_or_directory_error_message%22_error_message.

but unfortunately i have still the blocked state ...


Fabien Murgues wrote:
> Fajar A. Nugraha wrote:
>> On Mon, Jun 29, 2009 at 2:51 PM, Fabien
>> Murgues<fabien.murgues@xxxxxxxxxxxxxxxxxx> wrote:
>>>> One way to make
>>>> jailtime.org images is by adjusting its kernel and initrd like this:
>>>> http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html
>>>>
>>> I try your link but I have problems at the beginning, the vi command is
>>> not installed and for the yum I have this :
>>>
>>> bash-3.2# yum -y install kernel-xen vim-enhanced grub
>>> IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
>> Assuming the domU is mounted on /mnt, you could simply run this before 
>> chrooting
>> cp /proc/cpuinfo /mnt/proc
>>
> yes it works for the yum update/.
> I follow the steps of
> http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html
> , when i launched everything seems ok but i have this, like it can't
> mount the root file system :
> 
> Creating root device.
> Mounting root filesystem.
> mount: could not find filesystem '/dev/root'
> Setting up other filesystems.
> Setting up new root fs
> setuproot: moving /dev failed: No such file or directory
> no fstab.sys, mounting internal defaults
> setuproot: error mounting /proc: No such file or directory
> setuproot: error mounting /sys: No such file or directory
> Switching to new root and running init.
> unmounting old /dev
> unmounting old /proc
> unmounting old /sys
> switchroot: mount failed: No such file or directory
> Kernel panic - not syncing: Attempted to kill init!
> 
> my domU fstab for the root :
> /dev/sda1   /   ext3 defaults 1 1
> 


-- 

Cordialement,
Fabien Murgues

Service Commun Documentation Saint Etienne
Informatique
23 rue Docteur Paul Michelon
42023 Saint Etienne Cedex 2

tél : 04 77 48 15 92
fax : 04 77 48 15 91

_______________________________________________
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®.