Menu

grldr menu

2016-01-29
2016-02-01
  • Mario Pilesi

    Mario Pilesi - 2016-01-29

    I have a Uefi and GPT system.
    I have a grldr grub4dos with menu.lst.
    Do it is possible with rEFInd to create a boot stanzas to launch grub4dos in Uefi?

     
  • Roderick W. Smith

    The last I heard, GRUB4DOS was a BIOS-mode boot loader. rEFInd runs in EFI mode, but it does enable passing control to BIOS-mode boot loaders by uncommenting the scanfor line and ensuring that hdbios is among the options listed. On a UEFI-based PC, this requires that the first stage of the BIOS boot loader be present in the first sector of the disk. On Macs, it requires the use of MBR or a hybrid MBR rather than a conventional GPT. rEFInd does not support specifying a BIOS-mode boot loader via a manual boot stanza; you'll need to rely on auto-scanning to get it to work. Note also that rEFInd's ability to pass control to a BIOS-mode boot loader depends on the firmware having a Compatibility Support Module (CSM). Although most modern PCs have CSMs, some don't, so rEFInd's BIOS-mode support is not usable on some computers.

    Backing up a bit, though, I have to ask what your intent is. GRUB4DOS is pretty old. Checking its Sourceforge page, its last update seems to have been almost three years ago, and its discussion forum has been quiet since 2012. A wiki link seems to be dead. AFAIK, GRUB4DOS won't boot EFI-mode OSes, and most OSes that require BIOS-mode booting also require MBR. Overall, I can't think of many practical applications for GRUB4DOS as part of a boot process that also involves rEFInd and a GPT disk. If you can describe why you want to use GRUB4DOS, perhaps I or somebody else could suggest an alternative that's better-suited to your needs.

     
  • Mario Pilesi

    Mario Pilesi - 2016-01-31

    f.e. I have this menu item that would to use in uefi:

    title BootIt Bare Metal
    map --mem ()/grub/BootItBareMetal.iso (0xff)
    map --hook
    root (0xff)
    chainloader (0xff)

    title Hirens Boot CD 15.2
    map --mem ()/grub/Hiren'sBootCD.iso (0xff)
    map --hook
    root (0xff)
    chainloader (0xff)

     
  • Roderick W. Smith

    rEFInd can't currently use disk images, so rEFInd can't launch those files directly, even if they hold EFI-mode boot loaders.

    You may be able to get it to work by installing GRUB4DOS or some other BIOS-mode boot loader in the disk's MBR and then activating rEFInd's BIOS/CSM/legacy support via the scanfor line, as outline in my original answer.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.