From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JI4I7-0006fD-0Q for mharc-grub-devel@gnu.org; Thu, 24 Jan 2008 10:46:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JI4I4-0006eQ-QV for grub-devel@gnu.org; Thu, 24 Jan 2008 10:46:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JI4I1-0006bt-0s for grub-devel@gnu.org; Thu, 24 Jan 2008 10:46:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JI4I0-0006bq-Re for grub-devel@gnu.org; Thu, 24 Jan 2008 10:46:52 -0500 Received: from spiffy.freedom.ind.br ([201.35.65.91] helo=freedom.ind.br) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JI4Hz-0008Se-F2 for grub-devel@gnu.org; Thu, 24 Jan 2008 10:46:52 -0500 Received: from freedom.ind.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with ESMTP id BD6291B2FF6; Thu, 24 Jan 2008 13:46:21 -0200 (BRST) Received: from internet.ossystems.com.br (localhost [127.0.0.1]) by freedom.ind.br (Postfix) with ESMTP id 732CD10BB84; Thu, 24 Jan 2008 13:46:21 -0200 (BRST) Received: from 201.40.162.47 ([201.40.162.47] helo=internet.ossystems.com.br) by mail.freedom.ind.br; 24 Jan 2008 13:46:21 -0200 Received: from neumann (unknown [10.1.0.243]) by internet.ossystems.com.br (Postfix) with ESMTP id 44039C27C; Thu, 24 Jan 2008 13:46:21 -0200 (BRST) Received: by neumann (Postfix, from userid 1000) id B96D6DCBB32; Thu, 24 Jan 2008 13:47:10 -0200 (BRST) To: Fabian Greffrath References: <479883AD.6060005@leat.rub.de> From: Otavio Salvador Organization: O.S. Systems Ltda. X-URL: http://www.debian.org/~otavio/ X-Attribution: O.S. Date: Thu, 24 Jan 2008 13:47:10 -0200 In-Reply-To: <479883AD.6060005@leat.rub.de> (Fabian Greffrath's message of "Thu\, 24 Jan 2008 13\:25\:17 +0100") Message-ID: <87myqvz0n5.fsf@ossystems.com.br> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: grub-devel@gnu.org, 461442@bugs.debian.org Subject: Re: Bug#461442: please add support for os-prober to detect other OSes in update-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: Thu, 24 Jan 2008 15:46:57 -0000 Fabian Greffrath writes: > At the moment there is still one problem left: os-prober returns the > partition on which it finds the OS as a system device name, > e.g. /dev/hda2. At the moment, GRUB does not provide an (easy) way to > translate these into GRUB drives, e.g. (hd0,1). This is why I allready > requested such a feature on this list [2]. > Another problem (or: missing feature) is, that at the moment my script > can only add chainloaded OSes to grub.cfg. To add kernels like Linux > or HURD it is necessary to mount these partitions again to find out > exactly where the kernel and initrd images reside. This is something I > want to avoid, because the partitions have allready been mounted by > os-prober and I don't want to duplicate it's code for this > purpose. Maybe os-prober could be modified to be more verbose in such > cases and report the entire path to the images. os-prober is developed inside Debian Installer team. I think it's two different but reports and then it would be nice to report a specific bug (maybe with a proposed patch) for os-prober to provide what you'd need and then we can push it. -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: otavio@debian.org UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."