Initrd: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
m Snip |
||
Line 8: | Line 8: | ||
== Setting up an Initial Ramdisk == |
== Setting up an Initial Ramdisk == |
||
An initrd is simply a file containing some sort of minimalistic filesystem (if it can be called so). That filesystem totally depends on the Operating system and its version, but it is usually some archive format (compressed or not) such as [[tar]], which has the advantage of being very simple to generate using the ''tar'' command, a simplistic filesystem such as [[SFS]], or just a custom format. The good news is that this custom filesystem can be very simple: in fact, it doesn't need the complications of usual filesystems, such as addition, modification or deletion of files, and the parsing logic |
An initrd is simply a file containing some sort of minimalistic filesystem (if it can be called so). That filesystem totally depends on the Operating system and its version, but it is usually some archive format (compressed or not) such as [[tar]], which has the advantage of being very simple to generate using the ''tar'' command, a simplistic filesystem such as [[SFS]], or just a custom format. The good news is that this custom filesystem can be very simple: in fact, it doesn't need the complications of usual filesystems, such as addition, modification or deletion of files, and the parsing logic can be very simple. |
||
=== Setup in a Multiboot-compliant kernel === |
=== Setup in a Multiboot-compliant kernel === |