[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
Johnny Hughes
johnny at centos.org
Fri May 6 11:50:26 UTC 2016
On 05/06/2016 06:46 AM, Nicolas Kovacs wrote:
> Le 06/05/2016 11:13, Nicolas Thierry-Mieg a écrit :
>> you're probably removing too many packages, eg some key package is a dep
>> of MINIMAL but not in MINIMAL, and "yum remove" removes it and all its
>> dependants.
>> Maybe add "yum install $MINIMAL" after your yum remove command.
>> Or replace yum remove with "rpm -e" to see if and who in $SUPPRIMER has
>> deps in MINIMAL.
>
> I gave it another spin, this time with rpm -e $SUPPRIMER. Got no error
> messages, rpm -e simply wiped all non-essential packages. So I don't
> think the problem comes from some removed minimal package.
>
> This time I activated startup messages. Booting gets stuck right after
> mounting /boot. I'll try to reproduce it, since I can't copy/paste it.
>
> [ OK ] Mounted /boot.
> [ TIME ] Timed out waiting for device
> dev-mapper-centos_amandine\x2dhome.device.
> [DEPEND] Dependency failed for /home.
>
> And then quite a few lines, and booting into emergency mode.
>
> Any suggestions?
>
> Niki
>
Maybe add a:
yum groupinstall core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20160506/ce6baf48/attachment.sig>
More information about the CentOS
mailing list