[CentOS] GRUB, and how do I loathe thee

Fri Jun 4 20:20:19 UTC 2010
Dominik Zyla <gavroche at gavroche.pl>

On Fri, Jun 04, 2010 at 02:10:31PM -0400, m.roth at 5-cent.us wrote:
> I just adore the install. Esp. of GRUB.
> 
> Does *anyone* who works on GRUB actually work in the real world, and not
> only on brand new machines?
> 
> I just had happen at work what happened last fall on my home system: then,
> I had /dev/hda, and was trying a clean install on a new SATA drive; right
> now, I'm installing on a replacement disk on a server that has no CD/DVD
> drive from a USB key. My options: on my home system, it was MRR on
> /dev/hda (which was being replaced, and was to become my backup drive),
> and here, in the MBR of the USB key; in both cases, *only* in the first
> sector of a partition on the new drive. I am NEVER OFFERED THE OPTION of
> the MBR of the drive I'm installing to.
> 
> *snarl*
> 
>    mark "no grub, then linux rescue, then chcon, then grub install...
>              I hope"

Try `grub-install --root-directory=/path/to/your/new/system /dev/hda' (if
there is on hda).

-- 
Dominik Zyla

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100604/a3ab0c89/attachment-0004.sig>