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

Re: [Xen-users] how to boot domU XEN guest in safe mode?


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Rudi Ahlers <rudiahlers@xxxxxxxxx>
  • Date: Mon, 6 Apr 2009 07:12:03 +0200
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sun, 05 Apr 2009 22:12:49 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tGCNyTqSC7hvzWyr71LpyyuRaU3A4mRYxhwCJ1b+kUJsNxpeTcWNgQ/ftu8G/RZND/ 4Yp3aYuznLifNQtpJyM93OYOmlcp6htQ7byDJwJsfFzhnK+RekDEYfxVdmajAJKFQ86i g3ScbnY/Z7DW1jXmqaOy7FNe5Fu2XP8BcI7MM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.
>
> Regards,
>
> Fajar
>

Hi Fajar,

Thanx for the tip, but unfortunately the VPS was beyond repair, and I
had to recreate it from scratch.

-- 

Kind Regards
Rudi Ahlers

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