<appendix id="ap-menu-item">
<title>Menu Item numbers</title>

<para>

This is a list of the currently assigned menu-item numbers.
If you need a number for an official udeb, don't just grab one, but
ask on debian-boot@lists.debian.org first.

</para><para>

Please do not allocate numbers with too high a granularity. If you have two
packages, A and B, and A depends on B, then main-menu will always put A
after B. There is no need to assign different numbers to the two; one
number will do and will be more flexible, and help avoid BASIC line number
disease. In other words, having a bunch of menu items with the same number
is a feature, not a bug. Use different menu items only to break ties and do
gross positioning in the menu.

</para><para>

For the Squeeze release these numbers were multiplied by 100 from what they
were before to give more flexibility.

</para>

<itemizedlist>
<listitem><para>
0 -> 1000 Reserved
</para></listitem>

<listitem><para>
1000 -> 3000 Preparation and installer setup

<informalexample><screen>
1000 localechooser (!s390)
1100 load-media
1200 kbd-chooser
     console-setup
1300 iso-scan
     cdrom-detect
1400 file-preseed
1500 driver-injection-disk-detect
1600 load-iso
     load-cdrom
1700 ethdetect
     ppp-udeb
     s390-netdevice (s390)
1800 netcfg
     netcfg-static
1900 auto-install
2100 network-preseed
     network-console
2110 localechooser (s390)
2150 ai-localechooser
2155 ai-kbd-chooser
     ai-console-setup-udeb
2300 choose-mirror
     download-installer
2400 user-setup
2500 lowmem
2600 clock-setup
</screen></informalexample>
</para></listitem>

<listitem><para>
3000 -> 4000 Disk detection etc.

<informalexample><screen>
3500 disk-detect (!s390)
3700 s390-dasd (s390)

3900 rescue-mode
</screen></informalexample>
</para></listitem>

<listitem><para>
4000 -> 5000 Disk preparation

<informalexample><screen>
4200 partman (as default partitioner)
4300 partitioner (mips)
4400 lvmcfg (mips)
4400 partman (mips)
4500 partconf (mips)
4500 mdcfg (mips)
4700 evms
</screen></informalexample>
</para></listitem>

<listitem><para>
6000 -> 8000 Base installation and completion of install

<informalexample><screen>
6500 base-installer
7000 apt-setup
     pkgsel
7300 palo-installer (hppa)
     yaboot-installer (powerpc/powermac_newworld, powerpc/chrp*)
     quik-installer (powerpc/powermac_oldworld)
     zipl-installer (s390)
     arcboot-installer (mips)
     silo-installer (sparc)
     vmelilo-installer (m68k/vme*)
     flash-kernel-installer (armel)
7400 grub-installer (x86, powerpc/chrp_pegasos)
7500 lilo-installer (x86)
7600 elilo-installer (ia64, x86)
7700 nobootloader (all)
7800 finish-install
</screen></informalexample>
</para></listitem>

<listitem><para>
8000 -> 9000 Reserved
</para></listitem>

<listitem><para>
90000 -> \infty Neverdefault

<informalexample><screen>
93000 cdebconf-priority
94000 cdrom-checker
95000 di-utils-shell
96000 eject-udeb

99999 dummy menu item for components that should be listed in anna,
      but not in the main menu
</screen></informalexample>
</para></listitem>
</itemizedlist>

</appendix>
