Project

General

Profile

Actions

Bug #6716

closed

eliminate remaining unused filesystems from GRUB

Added by Hans Rosenfeld over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
bootloader
Start date:
2016-03-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Our grub is quite outdated and it is questionable whether it can still be used for directly booting Linux or BSD. Chainloading is generally considered to be a superior alternative which we fully support.

Hence we can rip out ext2fs and ufs2 support from GRUB and decrease stage2 size by another 4k, which is equivalent of roughly 10 to 15 boot environments more that we can support.

Actions #1

Updated by Jean-Pierre André over 5 years ago

Please do not remove ext2fs until grub2 is able to boot both Linux and OpenIndiana. This is the only way I know to boot Windows, Linux and OpenIndiana from a single menu, the grubs from Linux are not able to boot from zfs.

Actions #2

Updated by Hans Rosenfeld over 5 years ago

You can use chainloading to boot Windows and Linux from the OpenIndiana grub menu. For Windows I use this in menu.lst:

title Windows
rootnoverify (hd0,0)
chainloader +1

For Linux you'll likely end up using a two-stage menu, first the OI grub menu and then the Linux grub menu.

Please note that grub is on its way out anyway, it will be replaced eventually by a new boot loader that will only support other operating systems by means of chainloading.

Actions #3

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 621be8d08fd45483b5ca1cb8e2e88239f1502b4d

commit  621be8d08fd45483b5ca1cb8e2e88239f1502b4d
Author: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Date:   2016-03-16T11:43:26.000Z

    6716 eliminate remaining unused filesystems from GRUB
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF