Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPWSY-0003PR-6K for mharc-grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPWSW-0003NJ-N1 for grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPWSS-0003LL-5l for grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:20 -0400 Received: from [199.232.76.173] (port=48238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPWSS-0003LI-3a for grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:16 -0400 Received: from mx20.gnu.org ([199.232.41.8]:8191) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPWSR-0004nB-Gd for grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:15 -0400 Received: from mail-pz0-f202.google.com ([209.85.222.202]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPWSQ-0000dY-Rw for grub-devel@gnu.org; Sat, 11 Jul 2009 02:53:15 -0400 Received: by pzk40 with SMTP id 40so276702pzk.14 for ; Fri, 10 Jul 2009 23:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wHFP1Iojhyu9jXL2sw5lc6WXQfRaCHXbfAEb+eaxQZQ=; b=mogKy/t3uaz5XuNcmp7iWJVvYq1bsKJX2CcGMSxeI+LIEoDaUijiPH3zSBP0SUxiw7 JhVsvaRy7bGPdOzfBBR/uB3fVBZiG7Q+B+0NnQIiqz/vL2FCvmLPPzyCguUoyfRYMgdI ZBEiAv/WN+9iWXn0dr4KwZmQDar1NMd4M07aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=OaT/tR+qkfKWUuUMcnd7afWfnLWATtFrNS2g3jxGu4Zadnm6jpVU5vRK0m357fIAFT p933s4peAYKTqasuVGtOnx44p7XpkQB9rwcYQjnUZf6Unw6PGXU+wXbGMPYIEtxpUsyM asl2XXdGwBJEjNsXClZ32DWJ1dhmBzmRR0ni4= MIME-Version: 1.0 Received: by 10.114.58.8 with SMTP id g8mr3663836waa.19.1247295193869; Fri, 10 Jul 2009 23:53:13 -0700 (PDT) In-Reply-To: <4A57B252.7080805@earthlink.net> References: <20090704201846.GD27480@thorin> <20090707183933.GA14645@thorin> <1247033954.2895.9.camel@ct> <20090710171145.GB17114@thorin> <4A57B252.7080805@earthlink.net> Date: Sat, 11 Jul 2009 14:53:13 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Some ideas about new features of grub X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 06:53:20 -0000 On Sat, Jul 11, 2009 at 5:27 AM, BandiPat wrote: > Actually Zenwalk provides os-prober as well. =A0The gentleman that provid= es > the installer of our Grub2 uses os-prober to detect all OS's installed, s= o > they may be added to the original grub.cfg. =A0Works very well, although = not > perfect, but we are pretty pleased with the results thus far. > > We also do not have to run any of the Grub2 programs after installing new > kernels. =A0The developer of our installer patched Grub2 for Zenwalk, so = that > no changes were necessary after kernel updates. =A0He tried to offer this= to > you guys as well earlier, but got little response, so we use it for Zenwa= lk > exclusively at the moment. Hi, IIRC, os-prober is a collection of shell script to detect os, but grub already have them in util/grub.d. This method is based on linux, so you need to enter linux in order to update the menu. On the other hand, lua script generate the menu inside grub, there is no need to enter any os. Another problem is the drive number. It's impossible to decide bios drive number from inside linux, so we can't insert the correct drivemap command required to boot DOS/Windows from secondary drive. This information must be gathered at boot time. --=20 Bean