AROS Arix/Boot process

From www.evillabs.net
Jump to: navigation, search

i386

  1. grub2 loads Linux kernel
  2. grub2 loads initrd image
  3. Linux boots and starts /init script
  4. /init starts /boot/AROSBootstrap which loads aros-base-arixloader(*) and arixloader.resource
  5. arixloader.resource scans volumes detected by AROS
  6. first volume that contains AROS.boot and VOLUME:boot/AROSBootstrap.conf is selected for booting
  7. arixloader.resource copies files defined in VOLUME:boot/AROSBootstrap.conf into EMU:boot-stage-2(**) and exists
  8. /init changes directory to /boot-stage-2 and runs ./boot/AROSBootstrap

(*) This is a strip down AROS kernel.

(**) EMU:boot-stage-2 equals to /boot-stage-2 in initrd

Additional options:

root=sh - if such kernel parameter is passed the boot sequence is change into

  1. grub2 loads Linux kernel
  2. grub2 loads initrd image
  3. Linux boots and starts /init script
  4. /init tries mounting /dev/sr0 as /aroscdmount
  5. /init tries running /ariscdmount/boot/aros-init
  6. /init starts sh

This option is useful for development environment where different versions of kernel needs to be tested