diff options
author | Robert "ar" Gerus <ar@bash.org.pl> | 2013-05-23 11:11:58 +0200 |
---|---|---|
committer | Robert "ar" Gerus <ar@bash.org.pl> | 2013-05-23 11:11:58 +0200 |
commit | 9a663fd51f26b7a1c237f825af4afa65bbb509d5 (patch) | |
tree | 6fdf6be638f19f5afa4511342ad434e5e81f17d6 | |
parent | cfa2941e58ff4ff3002a86304b50edca2a2121b9 (diff) | |
download | tar-xz-loading-initramfs-9a663fd51f26b7a1c237f825af4afa65bbb509d5.tar.gz tar-xz-loading-initramfs-9a663fd51f26b7a1c237f825af4afa65bbb509d5.tar.bz2 tar-xz-loading-initramfs-9a663fd51f26b7a1c237f825af4afa65bbb509d5.tar.xz tar-xz-loading-initramfs-9a663fd51f26b7a1c237f825af4afa65bbb509d5.zip |
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -14,10 +14,12 @@ and put the binaries in the initramfs root directory (hint: ./initramfs) your filesystem. ls -l /dev/disk/by-uuid/ might help -2.3) Set these kernel parameters: - rootfs_location_uuid - uuid of the filesystem containing rootfs tarball - rootfs_filename - tarball filename +2.3) Set kernel parameters: + ipcmd - arguments for ip (from iputils) + brctl - arguments for brctl + rootfs_part - where to get rootfs tarball from and what to do with it (for example, uncompress) rootfs_size - size of the tmpfs that will be used as / + init - what executable should be used as init on the system 2.4) Use scripts/mkinitramfs to generate the initramfs For example: ./scripts/mkinitramfs ./initramfs ./initramfs.cpio.gz |