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
NEW-KERNEL-PKG(8)					      System Manager's Manual						 NEW-KERNEL-PKG(8)

NAME
new-kernel-pkg - tool to script kernel installation SYNOPSIS
new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] [--dracut] [--initrdfile=initrd-image [--depmod] [--rmmoddep] [--kernel-args=args] [--remove-args=args] [--banner=banner] [--multiboot=multiboot] [--mbargs=mbargs] [--make-default] [--add-dracut-args] [--add-plymouth-initrd] [--host-only] <--install | --remove | --update | --rpmposttrans> <kernel-version> DESCRIPTION
new-kernel-pkg is a tool used in packaging to automate the installation of a new kernel, including the creation of an initial ram filesys- tem image, updating of bootloader configuration, and other associated tasks. OPTIONS
-v Be verbose. --mkinitrd Create a new initial ram filesystem image. --rminitrd Remove an initial ram filesystem image. --dracut When creating a new initial ram filesystem image, use dracut(8) rather than mkinitrd(8). Used in conjunction with --mkinitrd . --initrdfile=initrd-image Use the specified file as the initial ram filesystem image. --depmod Create modules.dep and related files. --rmmoddep Remove modules.dep and related files. --kernel-args=args Use args as the boot command line for this kernel. --remove-args=args Remove specified kernel arguments for this kernel. --banner=banner Display banner as the banner text in the bootloader. --multiboot=multiboot-image Use multiboot-image as a multiboot image. --mbargs=mbargs Use mbargs as arguments to the multiboot image. --make-default Make this kernel the default boot option. --add-dracut-args Automatically generate dracut options and add them to the kernel command line. --add-plymouth-initrd Automatically add plymouth to the initial ram filesystem image. --host-only Make an initial ram filesystem image that is specific to the running system. --install kernel-version Install a new kernel. --remove kernel-version Remove an installed kernel. --update kernel-version Update the specified kernel. --rpmposttrans kernel-version Run the rpmposttrans for the specified kernel. SEE ALSO
grubby(8) installkernel(8) AUTHORS
Erik Troan Jeremy Katz Peter Jones Wed Apr 14 2010 NEW-KERNEL-PKG(8)