Could I get the initrd.img file without recompile the kernel?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Could I get the initrd.img file without recompile the kernel?
# 1  
Old 11-12-2011
Could I get the initrd.img file without recompile the kernel?

Hi, all:

The vmlinuz-3.0.4.old is a kernel previous to the current running kernel vmlinuz-3.0.4 which is compiled the most currently. Could I get the initrd.img-3.0.4.old without recompile under the condition that the config-3.0.4.old, System.map-3.0.4.old and vmlinuz-3.0.4.old exist? if it can, what and how should I do?


thanks!
li,kunlun
# 2  
Old 11-12-2011
Is there even any difference between the two? It's the same revision of the kernel...

You can put anything you want in an initrd. Whether they're different or not, and what gets put in it, and what you need to build it, depends entirely on how they were created.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Recompile the kernel after applying a patch in Ubuntu.

I have applied a patch using this command: patch -p1 < (file) then I did git commit -a. Now I want to recompile the kernel for making this patch live. Should I use make oldconfig or make localmodconfig After that, make -j$(grep -c "processor" /proc/cpuinfo) sudo make... (1 Reply)
Discussion started by: BHASKAR JUPUDI
1 Replies

2. Red Hat

help about qemu-kvm boot with initrd

I used the redhat RHEL6 boot with initrd but it failed, can sb help me # /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 1024 -net nic,model=virtio -net tap,script=/etc/qemu-ifup -initrd /boot/initramfs-2.6.32-279.el6.x86_64.img -kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 -append "root=/dev/ram... (4 Replies)
Discussion started by: yanglei_fage
4 Replies

3. UNIX for Dummies Questions & Answers

.IMG file help!!!

I've been trying to create an IMG file for the past week with no success. I've tried using: dd if=/dev/zero of=myimage.img bs=512 count=2880 mke2fs myimage.img mkdir /media/mount_point mount -o loop myimage.img /media/mount_point cp -aR <file> /media/mount_point umount /media/mount_point ... (30 Replies)
Discussion started by: neur0n
30 Replies

4. Linux

What's role of swap in initrd?

Hello, I want to know why initrd need swap for work. In the shell of mkinitrd, it look for the swap partation for "swsuspdev", then write a sentence "resume /dev/sdXX" in the file init from initrd.gz, and the /dev/sdXX is the swap partation. Why initrd need swap when it boot a system? what is... (4 Replies)
Discussion started by: ZR_Lang
4 Replies

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

6. Red Hat

Fedora installation getting stuck in initrd.img

I have a 80GB hard disk with WinXP already installed.I had tried installing Fedora 10 earlier without creating new partitions(real foolish and ignorant of me :o:o ) and tried creating partitions using Fedora10 bootable.It didnt work.Then I created a free partition and again tried installing... (4 Replies)
Discussion started by: ganesh.k28
4 Replies

7. BSD

kernel fail to boot after recompile it

Salamo Alikom after recompilation my kernel does not boot and display msg said : enter full path to bash : /bin/sh i try fsck -r ,fsck -y but the problem is steel . my make.conf : PERL_VER=5.8.8 OVERRIDE_LINUX_BASE_PORT=f8 PERL_VERSION=5.8.8 MODULES_OVERRIDE = linux acpi accf_http pccard msdosfs... (1 Reply)
Discussion started by: SIFE
1 Replies

8. Solaris

Is it possible to recompile the kernel or any userland on Solaris

Hi I am a FreeBSD user Just want to know is it possible to recompile kernel or any other userland in Solaris 10 or OpenSolaris? I want check out this UNIX OS which has Flash 9 support :D (2 Replies)
Discussion started by: weinter
2 Replies

9. UNIX for Dummies Questions & Answers

kernel and initrd on machine with little amount of RAM

(rus cp1251) Вобщем смысл поста такой: я пытаюсь сделать Linux на дискетке и всё это опробовать на 386... =D поскольку памяти там мало, а ядро и initrd вроде как зажаты, я хотел бы узнать а) я сделал ядро (bzImage) оно 600 Кб. оно в памяти займёт 600 Кб или оно ещё разожмётся? б) аналогично с initrd. и ещё: он вроде 4МБ а можно в параметрах ядра сделать поменьше, можно-ли в 1-2МБ памяти уместить initrd и ядро? (eng) i am try to make linux on diskette and run it on i386... =D there are... (0 Replies)
Discussion started by: MR.Z
0 Replies

10. Linux

initrd

ok, I'm trying to roll an initrd from scratch for learning purposes. I'm using cramfs for the filesystem so that I can modularize ext2 and ext3. The initrd has the modules required for ext3, a static insmod, a statis 'ash', static pivot_root, and a linuxrc that mounts the needed root partition... (0 Replies)
Discussion started by: thmnetwork
0 Replies
Login or Register to Ask a Question