[rsbac] Gentoo / RSBAC / Encrypted Root / Unmount fails
Arkady A Drovosekov
drawa at suct.uu.ru
Wed Jul 12 08:39:33 CEST 2006
On Tue, Jul 11, 2006 at 11:33:04AM +0200, Michael Decker wrote:
did you try without that crap in script? Sure initrd will left mounted...
> # Start init and flush ram device exec
> chroot . /bin/sh <<- EOF >/dev/console 2>&1
> umount initrd
> rm -rf initrd
> blockdev --flushbufs /dev/ram0
> exec /sbin/init ${CMDLINE}
> EOF
> --- SNIP ---
> Kernel command line: root=/dev/ram0 rw init=/linuxrc rsbac_softmode
> console=ttyS0,57600 console=tty0
> --- SNAP ---
what's the boot loader?
example for grub:
title=ver 6
kernel= (hd0,0)/boot/vmlinuz root=/dev/hda1
initrd= (hd0,0)/v6.img
--
Best regards,
Arkady
More information about the rsbac
mailing list