You are not logged in.

#1 2015-01-07 09:27:34

man0riaX
Banned
Registered: 2014-05-05
Posts: 11

[solved] Getting linux-grsec to run on VPS

Hello everyone,

I am currently running an Arch Linux VPS and want to get linux-grsec to work properly. The problem is that the VPS will not boot into linux-grsec[1].

I use syslinux as a boot loader, here is the relevant portion of syslinux.cfg:

LABEL arch grsec
        MENU LABEL Arch Linux (grsec)
        LINUX ../vmlinuz-linux-grsec
        APPEND root=/dev/vda2 ro
        INITRD ../initramfs-linux.img

LABEL arch
        MENU LABEL Arch Linux
        LINUX ../vmlinuz-linux
        APPEND root=/dev/vda2 ro
        INITRD ../initramfs-linux.img

I already tried using nopcid in the kernel line, as this seemed to help some other folks, but it is the same error, then.

Here are the HOOKS in mkinitcpio:

HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

If anyone knows how to fix this, I would be grateful. smile

Thanks!

Phil

[1] https://imgur.com/6kCpieQ

Last edited by man0riaX (2015-01-07 09:58:53)

Offline

#2 2015-01-07 09:51:17

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [solved] Getting linux-grsec to run on VPS

The linux-grsec kernel should have it's own initramfs images named initramfs-linux-grsec.img and initramfs-linux-grsec-fallback.img in /boot (or something with grsec in the name with file extension .img). You want to be using these instead of the initramfs image for the standard ARCH kernel.

Last edited by clfarron4 (2015-01-07 09:52:01)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2015-01-07 09:58:30

man0riaX
Banned
Registered: 2014-05-05
Posts: 11

Re: [solved] Getting linux-grsec to run on VPS

Oh boy. Thank you. smile

Offline

Board footer

Powered by FluxBB