WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] how to boot domU XEN guest in safe mode?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tlxZ+8LALbXmUBlbIWSDNcaY/8b3G5kcfR+ea4/sZN8=; b=R4zb0WFDyYbwiCux94APmGKiScUNfoygGGUbQx/xHxnW3iu4K9Hhz6lyq/sj1GZzRl 5g9yG7Dm4iINHAONR0A2foFgxKs7LhUG+uKSJdeK7oHjs/U09mnF66NkcqEmtzk4F994 R0+ACn2yPxW6RX37RhmsslzYTx+De6tiye5iE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0904050821p7dd33dabs60007e60a8719f47@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <695200da0904050723m35b3d176l1a8414823be16b70@xxxxxxxxxxxxxx> <7207d96f0904050821p7dd33dabs60007e60a8719f47@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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