You are not logged in.

#1 2014-05-14 05:37:52

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

linux-grsec kernel installation

Hi,

According to page https://wiki.archlinux.org/index.php/grsecurity i installed linux-grsec package in the official repositories (community).

Please, advice, what next steps to load it, because seems it is not added to grub.cfg automatically in any way, and if i try use grub-mkconfig -o /boot/grub/grub.cfg - after reboot i have error:

INIT: No inittab file found

Thank you

Offline

#2 2014-05-14 07:18:55

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: linux-grsec kernel installation

The kernel is placed as /boot/vmlinuz-linux-grsec . I'm surprised grub2 is not picking this up. It should be visible as 3.14.4-1-grsec. Furthermore, it seems that mkinitcpio is configured to handle this specific kernel as well.

The fact that grub-mkconfig gives you an error is rather surprising. Could you post the resulting grub.cfg after you did the grub-mkconfig?

The error 'INIT: No inittab file found' indicates you are still using sysvinit or still have it installed alongside systemd (don't know if that is possible). If you are still using sysvinit, then it's time to upgrade to systemd. Inittab is replaced by .target files in /usr/lib/systemd/system . And the default target is defined by the symlink /usr/lib/systemd/system/default.target pointing to another 'real' target.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB