08-11-2017
It is certainly not archiving the contents of /proc. It's important that the dir exists and has the right permissions.
It might archive a tiny, minimal portion of /dev - just basic device files like /dev/console necessary for a system to boot.
Mostly, I think, what's happening is tricking it into building it from the given kernel instead of the running one.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I just download FreeBSD LiveCD and burn it to the CDROM (Because I want to learn UNIX). But when I boot the computer from the CDROM, it display the username and password. I type "root" and the password blank. But it does not allow me to login. I try many user name and password that I guest but... (3 Replies)
Discussion started by: 012633023
3 Replies
2. Debian
What's the correct way to change the initramfs file that's used during boot?
I know that it's a gzipped cpio archive, but when I gunzip, extract, re-archive (without changing any files), and gzip, then the result is that the system does not boot any more. And I even set the cpio archive type.
... (18 Replies)
Discussion started by: frankie06
18 Replies
3. Linux
Is there a patch available to support initramfs on the 2.4 kernel? We can't upgrade to 2.6 for legacy purposes. All I found on google were early references to how initramfs is better than the 2.4 initrd.
Thanks much! (0 Replies)
Discussion started by: amoeba
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies
5. UNIX for Dummies Questions & Answers
hey,
I am build an operating system but i cant seem to get it to boot. I am using GRUB as the boot loader, but I'm not sure if I have all the files need, on the CD, to load the operating system. So can anyone tell me what files I need in order for GRUB to load my OS.
P.S. The OS is neither... (1 Reply)
Discussion started by: neur0n
1 Replies
6. Debian
Long story short, I had a ps3 with both Lenny and Sid repositories. Knowing this is a bad idea and that Lenny is being deprecated I decided I wanted to move everything to Sid. I changed my repos and ran apt-get-update, upgrade, dist-upgrade. Had one warning during the apt-get upgrade that... (0 Replies)
Discussion started by: Azrael
0 Replies
LEARN ABOUT CENTOS
mkinitrd
MKINITRD(8) dracut MKINITRD(8)
NAME
mkinitrd - is a compat wrapper, which calls dracut to generate an initramfs
SYNOPSIS
mkinitrd [OPTION...] [<initrd-image>] <kernel-version>
DESCRIPTION
mkinitrd creates an initramfs image <initrd-image> for the kernel with version <kernel-version> by calling "dracut".
Important
If a more fine grained control over the resulting image is needed, "dracut" should be called directly.
OPTIONS
--version
print info about the version
-v, --verbose
increase verbosity level
-f, --force
overwrite existing initramfs file.
*--image-version
append the kernel version to the target image <initrd-image>-<kernel-version>.
--with=<module>
add the kernel module <module> to the initramfs.
--preload=<module>
preload the kernel module <module> in the initramfs before any other kernel modules are loaded. This can be used to ensure a certain
device naming, which should in theory be avoided and the use of symbolic links in /dev is encouraged.
--nocompress
do not compress the resulting image.
--help
print a help message and exit.
AVAILABILITY
The mkinitrd command is part of the dracut package and is available from https://dracut.wiki.kernel.org
AUTHORS
Harald Hoyer
SEE ALSO
dracut(8)
dracut 06/12/2014 MKINITRD(8)