next up previous contents
Next: Implementation Up: Booting diskless/diskful/mixed systems with Previous: Specifying the root filesystem   Contents


Creating a new initrd template

The initrd template supplied by oneSIS can be used to bootstrap any x86 compatible machine. Similar templates for other architectures may be included in future releases of oneSIS. It is possible to add extra functionality to an existing template to create a new one and still have the functionality and convenience offered by mk-initrd-oneSIS for creating new initrds.

The initrd templates are compressed ext2 loopback filesystems that can be decompressed with gzip and mounted with mount -o loop. If none of the existing logic in the initrd template is changed, mk-initrd-oneSIS can use any derived templates to create initrds with added functionality. There is a specific place in the initrd's linuxrc script specifically designated for additional logic. Any other creative bootstrapping logic can be added there, without losing existing functionality.



root 2005-06-19