Results 1 to 2 of 2

Thread: Grub2ub1.97 (Question vis-a-vis Grub 1.97 -- aka "Legacy: Grub

  1. #1
    Join Date
    Feb 2010
    Location
    Upstate New York, USA
    Posts
    487

    Default Grub2ub1.97 (Question vis-a-vis Grub 1.97 -- aka "Legacy: Grub

    I have two HD's, one with Grub2 (in the extended partition) and one without Grubn (native Windows boot ---sigh).

    On the primary (the Grub2 HD), I boot to (one of) openSUSE 13.1, Ubuntu 16.04 LTS and (my new favorite, Leap 42.3).

    Back in the day (lol), I could "chainload" boot sequences to the secondary OS'es. With Grub2, I do not know how to do the same, to
    avoid re-booting to the base (13.1) and running the grub rebuild.

    Is their any easy way to do the equivalent of "chainload" in Grub2, to avoid these steps when Ubuntu or Leap 42.3 kernels are upgraded?
    Lap: Gateway NV79, i5-430, 4GB, 2 x 500GB HD, Intel GMA HD
    openSUSE Leap 15.2 x64 + Ubuntu 18.04 LTS, Windows 7

    Test:: openSUSE 15.3, KDE Plasma, Windows/XP/SP3 guest.

  2. #2
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: Grub2ub1.97 (Question vis-a-vis Grub 1.97 -- aka "Legacy: Grub

    Quote Originally Posted by SeanMc98 View Post
    Is their any easy way to do the equivalent of "chainload" in Grub2,
    Yes, the command is named "chainloader". Just create menu entry (you can add it to /boot/grub2/custom.cfg, then it is available immediately without running grub2-mkconfig) with something like
    Code:
    menuentry "Chainloader example" {
      chainloader (hd0,msdos2)+1
    }

Posting Permissions

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