Results 1 to 3 of 3

Thread: GRUB2 conventions

  1. #1
    Join Date
    May 2010
    Beans
    626
    Distro
    Ubuntu 14.04 Trusty Tahr

    GRUB2 conventions

    Mods, feel free to move this, been a while since I have posted here.


    Currently I am in the process of cleaning up and then publishing my project, a script to add isos to the grub menu. The script gets placed in /etc/grub.d, such that it is run with update-grub2. However, I am wondering what the conventions are when numbering it. Users can change the number to put it wherever in the boot order that they want it of course.

    The README says:
    All executable files in this directory are processed in shell expansion order.

    00_*: Reserved for 00_header.
    10_*: Native boot entries.
    20_*: Third party apps (e.g. memtest86+).

    The number namespace in-between is configurable by system installer and/or
    administrator. For example, you can add an entry to boot another OS as
    01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
    the menu; and then adjust the default setting via /etc/default/grub.
    Currently I have it at 50_grubiso, however it sounds like 20_grubiso would be better?




    Thanks,
    Cipherboy

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GRUB2 conventions

    maybe you should add yourself on the mailing-list and propose your project

    http://www.gnu.org/software/grub/grub-development.html

  3. #3
    Join Date
    May 2010
    Beans
    626
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB2 conventions

    Got a response on the mailing list, thanks.


    Marking as solved,
    Cipherboy

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •