Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Why bind to LiveCD /proc before building initramfs ? Post 303001563 by sreyan32 on Monday 7th of August 2017 01:10:14 PM
Old 08-07-2017
Quote:
Originally Posted by hicksd8
Neither. The Live CD booted from has no writable media so is useless for doing any real work. So a 'proc' filesystem is created in memory, and system directories on the booted Live CD are mapped (bind) into memory.
Any idea what the answer will be for my second question ? I am really stumped with that one.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot log on to FreeBSD LiveCD

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

change initramfs by hand?

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

initramfs on 2.4 kernel

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

_/proc/stat vs /proc/uptime

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

LiveCD help

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

Only have initramfs now...

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
INITRAMFS.CONF(5)					       initramfs.conf manual						 INITRAMFS.CONF(5)

NAME
initramfs.conf - configuration file for mkinitramfs DESCRIPTION
The behaviour of mkinitramfs can be modified by its configuration file. Each line in the file can be a configuration variable, a blank line, or a comment. The value of an variable is assigned by an statement of the form: name=[value] Configuration options can be broken out into configuration snippets and placed in individual files in the /etc/mkinitramfs/conf.d direc- tory. Files in this directory are always read after the main configuration file, so you can override the settings in the main config file without editing it directly. GENERAL VARIABLES
MODULES Specifies the modules for the initramfs image. Modules listed in /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* are always included in the initramfs, and are loaded early in the boot process. list doesn't load any additional modules at boot time, other than those listed in the above files. most adds most file system, all ata, sata, scsi and usb drivers. dep tries to guess which modules are necessary for the running box and only adds those modules. netboot adds the base and network modules, but skips block devices. The default setting is most. BUSYBOX Include busybox utilities for the boot scripts. If set to 'n' mkinitramfs will build an initramfs without busybox. Beware that many boot scripts need busybox utilities. COMPRESS Specifies the compression method used for the initramfs image. mkinitramfs will default to gzip if the kernel lacks support (CON- FIG_RD) or the corresponding userspace utility is not present. UMASK Set the umask value of the generated initramfs file. Useful to not disclose eventual keys. COMPCACHE_SIZE Amount of RAM to use for RAM-based compressed swap space. The default is not to use compcache. An empty value - compcache isn't used, or added to the initramfs at all. An integer and K (e.g. 65536 K) - use a number of kilobytes. An integer and M (e.g. 256 M) - use a number of megabytes. An integer and G (e.g. 1 G) - use a number of gigabytes. An integer and % (e.g. 50 %) - use a percentage of the amount of RAM. You can optionally install the compcache package to configure this setting via debconf and have userspace scripts to load and unload compcache. NFS VARIABLES
BOOT Allows one to use an nfs drive as the root of the drive. The default is to boot from local media (hard drive, USB stick). Set to nfs for an NFS root share. DEVICE Specifies the network interface, like eth0. ROOT Allows optional root bootarg hardcoding, when no root bootarg can be passed. A root bootarg overrides that special setting. NFSROOT Defaults to auto in order to pick up value from DHCP server. Otherwise you need to specify HOST:MOUNT. FILES
/etc/initramfs-tools/initramfs.conf AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>, Jeff Bailey <jbailey@raspberryginger.com> and numerous others. Loosely based on mkinitrd.conf by Herbert Xu. SEE ALSO
initramfs-tools(8), mkinitramfs(8), update-initramfs(8). Linux 2010/11/22 INITRAMFS.CONF(5)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy