[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More on installing grub on a disk that isn't the first disk, but wil
From: |
Jochen Hoenicke |
Subject: |
Re: More on installing grub on a disk that isn't the first disk, but will be |
Date: |
Fri, 22 Sep 2000 10:59:00 +0200 (MET DST) |
On Sep 21, Harmon S. Nine wrote:
>
> The "drive" that isn't the first hard drive on my machine (but will be in
> another machine) is actually a PCMCIA IDE flash card which, when inserted,
> is mapped as /dev/hde (i.e. the fifth hard drive). This flash will become
> the primary IDE hard drive on another machine, and actually be seen as
> such, i.e. it will not be seen as a PCMCIA device there.
>
> On my machine, grub doesn't recognize the flash (/dev/hde) as the fifth
> hard drive (i.e. grub's (hd4)), so I give the command:
>
> grub> device (hd4) /dev/hde
It's better to tell grub how it will look on the target machine. So
say "device (hd0) /dev/hde" and you don't have the problems you
mentioned. If you haven't already, copy the whole /boot/grub
directory to your new hard disk. If you still need access to your
/dev/hda you can map that to (hd4), but make sure the install command
doesn't refer to it.
Jochen