On Sun, Apr 5, 2009 at 5:21 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Sun, Apr 5, 2009 at 9:23 PM, Rudi Ahlers <rudiahlers@xxxxxxxxx> wrote:
>> Hi all,
>> How can I boot a XEN domU guest into safe mode?
> When using pygrub, start the guest with "xm create -c" or "xm start
> -c", and you can edit the grub menu to add "single".
> If the domU is using kernel and initrd from dom0, you should be able
> to add "extra=single" on domU config file.
>> /sbin/init: error while loading shared libraries: libselinux.so.1:
>> cannot open shared object file: No such file or directory
>> Kernel panic - not syncing: Attempted to kill init!
> As Stefan said, it might be easier to check for the missing file by
> fsck and mounting domU's filesystem from dom0. Be sure to do this ONLY
> while domU is stopped though. If it was indeed missing, then most
> likely you're experiencing a serious problem and the missing file is
> just the tip of the iceberg. I highly suggest you call a Linux expert
> to help fix the problem.
> If you insist on restoring the file manually, you need to know :
> - which packages were damaged, what version (something like "rpm -V"
> and "rpm -qa" on chroot or single mode)
> - get the original package.
> - extract it and copy the missing package
> If you don't know how to perform the above steps, it would be easier
> to simply create a new domU and copy data from the old one.
Thanx for the tip, but unfortunately the VPS was beyond repair, and I
had to recreate it from scratch.
Xen-users mailing list