Unix/Linux Go Back    

UNIX for Beginners Questions & Answers If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

Why bind to LiveCD /proc before building initramfs ?

UNIX for Beginners Questions & Answers

grub, initramfs, mount

Thread Tools Search this Thread Display Modes
Old Unix and Linux 6 Days Ago
sreyan32 sreyan32 is offline
Registered User
Join Date: Nov 2012
Last Activity: 11 August 2017, 5:07 AM EDT
Posts: 54
Thanks: 25
Thanked 0 Times in 0 Posts
Originally Posted by Corona688 View Post
Neither. /dev and especially /proc are virtual filesystems, which don't show files but rather imaginary kernel things.

So they're neither livecd, nor your broken system, but something belonging to whatever kernel you're running.

These kernel / device interfaces are pretty hard for a system to do without.

It doesn't so much archive them as use them.
So what you mean is that it does not store any information after the command has been executed, right ? It is just used when the command is executed ?

If I am correct in my above assumption, then could you please give me an example on what that information may be like. Normally, if you need some information to perform an operation, it is required again during another execution of the same operation.

Like if update-initramfs generates using the information from a 3.0x kernel and the actual operating system that will use that is a 2.4x kernel, will that initrd still work ?
Sponsored Links
Old Unix and Linux 6 Days Ago
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 17 August 2017, 6:53 PM EDT
Location: Saskatchewan
Posts: 22,327
Thanks: 1,115
Thanked 4,214 Times in 3,897 Posts
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.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Only have initramfs now... Azrael Debian 0 05-05-2012 10:16 PM
LiveCD help neur0n UNIX for Dummies Questions & Answers 1 12-22-2010 01:45 PM
_/proc/stat vs /proc/uptime coderd UNIX for Dummies Questions & Answers 0 05-08-2009 02:37 PM
initramfs on 2.4 kernel amoeba Linux 0 02-06-2009 05:59 PM
change initramfs by hand? frankie06 Debian 18 12-31-2008 04:28 PM

All times are GMT -4. The time now is 01:10 AM.