All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing GRUB 2 on a CompactFlash card
@ 2008-06-06  5:45 Colin D Bennett
  2008-06-06  6:11 ` Pavel Roskin
  0 siblings, 1 reply; 5+ messages in thread
From: Colin D Bennett @ 2008-06-06  5:45 UTC (permalink / raw)
  To: grub-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-09 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06  5:45 Installing GRUB 2 on a CompactFlash card Colin D Bennett
2008-06-06  6:11 ` Pavel Roskin
2008-06-06 22:57   ` Pavel Roskin
2008-06-09 14:30     ` Colin D Bennett
2008-06-09 15:39       ` Pavel Roskin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.