creat image for the new kernel


 
Thread Tools Search this Thread
Operating Systems Linux Debian creat image for the new kernel
# 1  
Old 04-24-2009
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
edited the entried in /boot/grub/menu.lst


Is it all what we have to do or something else.
# 2  
Old 06-02-2009
I installed kernel-package and use make-kpkg --initrd --rootcmd fakeroot kernel_image. No need to do anything else.

Last edited by Action; 06-02-2009 at 12:05 PM..
# 3  
Old 10-01-2009
I found this howto to be pretty ok.
Yet if you use grub, you can ignore the 'lilo' part. Also don't edit the menu.lst by hand (as it states itself) but instead run:
Code:
update-grub

Login or Register to Ask a Question

Previous Thread | Next Thread

9 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. UNIX for Advanced & Expert Users

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... (0 Replies)
Discussion started by: dr_mabuse
0 Replies

3. Programming

help me with perl script that creat pdf

Hi, I have one xml file, I extracted some comments and saved in pdf file.I written code like this #!/usr/bin/perl use warnings; use strict; use PDF::API2; use PDF::API2::Page; use XML::LibXML::Reader; use Data::Dumper; my $file; open( $file, 'formal.xml'); my $reader =... (1 Reply)
Discussion started by: veerubiji
1 Replies

4. 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

5. Solaris

creat flash archive

I want take a flash backup by flar command for specific files like: / , /boot, /tmp I am trying this command but its not working # flar -n archive1 -f /,/boot,/tmp -F -c /home/arc1.flar Please can any body help me __.____._ (2 Replies)
Discussion started by: kmuqalled
2 Replies

6. Shell Programming and Scripting

select particular column and creat a new file with comma

Hi all, I am very new in programming. Can anyone please help me in the matter below? I have one raw file like: gi|77|ref|NC_002971.3| Coxiella burnetii RSA 493, complete genome 6371 ATCGTGGTTGTGGTTCAT 5032 P 2 12 gi|71|ref|NC_005773.3| Pseudomonas syringae pv.... (4 Replies)
Discussion started by: iammitra
4 Replies

7. AIX

Creat a File with a Specific Size

Hi everybody, Is there a command that can create a new file with a specific size? Thanks in advance. (3 Replies)
Discussion started by: aldowsary
3 Replies

8. Programming

Creat-Crontab

Dear All, Please any send the idea and designing for creating the crontab in c Thank in advanced (2 Replies)
Discussion started by: dhinesh
2 Replies

9. Programming

how to creat 1 parent to call 3 children

hi there, im trying to produce this program that would run at first, and when it runs it will fork one child process to a program and then another forking to run this other program, and then another one . i cant seem to get it right can someone help me please here is what is got so far: int... (1 Reply)
Discussion started by: zmanultra
1 Replies
Login or Register to Ask a Question