README was outdated
parent
cfa2941e58
commit
9a663fd51f
8
README
8
README
|
@ -14,10 +14,12 @@ and put the binaries in the initramfs root directory (hint: ./initramfs)
|
||||||
your filesystem.
|
your filesystem.
|
||||||
ls -l /dev/disk/by-uuid/ might help
|
ls -l /dev/disk/by-uuid/ might help
|
||||||
|
|
||||||
2.3) Set these kernel parameters:
|
2.3) Set kernel parameters:
|
||||||
rootfs_location_uuid - uuid of the filesystem containing rootfs tarball
|
ipcmd - arguments for ip (from iputils)
|
||||||
rootfs_filename - tarball filename
|
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 /
|
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
|
2.4) Use scripts/mkinitramfs to generate the initramfs
|
||||||
For example: ./scripts/mkinitramfs ./initramfs ./initramfs.cpio.gz
|
For example: ./scripts/mkinitramfs ./initramfs ./initramfs.cpio.gz
|
||||||
|
|
Loading…
Reference in New Issue