transfering kernel image to another system


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users transfering kernel image to another system
# 1  
Old 03-02-2012
transfering kernel image to another system

my server system is low on disk. To install a new kernel I think i shall do the following:

1. compile the kernel on another system.
2. copy bzImage along with config, System.map and of course the laodable module in /lib/modules and transfer them to the server.

3. Now, I can remove the server's old kernel to free up the space and put the the files in /boot as well as copying loadable modules to

no,... this is not the way, this way I need to make the drivers the image as well. There's another way, in ubuntu I can make .deb files of the headers and the linux, if I transfer only those two files to the server, I think i can install the new kernel using dpkg. what do you think?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Create a bootable PXE image from build kernel source code

Hi, Can i just ask how I can create a bootable PXE image from the built kernel source. What files do I need to get? Thanks! (1 Reply)
Discussion started by: h0ujun
1 Replies

2. Red Hat

Need help to create netboot image for EL6 kernel

We use netboot to boot our RedHat Linux kernels. We usually use mknbi tool to create netboot image from Red Hat Linux kernel. However, I can't get this to work with the new Red Hat EL6 kernel. One online document I found seems to say mknbi should not be used for Linux 2.6 or newer kernels any... (1 Reply)
Discussion started by: jyao02459
1 Replies

3. UNIX for Advanced & Expert Users

System Image of Unix

Hi, Is there any inbuild tool or software through which we can take system image of any unix system? Please suggest. Regards, Ravi D (9 Replies)
Discussion started by: dwiravi
9 Replies

4. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

5. Debian

creat image for the new kernel

Hello friends, I have compiled the kernel . But now i am facing the problem as to how we can create the initrd.img for the specific kernel. I was compiling the 2.6.29 kernel. to create initrd.img for 2.6.29 what i did is : cd /boot mkinitramfs-kpkg -o initrd.img-2.6.29 2.6.29... (2 Replies)
Discussion started by: pradeepreddy
2 Replies

6. Solaris

Create an ISO image of whole system

Hi All, Please help me with this. My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ? My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies

7. Linux

error while retrieving image using system imager

This is the error that I am getting while retrieving image from image server using system imager.... Listening on LPF/lo/<null> sending on Socket/fallback/fallback-net DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on lo to 255.255.255.255 port 67 interval5... (1 Reply)
Discussion started by: nitesh_tarbani
1 Replies
Login or Register to Ask a Question
kvar(8) 						      System Manager's Manual							   kvar(8)

Name
       kvar - modify RISC kernel variables in memory or on disk

Syntax
       /usr/etc/kvar -r(b|w|l) [options] vmunix
       /usr/etc/kvar -w(b|w|l) [options] vmunix

Description
       The  command  allows you to read or write RISC kernel variables, either in the on-disk image of or the active in-memory image.  The -r form
       of the command does variable reads; the -w form does variable writes.  The variable length qualifiers are:  b  (1  byte),  w  (word,  or  2
       bytes), and l (longword, or 4 bytes).

       Variable contents are displayed in hexadecimal format.

Options
       -a address  Specifies  the  address  of	the  kernel  variable.	Either the -a or -s option must be specified.  The address is specified as
		   either a positive decimal or hexadecimal constant.

       -k	   Instructs to use the in-memory image of The default is to use the on-disk copy.

       -l	   Searches for a local symbol. The default is a global symbol search.

       -o offset   Adds an offset to the address (or address of the symbol name).  The offset value is specified as either a positive  decimal	or
		   hexadecimal constant.

       -s name	   Specifies the name of the kernel variable.

       -v value    Specifies  the  new value to be assigned by the -w form of The -v option is ignored if the -r form of is being used.  The value
		   is specified as either a positive decimal or hexadecimal constant.

Restrictions
       You must have appropriate file access permissions for (and for with the -k option).

       The command is available only on RISC systems.  For VAX systems, use to modify kernel variables.

Examples
       This example reads the variable `udpcksum' from the running kernel image:

	    % kvar -k -rl -s udpcksum /vmunix

       This example sets the `xyz' variable to zero in the running kernel image:

	      % kvar -k -wl -s xyz -v 0 /vmunix

       This example sets the variable `xyz' to -1 in the on-disk image of making this value persistent across reboots:

	      % kvar -wl -s xyz -v 0xffffffff /vmunix

       This example sets to zero 1 byte at offset 2 from address 0x80161a98 in the running kernel image:

	      % kvar -k -wb -o 2 -a 0x80161a98 /vmunix

Files
See Also
       adb(1), dbx(1)

								       RISC								   kvar(8)