For When You Can't Have The Real Thing
[ start | index | login ]
start > RedHat > Enterprise > 4 > P2V Hangs On SELinux Relabel

P2V Hangs On SELinux Relabel

Created by dave. Last edited by dave, 14 years and 93 days ago. Viewed 7,024 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Problem

RedHat Enterprise Linux 4, no updates. P2V (physical to virtual) conversion into VMware (ESXi 3.5, but this bug is RedHat dependent not VMware dependent). On first boot of the virtual node, the boot stops with:

*** Warning -- SELinux relabel is required. ***
*** Disabling security enforcement.         ***
*** Relabeling could take a very long time, ***
*** depending on file system size.          ***

Solution

See >>this Red Hat bug for discussion on what is going on.

I booted my VM from a rescue CD ISO, mounted the root directory, and:

# cd /mnt/local
# rm -f .autorelabel

Once this is done you may want to consider upgrading your VM to more -current that has this fixed.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt