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, 9 years and 112 days ago. Viewed 4,929 times. #2
[diff] [history] [edit] [rdf]


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.          ***


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: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt