Initramfs
From UGCS
(Difference between revisions)
(New page: Initramfs are archives that the kernel uses to get to its root file system. ==Scripts== You can add your custom scripts in /etc/initramfs-tools/scripts/<dir>. Note that their names mus...) |
(→Scripts) |
||
| Line 2: | Line 2: | ||
==Scripts== | ==Scripts== | ||
| − | You can add your custom scripts in /etc/initramfs-tools/scripts/<dir>. Note that their names must be alphanumeric or "_". If you have any other characters, the script will be silently ignored. | + | You can add your custom scripts in /etc/initramfs-tools/scripts/<dir>. Note that their names must be alphanumeric or "_". If you have any other characters, the script will be silently ignored. Also note that the initramfs does not have bash, so you must use /bin/sh. |
| + | |||
[[Category:Sysadmin_Documentation]] | [[Category:Sysadmin_Documentation]] | ||
Latest revision as of 02:50, 12 July 2009
Initramfs are archives that the kernel uses to get to its root file system.
Scripts
You can add your custom scripts in /etc/initramfs-tools/scripts/<dir>. Note that their names must be alphanumeric or "_". If you have any other characters, the script will be silently ignored. Also note that the initramfs does not have bash, so you must use /bin/sh.