Sponsored Content
Full Discussion: reload kernal without reboot
Operating Systems Linux reload kernal without reboot Post 83306 by Corona688 on Tuesday 13th of September 2005 10:40:09 PM
Old 09-13-2005
limits.conf is applied during login, not reboot afaik. So restarting the services rather than the whole computer ought to work.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reload Servlet in Tomcat

does anyone know how to reload servlet in tomcat? when do I actually reload it? when I modify any file in this server? (1 Reply)
Discussion started by: hamboy
1 Replies

2. UNIX for Dummies Questions & Answers

how to reload the shell session

Hi there, I got to find out that if I make changes in the prompt or command aliases from .bashrc, I could apply those changes immediately with the command: source ~/.bashrc There's another situation when I'd like to apply changes without loging out and in again: If I add someone to a group of... (2 Replies)
Discussion started by: chebarbudo
2 Replies

3. UNIX for Dummies Questions & Answers

Reload user crontab file

Hi Guys, Our user crontab files are located at /var/spool/cron/crontabs. I have to make some modifications to it. I have all the crontab entries in a file called 'crontab.actual'. I made changes to this file and now I want to reload these changes from the crontab.actual file to my crontab... (12 Replies)
Discussion started by: vandi
12 Replies

4. UNIX Desktop Questions & Answers

Automatic reload of Thunar

I am using Thunar on FreeBSD 7.1 and XFCE. I would like the thunar window to reload automatically when a file has been added or deleted. Currently I press Ctrl-R, but perhaps a setting that I dont know of will do this automatically? (0 Replies)
Discussion started by: figaro
0 Replies

5. Solaris

Kernal Parameters

Hi, Can you please let me know about kernal parameters? Where we can see that kernal parameters? we are using System = SunOS 5.10. Please let me know commands to see these kernal parameters file or files. (1 Reply)
Discussion started by: kancherla.sree
1 Replies

6. Red Hat

reload vsftp service

Is there a easy-to-use graphical tool (or a simple and direct set of command line instructions) that will help me reload services on Red Hat Enterprise Linux ES version 3? VSFTPD keeps dying on my business server - seemingly at random, with message "dead but subsys locked" VSFTPD starts and... (2 Replies)
Discussion started by: mdarby77
2 Replies

7. UNIX for Dummies Questions & Answers

Command to reload a zone

I just created a CNAME and i was told a zone needs to be reloaded after creating a CNAME. What is the command to reload a zone after the CNAME has been created? Thanks in advance (1 Reply)
Discussion started by: German Shepherd
1 Replies

8. AIX

Power5 9111-520 reload of AIX 6.1 - help needed

Hello all, I am hoping someone can point me in the right direction here. We had a machine running AIX 6.1 that someone completely corrupted, so we decided to re-load it from media. I was able to boot into DVD media, select options for complete (destructive) install, AIX standard, etc. The... (0 Replies)
Discussion started by: JamesNJ
0 Replies

9. What is on Your Mind?

Changed Forum Cookie Prefix (You May Need to Reload Your Cache)

Today we changed the prefix of our cookie and cleared the session table and all is working fine, at least on my end because I cleared my browser javascript cache. If you experience any strange behavior (you should not), please clear your javascript cache before posting a bug here. Note: I... (0 Replies)
Discussion started by: Neo
0 Replies

10. Shell Programming and Scripting

[ksh] how to reload history file without entering a command

I'm basically looking for the ksh equivalent of bash's PROMPT_COMMAND="history -r", where simply redrawing the command prompt in a terminal will cause ksh to reload the history file. At the risk of sounding incredibly lazy (in which case I would be guilty as charged), I've noticed that if I have... (13 Replies)
Discussion started by: DevuanFan
13 Replies
kexec(8)							   User Manuals 							  kexec(8)

