Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading hardened-sources with kexec
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
opotonil
l33t
l33t


Joined: 17 Jun 2005
Posts: 781
Location: 127.0.0.1

PostPosted: Sun Jul 21, 2013 5:33 pm    Post subject: Loading hardened-sources with kexec Reply with quote

Is it possible?

I am trying to convert a Debian VPS (QEMU-KVM, Digital Ocean) to Gentoo Hardened but I am having problems with the Kernel. The one solution I have found is using kexec but after install kexec-tools, sets the Kernel name in /etc/conf.d/kexec, add kexec to boot run level and do a reboot the system not boot.

https://wiki.archlinux.org/index.php/Kexec
_________________
Localnet
Films Localnet
Back to top
View user's profile Send private message
defer-
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2007
Posts: 116
Location: Finland

PostPosted: Sun Jul 21, 2013 6:36 pm    Post subject: Reply with quote

Have you tried to run kexec manually?

Like this :
kexec -l /boot/3.10.0-gentoo --initrd=/boot/initramfs.img --reuse-cmdline
_________________
koti.kapsi.fi/deferi
Back to top
View user's profile Send private message
opotonil
l33t
l33t


Joined: 17 Jun 2005
Posts: 781
Location: 127.0.0.1

PostPosted: Sun Jul 21, 2013 6:55 pm    Post subject: Reply with quote

Yes, without intrd, on Gentoo Hardened I am using only the kernel with virtio not as module. And I have to checked both Kernels (Devian and Gentoo Hardened) has enabled kexec.
_________________
Localnet
Films Localnet
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum