From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K4UlQ-0001eK-LF for mharc-grub-devel@gnu.org; Fri, 06 Jun 2008 01:45:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4UlO-0001c3-PN for grub-devel@gnu.org; Fri, 06 Jun 2008 01:45:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4UlN-0001ZH-6f for grub-devel@gnu.org; Fri, 06 Jun 2008 01:45:21 -0400 Received: from [199.232.76.173] (port=37134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4UlM-0001Yx-T8 for grub-devel@gnu.org; Fri, 06 Jun 2008 01:45:20 -0400 Received: from gateway01.websitewelcome.com ([69.93.115.19]:36021) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1K4UlM-0000aX-Db for grub-devel@gnu.org; Fri, 06 Jun 2008 01:45:20 -0400 Received: (qmail 24449 invoked from network); 6 Jun 2008 05:56:22 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway01.websitewelcome.com with SMTP; 6 Jun 2008 05:56:22 -0000 Received: from c-67-185-142-228.hsd1.wa.comcast.net ([67.185.142.228]:34626 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1K4UlH-00018m-D1 for grub-devel@gnu.org; Fri, 06 Jun 2008 00:45:15 -0500 Date: Thu, 5 Jun 2008 22:45:16 -0700 From: Colin D Bennett To: grub-devel@gnu.org Message-ID: <20080605224516.5f0eae02@gibibit.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Installing GRUB 2 on a CompactFlash card 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: Fri, 06 Jun 2008 05:45:22 -0000 I want to install GRUB 2 on a CompactFlash card, which I will boot on my Mini-ITX VIA C3 system for testing, by attaching the CF card to an IDE-CF adapter. Before I run grub-install, I wanted to get a confirmation that I'm doing the right thing, so I don't end up wiping out my development system's boot partition or something. Here's my setup: Development workstation: Running Linux. Hard drives on /dev/hdXX and /dev/sdXX. The CompactFlash card will appear as /dev/sdc or something. (let's assume it's /dev/sdc) Target system: IDE controller - connected to IDE-CompactFlash adapter. If I create one partition on the CF card, for GRUB, I assume I should set up my grub.cfg to refer to it as (hd0,1) since this will only be used on the TARGET SYSTEM, right? Then on my development workstation I will do: grub-install /dev/sdc But will this affect my development workstation's "/boot" ? I want to install only to my CompactFlash card; is this possible without messing with my dev machine's filesystem? If I have /dev/sdc1 (the CF card's partition) mounted at /media/grubtest, can I just do grub-install --root-directory=/media/grubtest /dev/sdc Thanks! Colin