You are not logged in.

#1 2015-01-04 03:21:10

mweinelt
Member
Registered: 2013-03-20
Posts: 3

[SOLVED] linux-grsec does not mount rootfs (was: typo)

Hello,

I have an issue with linux-grsec from community, which does correctly detect my cryptsetup root container but after unlocking will not mount it, and thus not boot.

Here is my setup:

mkinitcpio.conf

MODULES="i915 crc32c-intel"
BINARIES=""
FILES=""
HOOKS="base udev autodetect modconf block encrypt filesystems keyboard fsck"
COMPRESSION="xz"

syslinux.cfg (normal + grsec options)

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/mapper/crypto-root cryptdevice=/dev/sda2:crypto-root rw acpi_osi="!Windows 2012"
    INITRD ../initramfs-linux.img

LABEL archgrsec
    MENU LABEL Arch Linux (grsecurity)
    LINUX ../vmlinuz-linux-grsec
    APPEND root=/dev/mapper/crpyto-root cryptdevice=/dev/sda2:crypto-root rw acpi_osi="!Windows 2012" nopcid pax_softmode=1
    INITRD ../initramfs-linux-grsec.img

I have two images from the boot process, to clarify where I'm stuck at.

http://i.imgur.com/Ex6HZMj.jpg
http://i.imgur.com/xTCaQj5.jpg

I can mount /dev/mapper/crypto-root and access my rootfs from that console manually.

What to do to fix this?

Last edited by mweinelt (2015-01-04 12:59:11)

Offline

#2 2015-01-04 08:23:32

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [SOLVED] linux-grsec does not mount rootfs (was: typo)

I saw another topic like yours. See if it has something to help you out.
Some time is useful to check here

Last edited by TheSaint (2015-01-04 08:24:05)


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2015-01-04 12:44:55

mweinelt
Member
Registered: 2013-03-20
Posts: 3

Re: [SOLVED] linux-grsec does not mount rootfs (was: typo)

There does not seem anything meaningful for me in the topic you linked. I'm using syslinux not grub/gummiboot, and I don't use EFI/SecureBoot. I used the search function but it is pretty scarce when it comes to the grsecurity patched kernel.

Everything works fine with the standard kernel. It is just linux-grsec that does not mount my rootfs.

Offline

#4 2015-01-04 12:56:00

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [SOLVED] linux-grsec does not mount rootfs (was: typo)

Hah; there is a typo in your fstab, search for crpyto wink

Last edited by Spider.007 (2015-01-04 12:56:07)

Offline

#5 2015-01-04 12:58:57

mweinelt
Member
Registered: 2013-03-20
Posts: 3

Re: [SOLVED] linux-grsec does not mount rootfs (was: typo)

Oh wow, thank you. I did not see that.

It is booting up fine now, marking this as solved.

Offline

Board footer

Powered by FluxBB