[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

Nicolas Kovacs info at microlinux.fr
Fri May 6 11:46:04 UTC 2016


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

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32



More information about the CentOS mailing list