Re: Reloading the kernel with kexec before other services start

2014-11-19 Thread Mario Castelán Castro
This is a virtual machine whose bootloader is bypassed. GRUB is ignored completely, so I can't modify it to pass kernel options. That's why I need to use kexec. At any rate, thanks you very much for the quick reply!. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a sub

Reloading the kernel with kexec before other services start

2014-11-19 Thread Mario Castelán Castro
Hello. I need to reload the same kernel that the machine boots with with kexec, in order to specify different kernel parameters. Changing the boot loader is unfortunately not an option. I'm using Debian Wheezy with sysvinit. I can make a script to kexec the kernel just once (avoiding loops),

Re: Reloading the kernel with kexec before other services start

2014-11-19 Thread Scott Ferguson
On 20/11/14 10:43, Mario Castelán Castro wrote: > This is a virtual machine whose bootloader is bypassed. GRUB is ignored > completely, so I can't modify it to pass kernel options. That's why I > need to use kexec. Then I'd suggest you:- ;try the reboot method - warm reboot and kexec should allow

Re: Reloading the kernel with kexec before other services start

2014-11-19 Thread Scott Ferguson
On 20/11/14 10:36, Mario Castelán Castro wrote: > Thanks for the answer. > > If I understand correctly, your suggestions take effect when restarting > the machine. I'm looking for something that takes effect when starting up. Simpler - add an extra GRUB entry. My apologies for the confusion (I've

Re: Reloading the kernel with kexec before other services start

2014-11-19 Thread Scott Ferguson
On 20/11/14 10:00, Mario Castelán Castro wrote: > Hello. > > I need to reload the same kernel that the machine boots with with kexec, > in order to specify different kernel parameters. Changing the boot > loader is unfortunately not an option. > > I'm using Debian Wheezy with sysvinit. I can make