Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OvnXX-0006KJ-Ge for mharc-grub-devel@gnu.org; Wed, 15 Sep 2010 04:40:27 -0400 Received: from [140.186.70.92] (port=34585 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvnXS-0006J3-DX for grub-devel@gnu.org; Wed, 15 Sep 2010 04:40:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvnXR-0000ET-7v for grub-devel@gnu.org; Wed, 15 Sep 2010 04:40:22 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:58574) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvnXR-0000E1-3Y for grub-devel@gnu.org; Wed, 15 Sep 2010 04:40:21 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OvnXP-00075Q-AL for grub-devel@gnu.org; Wed, 15 Sep 2010 08:40:19 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1OvnXO-0008B8-00; Wed, 15 Sep 2010 09:40:18 +0100 Date: Wed, 15 Sep 2010 09:40:18 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100915084018.GK21862@riva.ucam.org> References: <20100914221507.5af5666a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: grub-install on unmounted partitions X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Wed, 15 Sep 2010 08:40:23 -0000 On Wed, Sep 15, 2010 at 10:17:10AM +0400, Дмитрий Ильин wrote: > If you are talking about grub2 (not legacy) > > Yes, usually disk must be mounted because grub-install copies grub files to --root-directory Teresa asked specifically about "the device", presumably the device that you pass to grub-install. That's different from --root-directory, and (on BIOS systems) is only passed to grub-setup. It makes no difference to grub-setup whether the device is mounted anywhere or not. -- Colin Watson [cjwatson@ubuntu.com]