Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #26913

Re: need to add Legacy boot

From Bit Twister <BitTwister@mouse-potato.com>
Newsgroups comp.os.linux.misc
Subject Re: need to add Legacy boot
Date 2019-05-02 15:28 -0500
Organization A noiseless patient Spider
Message-ID <slrnqcmknu.ork.BitTwister@wb.home.test> (permalink)
References <qae847$tl6$1@dont-email.me> <slrnqclqpc.qb0.BitTwister@wb.home.test> <qafafd$bpr$1@dont-email.me>

Show all headers | View raw


On Thu, 2 May 2019 10:47:24 -0700, T wrote:
> On 5/2/19 6:05 AM, Bit Twister wrote:

>> I had the same kind of problem. Old grub2 had no problem noticing
>> I had a grub2 Legacy OS UEFI install. New and improved grub2 was able
>> to poke around in the bios and saw it would support EFI and wanted
>> to enforce its usage.  :(
>>
>> Solution was to get into bios on all three of my systems and change
>> them from EFI or Legacy OS boot, to Legacy OS boot only.
>>
>
>
> Ah ha!
>
> /usr/sbin/grub2-mkconfig is bash script, so I can create my own with
> it tricked to think it is a legacy system

If you only want Legacy OS boot, do check that the bios has a Legacy OS
ONLY boot selection option.

I would not recommend dinking around with /usr/sbin/grub2-mkconfig
Next grub2 release could wipe out any changes made.

> I can also do a side by side of UEFI's grug.cfg and another
> system's legacy grub.cfg and see what the difference is
> so I can write my own converter.
>
> Probably need to do this every kernel upgrade too.

Yes you would. As for rolling your own grub.cfg, you place your own
customization script(s) in /etc/grub.d/. File name dictates order of
execution.

For example, I want to use partition label for booting instead of UUID,
meaningful menu entries, able to boot Mageia iso images. and Systemcd
rescue isos. So I have
$ [bittwister@wb grub.d]$ ls -1 *__*
10a_label_xx__grub
10a_linux_xx__grub
20a_Mageia_isos_xx__grub
20b_rescue_cd_xx__grub

Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 01:01 -0700
  Re: need to add Legacy boot "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 11:14 +0200
    Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 10:42 -0700
      Re: need to add Legacy boot Rich <rich@example.invalid> - 2019-05-02 21:57 +0000
        Re: need to add Legacy boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-04 00:01 +0200
          Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 21:12 -0700
  Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-02 08:05 -0500
    Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 10:47 -0700
      Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-02 15:28 -0500
        Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 21:16 -0700
          Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-04 00:00 -0500
            Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 23:12 -0700

csiph-web