Changes between Initial Version and Version 1 of BootProcessUnraveled


Ignore:
Timestamp:
Aug 3, 2006, 2:02:40 PM (18 years ago)
Author:
andree
Comment:

Copy from BerliOS

Legend:

Unmodified
Added
Removed
Modified
  • BootProcessUnraveled

    v1 v1  
     1== Introduction ==
     2
     3
     4Mondo Rescue can create a diverse variety of rescue media ranging from something as simple as a set of CDs or DVDs to CD/tape combinations and highly sophisticated methods like PXE.
     5
     6The first stage in restoring is booting the restore system. This usually happens using a kernel and an initrd image. This is followed by the init script carrying out various crucial steps such as loading more modules and programs and starting subsystems such as RAID, LVM or NFS. The last steps, once all the infrastructure is in place, is to start the mondorestore program either in nuke (automatic) or interactive mode to perform the actual restore (unless expert mode is chosen that is).
     7
     8So, the startup process of a Mondo Restore rescue media can be summarised as follows:
     9 1. Kernel boots and loads initial infrastructure from initrd;
     10 2. init is called and further prepares infrastructure, loading additional programs and modules and starting components like RAID, LVM or  NFS;
     11 3. monodrestore is called either in nuke (automatic) or interactive mode to perform the actual restore.
     12
     13== Kernel / Initrd ==
     14
     15Coming sooner or later...
     16
     17== Init ==
     18
     19=== Modules and Additional Programs ===
     20
     21==== Steps ====
     22 * Load modules from initrd: !InsertEssentialModules;
     23 * get restore media going: !HandleTape | !StartNfs | !HandleCDROMorFloppies;
     24 * load additional stuff from restore media including all modules: install-additional-tools (gets ordinary NFS working);
     25 * now that all modules are available, load the ones we need: insert-all-my-modules.
     26
     27== Discussion ==
     28
     29Maybe PXE should be a distinct first step at the top of the list.
     30
     31It might be a good idea to migrate all module loading to !InsertEssentialModules which would imply that all module were part of the initrd image, especially having drivers for all NICs available would be a good thing as it would make it so that (a) PXE and ordinary NFS restore work the same way and (b) all NIC supported by the kernel would automatically be available for PXE out of the box.
     32
     33From a bigger picture point of view, looking into installers of other dsystems such as but certainly not limited to Debian and live systems like knoppix might prove useful to come up with a more streamlined, fool-proof and dynamically adjusted boot process that ensures that everything works as intended even in situations where the hardware we are running on is pretty much a moving target.