Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Why bind to LiveCD /proc before building initramfs ? Post 303001575 by sreyan32 on Monday 7th of August 2017 02:11:59 PM
Old 08-07-2017
Quote:
Originally Posted by hicksd8
Technically, the 'initramfs' on the 'Live CD' should contain ALL common drivers and load modules needed for commonly found hardware and therefore should run on your box (unless you loaded third-party driver(s) at install time). Therefore, once up and running, the O/S recovery function can probe your hardware and check that the required drivers are installed and uncorrupted. The recovery function should/probably/hopefully only check for the really required drivers for your platform.
So let me get this straight. What you are saying is that 90% percent of the using the /proc and /dev of the LiveCd will not cause any problems because they are very similar to the original system that I will boot into.

Am I correct in my assumption ?
 

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
kernel(1M)                                                                                                                              kernel(1M)

NAME
kernel - UNIX system executable file containing basic operating system services SYNOPSIS
kernel-name [-asrvx] [-m smf_options] [-i altinit] The operating system image, or kernel, is the collection of software comprising the image files (unix and genunix) and the modules loaded at any instant in time. The system will not function without a kernel to control it. The kernel is loaded by the boot(1M) command in a machine-specific way. The kernel may be loaded from disk, CD-ROM, or DVD (diskfull boot) or over the network (diskless boot). In either case, the directories under /platform and /kernel must be readable and must contain exe- cutable code which is able to perform the required kernel service. If the -a flag is given, the user is able to supply different pathnames for the default locations of the kernel and modules. See boot(1M) for more information on loading a specific kernel. The moddir variable contains a list of module directories separated by whitespace. moddir can be set in the /etc/system file. The minimal default is: /platform/platform-name/kernel /kernel /usr/kernel This default can be overridden by a specific platform. It is common for many SPARC systems to override the default path with: /platform/platform-name/kernel:/platform/hardware-class-name /kernel:/kernel:/usr/kernel where platform-name can be found using the -i option of uname(1), and hardware-class-name can be found using the -m option of uname(1). The kernel configuration can be controlled using the /etc/system file (see system(4)). genunix is the platform-independent component of the base kernel. The following options are supported: -a Asks the user for configuration information, such as where to find the system file, where to mount root, and even override the name of the kernel itself. Default responses will be contained in square brackets ([ ]), and the user may simply enter <RETURN> to use the default response (note that <RETURN> is labeled <ENTER> on some keyboards). To help repair a damaged /etc/system file, enter /dev/null at the prompt that asks for the pathname of the system configuration file. See system(4). -i altinit Select an alternative executable to be the primordial Process. altinit is a valid path to an executable. The default primordial process is init(1M). -m smf_options The smf_options include two categories of options to control booting behavior of the service management facility: recovery options and messages options. Message options determine the type and amount of messages that smf(5) displays during boot. Service options determine the services which are used to boot the system. Recovery options debug Boot in serial mode, with status logging of service success or failure to the console. The stdout and stderr streams of each method invoked will be connected to the console, as well as to any logging facilities smf(5) provides. milestone=[milestone] Boot to the subgraph defined by the given milestone. Legimate milestones are "none", "single-user", "multi-user", "multi-user- server", and "all". Messages options quiet Prints standard per-service output and error messages requiring administrative intervention. verbose Prints standard per-service output with more informational messages. debug Prints standard per-service output and all svc.startd messages to log. -r Reconfiguration boot. The system will probe all attached hardware devices and configure the logical namespace in /dev. See add_drv(1M) and rem_drv(1M) for additional information about maintaining device drivers. -s Boots only to init level 's'. See init(1M). -v Boots with verbose messages enabled. If this flag is not given, the messages are still printed, but the output is directed to the sys- tem logfile. See syslogd(1M). -x Does not boot in clustered mode. This option only has an effect when a version of Sun Cluster software that supports this option has been installed. See boot(1M) for examples and instructions on how to boot. /kernel Contains kernel components common to all platforms within a particular instruction set that are needed for booting the system. of the core image file. /platform/platform-name/kernel The platform-specific kernel components. /platform/hardware-class-name/kernel The kernel components specific to this hardware class. /usr/kernel Contains kernel components common to all platforms within a particular instruction set. The directories in this section can potentially contain the following subdirectories: drv Loadable device drivers exec The modules that execute programs stored in various file formats. fs File system modules misc Miscellaneous system-related modules sched Operating system schedulers strmod System V STREAMS loadable modules sys Loadable system calls SPARC cpu Processor specific modules tod Time-Of-Day hardware interface modules Additionally, some of the subdirectories mentioned above contain sparcv9 subdirectories that contain 64-bit versions of the same module classes. For example, /kernel/drv/sparcv9 and /platform/sun4u/kernel/cpu/sparcv9. mach hardware support See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcar, SUNWcarx | +-----------------------------+-----------------------------+ uname(1), isainfo(1), add_drv(1M), boot(1M), init(1M), kadb(1M), rem_drv(1M), savecore(1M), svc.startd(1M), syslogd(1M), system(4), attributes(5), smf(5), devfs(7FS) SPARC Only monitor(1M) The kernel gives various warnings and error messages. If the kernel detects an unrecoverable fault, it will panic or halt. Reconfiguration boot will, by design, not remove /dev entries for some classes of devices that have been physically removed from the sys- tem. 5 Apr 2005 kernel(1M)
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy