Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Chainload GRUB2 -> GRUB2?

  1. #21
    Join Date
    Aug 2005
    Location
    Italy
    Beans
    8

    Re: Chainload GRUB2 -> GRUB2?

    Issue solved.

    In order to load Grub 2 from another Grub 2 you have to use the command multiboot instead of linux or kernel or...

    Code:
    menuentry "sda5" {
            insmod ext2
            set root=(hd0,5)
            multiboot /boot/grub/core.img
    }
    Make sure to adjust the line set root=(hd0,x) to your needs, pay attention to the fact that Grub 2 starts the counting of the partitions with 1, unlike Grub's 0.

    Regards,

    Franz

  2. #22
    Join Date
    Dec 2009
    Beans
    527

    Re: Chainload GRUB2 -> GRUB2?

    Good info - thanks!

    This will come in handy in the near future, as Linux evolves into quasi-Windows operating environment.

    I have found NOwhere on the web the correct syntax for this task - after MUCH searching, and Trial and Error.

    Judging by the number of hits, this might be worthy of a blog page, IMO. In the meantime, I'll link your solution into OP. If you blog it also, PM me the weblink. Or re-write into a new cleaned up post, and mods can delete this one.

Page 3 of 3 FirstFirst 123

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
  •