NAME
kexec - directly boot into a new kernel SYNOPSIS
/sbin/kexec [-v (--version)] [-f (--force)] [-x (--no-ifdown)] [-l (--load)] [-p (--load-panic)] [-u (--unload)] [-e (--exec)] [-t (--type)] [--mem-min=addr] [--mem-max=addr] DESCRIPTION
kexec is a system call that enables you to load and boot into another kernel from the currently running kernel. kexec performs the func- tion of the boot loader from within the kernel. The primary difference between a standard system boot and a kexec boot is that the hardware initialization normally performed by the BIOS or firmware (depending on architecture) is not performed during a kexec boot. This has the effect of reducing the time required for a reboot. Make sure you have selected CONFIG_KEXEC=y when configuring the kernel. The CONFIG_KEXEC option enables the kexec system call. USAGE
Using kexec consists of (1) loading the kernel to be rebooted to into memory, and (2) actually rebooting to the pre-loaded kernel. To load a kernel, the syntax is as follows: kexec -l kernel-image --append=command-line-options --initrd=initrd-image where kernel-image is the kernel file that you intend to reboot to. Insert the command-line parameters that must be passed to the new kernel into command-line-options. Passing the exact contents of /proc/cmdline into command-line-options is the safest way to ensure that correct values are passed to the rebooting kernel. The optional initrd-image is the initrd image to be used during boot. It's also possible to invoke kexec without an option parameter. In that case, kexec loads the specified kernel and then invokes shut- down(8). If the shutdown scripts of your Linux distribution support kexec-based rebooting, they then call kexec -e just before actually rebooting the machine. That way, the machine does a clean shutdown including all shutdown scripts. EXAMPLE
For example, if the kernel image you want to reboot to is /boot/vmlinux, the contents of /proc/cmdline is root=/dev/hda1, and the path to the initrd is /boot/initrd, then you would use the following command to load the kernel: kexec -l /boot/vmlinux --append=root=/dev/hda1 --initrd=/boot/initrd After this kernel is loaded, it can be booted to at any time using the command: kexec -e OPTIONS
-e (--exec) Run the currently loaded kernel. Note that it will reboot into the loaded kernel without calling shutdown(8). -f (--force) Force an immediate kexec call, do not call shutdown(8) (contrary to the default action without any option parameter). This option performs the same actions like executing -l and -e in one call. -h (--help) Open a help file for kexec. -l (--load) kernel Load the specified kernel into the current kernel. -p (--load-panic) Load the new kernel for use on panic. -t (--type=type) Specify that the new kernel is of this type. -u (--unload) Unload the current kexec target kernel. If a capture kernel is being unloaded then specify -p with -u. -v (--version) Return the version number of the installed utility. -x (--no-ifdown) Shut down the running kernel, but restore the interface on reload. (If this option is used, it must be specified last.) --mem-min=addr Specify the lowest memory address addr to load code into. --mem-max=addr Specify the highest memory address addr to load code into. SUPPORTED KERNEL FILE TYPES AND OPTIONS
Beoboot-x86 --args-elf Pass ELF boot notes. --args-linux Pass Linux kernel style options. -d (--debug) Enable debugging messages. --real-mode Use the kernel's real mode entry point. elf-x86 --append=string Append string to the kernel command line. --command-line=string Set the kernel command line to string. --reuse-cmdline Use the command line from the running system. When a panic kernel is loaded, it strips the crashkernel parameter automati- cally. The BOOT_IMAGE parameter is also stripped. --initrd=file Use file as the kernel's initial ramdisk. --ramdisk=file Use file as the kernel's initial ramdisk. bzImage-x86 --append=string Append string to the kernel command line. --command-line=string Set the kernel command line to string. --reuse-cmdline Use the command line from the running system. When a panic kernel is loaded, it strips the crashkernel parameter automati- cally. The BOOT_IMAGE parameter is also stripped. --initrd=file Use file as the kernel's initial ramdisk. --ramdisk=file Use file as the kernel's initial ramdisk. --real-mode Use real-mode entry point. multiboot-x86 --command-line=string Set the kernel command line to string. --reuse-cmdline Use the command line from the running system. When a panic kernel is loaded, it strips the crashkernel parameter automati- cally. The BOOT_IMAGE parameter is also stripped. --module=mod arg1 arg2 ... Load module mod with command-line arguments arg1 arg2 ... This parameter can be specified multiple times. ARCHITECTURE OPTIONS
--console-serial Enable the serial console. --console-vga Enable the VGA console. --elf32-core-headers Prepare core headers in ELF32 format. --elf64-core-headers Prepare core headers in ELF64 format. --reset-vga Attempt to reset a standard VGA device. --serial=port Specify the serial port for debug output. --serial-baud=baud_rate Specify the baud rate of the serial port. Linux April 2006 kexec(8)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy