Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RNrVB-0001Z9-1n for mharc-grub-devel@gnu.org; Tue, 08 Nov 2011 14:38:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNrV8-0001YO-Nl for grub-devel@gnu.org; Tue, 08 Nov 2011 14:38:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNrV7-0004oy-II for grub-devel@gnu.org; Tue, 08 Nov 2011 14:38:30 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:25570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNrV7-0004oq-CC for grub-devel@gnu.org; Tue, 08 Nov 2011 14:38:29 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pA8JcQ8v020140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Nov 2011 19:38:27 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pA8JcPe1000381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 8 Nov 2011 19:38:26 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pA8JcKWW001955 for ; Tue, 8 Nov 2011 13:38:20 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Nov 2011 11:38:20 -0800 Date: Tue, 8 Nov 2011 11:37:01 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: The development of GNU GRUB Subject: Re: [PATCH] Support OpenIndiana in GRUB2 In-Reply-To: <4EB9804E.2070706@gmail.com> Message-ID: References: <4EB8839C.2000701@gmail.com> <4EB884CD.2050106@gmail.com> <4EB9804E.2070706@gmail.com> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-2041982307-1320780711=:965" Content-ID: X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4EB98533.00C9,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2011 19:38:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-2041982307-1320780711=:965 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-7; FORMAT=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: Quoting Vladimir '=F6-coder/phcoder' Serbinenko, who wrote the following on= =2E..: > On 08.11.2011 19:16, Seth Goldberg wrote: >> >> >> Quoting Vladimir '=F6-coder/phcoder' Serbinenko, who wrote the following >> on...: >> >>> Resending because of wrong oi-dev address at first try which caused it >>> to be rejected from other 2 lists as well >>> On 08.11.2011 02:19, Vladimir '=F6-coder/phcoder' Serbinenko wrote: >>>> With this patch on top of trunk I was able to compile (using >>>> GCC+GAS+GNU >>>> LD), install, generate config and boot OpenIndiana. Some areas are gre= y >>>> to me. As like: >>>> 1) Is it better to determine zfs-bootfs parameter on boot or on config= =2E >> >> (These opinions are based on Oracle Solaris): >> Some grub entries may not specify a bootfs, in which case, GRUB should >> derive it from the bootfs property in the pool >> > bootfs is an annoying one since on-disk AFAIK only its objnum is stored > so we need to scan to determine its name. But for me it's only > backward-compatibility issue. This property shouldn't be necessary with > new or autodetected config. It's true you can get around it by triggering a config file autogenerati= on=20 when the bootfs property is changed. >>>> GRUB-Legacy does former but it has the problem that rpool may be >>>> inaccessible to GRUB (it may be that only /boot/grub is accessible >>>> to it) >> >> If the rpool is in accessible, then the top-level dataset should >> also be inaccessible (unless I'm misunderstanding what you mean). >> > You can have a small disk locally holding only GRUB2, kernel and boot > archive and rpool in a SAN, boot_archive taking care of mounting rpool. I'm not aware of any OpenSolaris distro doing that, but it is possible. = In=20 that case, it's up to the administrator to ensure that the bootfs value use= d=20 is correct and that the pool is accessible to GRUB2. >>>> 2) What's the best way to handle "local" keyword? >> >> Remove it ;) ? >> > I have a patch for it few lines down in this ML. LGTM. >>>> 3) Does Illumos support* multiple kernels? >> >> (For O.S.) This is something that developers would use, IMHO, but not >> something for production, because the boot environment construct is >> used to isolate different bootable instances. > Could you explain better what's boot environment is? Is it separate > subvolume? How do we discover them. Should it be on runtime or config tim= e? A boot environment is a child zfs dataset whose name is of a specific fo= rm=20 (/ROOT/). Each boot environment is a separate,=20 fully-contained bootable instance of Solaris. As of the last OpenSolaris= =20 release, the only shared state is that state stored on the top-level datase= t=20 of the root pool (that include the Legacy GRUB menu.lst, boot signature (ju= st=20 a file that can be used to identify the pool with findroot()), and some oth= er=20 miscellaneous data). (See the beadm(1M) command for a better explanation). Thanks, --S ---559023410-2041982307-1320780711=:965--