[prev in list] [next in list] [prev in thread] [next in thread] 

List:       illumos-developer
Subject:    Re: [developer] Grub size, boot environments, and ext2/ufs2 support (Was: [RTI] RTI: 6593 want LBA48
From:       "Garrett D'Amore" <garrett () damore ! org>
Date:       2016-02-29 18:24:06
Message-ID: CAAYoGd_KjoE3cwzqn9yb0hmTXttMkPACf73Ek26tyhbQ+tWfSQ () mail ! gmail ! com
[Download RAW message or body]

+1 for nuking Linux / BSD filesystems from our grub, and relying on
chainloader.

As our copy of grub drifts ever further from upstream (?), and is no longer
"grand" or "unified", maybe a name change is in order though?  ("ibl" for
illumos boot loader?)  Although with future BSD-derived boot efforts coming
(hopefully!), maybe its not worth the effort to do a rename.  I just wonder
if folks using our grub-derived loader are going to be upset when certain
"grub" features they might expect from Linux are absent.

 - Garrett

On Mon, Feb 29, 2016 at 9:58 AM, Toomas Soome <tsoome@me.com> wrote:

>
> > On 29. veebr 2016, at 19:47, Hans Rosenfeld <
> rosenfeld@grumpf.hope-2000.org> wrote:
> >
> > On Mon, Feb 29, 2016 at 07:45:53PM +0200, Toomas Soome wrote:
> >> my 2 bits: one should always go for native bootloader in multiboot
> >> setups, that is, chainloader setups in bios systems. anything else is
> >> only asking for trouble.
> >>
> >> in that regard, just nuke ext2 and ufs2 (linux and bsd) IMO. That will
> >> also allow to simplify kernel command; however, there is one catch:
> >>
> >> some distros include memtest86* which is often linux kernel based,
> >> which means you probably want to leave in the linux case for kernel
> >> loading (note the memtest does not include initrd tho).
> >
> > Would memtest86 loading depend in any way on ext2 support being there?
> > I'm not touching any of the other code to support Linux, although
> > gutting Linux and BSD support completely could probably save us another
> > few k. Hopefully your new loader will be ready before we need that :)
> >
> 
> 
> no, chainloader command will read the file into memory and then will jump
> to it - so any known file system will do.
> 
> re: loader, I am trying:) I mean, the functionality is there (you can ask
> Jeff for his experience;) now its about getting the actual reviews going…
> 
> rgds,
> toomas
> 



-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/25758058-4e9228dc
Modify Your Subscription: https://www.listbox.com/member/?member_id=25758058&id_secret=25758058-c19b436a
Powered by Listbox: http://www.listbox.com

[Attachment #3 (text/html)]

<html><html><div dir="ltr">+1 for nuking Linux / BSD filesystems from our grub, and \
relying on chainloader.<div><br /></div><div>As our copy of grub drifts ever further \
from upstream (?), and is no longer &ldquo;grand&rdquo; or &ldquo;unified&rdquo;, \
maybe a name change is in order though? &nbsp;(&ldquo;ibl&rdquo; for illumos boot \
loader?) &nbsp;Although with future BSD-derived boot efforts coming (hopefully!), \
maybe its not worth the effort to do a rename.&nbsp; I just wonder if folks using our \
grub-derived loader are going to be upset when certain &ldquo;grub&rdquo; features \
they might expect from Linux are absent.</div><div><br /></div><div>&nbsp;- \
Garrett</div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Mon, \
Feb 29, 2016 at 9:58 AM, Toomas Soome <span dir="ltr">&lt;<a \
href="mailto:tsoome@me.com" target="_blank">tsoome@me.com</a>&gt;</span> wrote:<br \
/><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class=""><br /> &gt; On 29. veebr 2016, at 19:47, Hans \
Rosenfeld &lt;<a href="mailto:rosenfeld@grumpf.hope-2000.org">rosenfeld@grumpf.hope-2000.org</a>&gt; \
wrote:<br /> &gt;<br />
&gt; On Mon, Feb 29, 2016 at 07:45:53PM +0200, Toomas Soome wrote:<br />
&gt;&gt; my 2 bits: one should always go for native bootloader in multiboot<br />
&gt;&gt; setups, that is, chainloader setups in bios systems. anything else is<br />
&gt;&gt; only asking for trouble.<br />
&gt;&gt;<br />
&gt;&gt; in that regard, just nuke ext2 and ufs2 (linux and bsd) IMO. That will<br />
&gt;&gt; also allow to simplify kernel command; however, there is one catch:<br />
&gt;&gt;<br />
&gt;&gt; some distros include memtest86* which is often linux kernel based,<br />
&gt;&gt; which means you probably want to leave in the linux case for kernel<br />
&gt;&gt; loading (note the memtest does not include initrd tho).<br />
&gt;<br />
&gt; Would memtest86 loading depend in any way on ext2 support being there?<br />
&gt; I&#39;m not touching any of the other code to support Linux, although<br />
&gt; gutting Linux and BSD support completely could probably save us another<br />
&gt; few k. Hopefully your new loader will be ready before we need that :)<br />
&gt;<br /><br /><br /></span>no, chainloader command will read the file into memory \
                and then will jump to it - so any known file system will do.<br /><br \
                />
re: loader, I am trying:) I mean, the functionality is there (you can ask Jeff for \
his experience;) now its about getting the actual reviews going&hellip;<br /><br /> \
rgds,<br /> toomas<br /><div class="HOEnZb"><div class="h5"><br /><a \
href="http://www.listbox.com" rel="noreferrer" \
target="_blank">http://www.listbox.com</a><br /></div></div></blockquote></div><br \
/></div></html><div bgcolor="#ffffff" id="listbox-footer" \
style="width:auto;margin:0;padding:5px;background-color:#fff;clear:both;border-top: \
1px solid #ccc;"><table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" \
style="background-color:#fff" width="100%"><tr><td padding="4px"><font \
color="#333333" size="1" style="font-family:helvetica, sans-serif;">  \
<strong>illumos-developer</strong> | <a \
href="https://www.listbox.com/member/archive/182179/=now" \
style="text-decoration:none;color:#669933;border-bottom: 1px solid #444444" title="Go \
to archives for illumos-developer">Archives</a> <a border="0" \
href="https://www.listbox.com/member/archive/rss/182179/25758058-4e9228dc" \
style="text-decoration:none;color:#669933" title="RSS feed for \
illumos-developer"><img border="0" \
src="http://postlink.www.listbox.com/2070581/833487e62783d55fe81f119fb93ef644/25758058 \
/bb3fe179.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc" \
/></a>  | <a href="https://www.listbox.com/member/?member_id=25758058&id_secret=25758058-c19b436a" \
style="text-decoration:none;color:#669933;border-bottom: 1px solid #444444" \
title="">Modify</a>  Your Subscription<td align="right" valign="top"><a \
href="http://www.listbox.com" style="border-bottom:none;"> <img border="0" \
src="http://postlink.www.listbox.com/2070582/3379085af0f1cf7fc3708f04b4471ae2/25758058 \
/bb3fe179.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc" \
title="Powered by Listbox" /></a></td></font></td></tr></table></div></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic