08-26-2012
Quote:
Originally Posted by
neutronscott
I believe with initramfs you don't specify root.
Just find that it seems the initramfs in redhat not contains rootfs, only contains the kernel modules. how about in your side, I don't know how to check if it contains the rootfs
I see with initramfs, the kernel module loaded, and the if I sepcify with disk file for the root, it boot well
9 More Discussions You Might Find Interesting
1. Linux
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
2. UNIX for Dummies Questions & Answers
(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
3. UNIX for Dummies Questions & Answers
hi i got a virtual linux machine running on qemu
my problem is connecting it to the internet
im a bit confused weather i have to make a virtual network card in qemu
and than tun tap it?
can anyone thats done it before help me out? (1 Reply)
Discussion started by: russian460
1 Replies
4. Red Hat
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
5. Linux
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
6. UNIX for Advanced & Expert Users
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... (1 Reply)
Discussion started by: liklstar
1 Replies
7. UNIX for Advanced & Expert Users
I have a really old distro (FC7) that I am trying to make compatible with some new hardware (ie. new RAID drivers)...
I put the RAID driver into the ISO so that the installer can detect the RAID set... but post-install (aka: first boot) it appears that the Anaconda-generated initrd does not have... (0 Replies)
Discussion started by: jjinno
0 Replies
8. Virtualization and Cloud Computing
Heyas
So, i like doing custom a LiveImage of my OS.
Using Redhats kickstart/livecd-creator method.
Anyway, so i would like to test the liveimages...
AND also, i WOULD like to install FreeBSD, Solaris, or whatever, onto a Virtual Machine.
I used to use Oracles Virtualbox, but eversince... (3 Replies)
Discussion started by: sea
3 Replies
9. Red Hat
So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT)
We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies
LEARN ABOUT POSIX
dracut.conf
DRACUT.CONF(5) dracut DRACUT.CONF(5)
NAME
dracut.conf - configuration file(s) for dracut
SYNOPSIS
/etc/dracut.conf /etc/dracut.conf.d/*.conf
DESCRIPTION
dracut.conf is loaded during the initialisation phase of dracut. Command line parameter will overwrite any values set here.
dracut.conf.d/*.conf files are read in alphanumerical order and will overwrite parameters set in /etc/dracut.conf. Each line specifies an
attribute and a value. A # indicates the beginning of a comment; following characters, up to the end of the line are not interpreted.
dracutmodules+=" <dracut modules> "
Specify a space-separated list of dracut modules to call when building the initramfs. Modules are located in /usr/lib/dracut/modules.d.
omit_dracutmodules+=" <dracut modules> "
Omit a space-separated list of dracut modules.
add_dracutmodules+=" <dracut modules> "
Add a space-separated list of dracut modules.
drivers+=" <kernel modules> "
Specify a space-separated list of kernel modules to exclusively include in the initramfs. The kernel modules have to be specified
without the ".ko" suffix.
add_drivers+=" <kernel modules> "
Specify a space-separated list of kernel modules to add to the initramfs. The kernel modules have to be specified without the ".ko"
suffix.
omit_drivers+=" <kernel modules> "
Specify a space-separated list of kernel modules not to add to the initramfs. The kernel modules have to be specified without the ".ko"
suffix.
install_items+=" <kernel modules> "
Specify a space-separated list of files, which are added to the initramfs image.
filesystems+=" <filesystem names> "
Specify a space-separated list of kernel filesystem modules to exclusively include in the generic initramfs.
drivers_dir="<kernel modules directory>"
Specify the directory, where to look for kernel modules
fw_dir+=" :<dir>[:<dir> ...] "
Specify additional directories, where to look for firmwares, separated by :
install_items+=" <file>[ <file> ...] "
Specify additional files to include in the initramfs, separated by spaces.
do_strip="{yes|no}"
Strip binaries in the initramfs (default=yes)
hostonly="{yes|no}"
Host-Only mode: Install only what is needed for booting the local host instead of a generic host and generate host-specific
configuration.
tmpdir="<temporary directory>"
Specify temporary directory to use.
Warning
If chrooted to another root other than the real root device, use --fstab and provide a valid /etc/fstab.
use_fstab="{yes|no}"
Use /etc/fstab instead of /proc/self/mountinfo.
add_fstab+=" <filename> "
Add entries of <filename> to the initramfs /etc/fstab.
mdadmconf="{yes|no}"
Include local /etc/mdadm.conf (default=yes)
lvmconf="{yes|no}"
Include local /etc/lvm/lvm.conf (default=yes)
fscks=" <fsck tools> "
Add a space-separated list of fsck tools. If nothing is specified, the default is: "umount mount /sbin/fsck* xfs_db xfs_check
xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". The installation is opportunistic (non-existing tools are ignored).
nofscks="{yes|no}"
If specified, inhibit installation of any fsck tools.
kernel_only="{yes|no}"
Only install kernel drivers and firmware files. (default=no)
no_kernel="{yes|no}"
Do not install kernel drivers and firmware files (default=no)
stdloglvl="{0-6}"
Set logging to standard error level.
sysloglvl="{0-6}"
Set logging to syslog level.
fileloglvl="{0-6}"
Set logging to file level.
logfile="<file>"
Path to log file.
show_modules="{yes|no}"
Print included module's name to standard output during build.
FILES
/etc/dracut.conf
Old configuration file. You better use your own file in /etc/dracut/conf.d/.
/etc/dracut/conf.d/
Any /etc/dracut/conf.d/*.conf file can overwrite the values in /etc/dracut.conf. The configuration files are read in alphanumerical
order.
AUTHOR
Harald Hoyer
SEE ALSO
dracut(8) dracut.cmdline(7)
dracut 11/08/2012 DRACUT.CONF(5)