Grub clarification
Craig White
craigwhite at azapple.com
Wed Dec 5 01:03:04 UTC 2007
On Tue, 2007-12-04 at 15:53 -0500, chloe K wrote:
> Hi
>
> Sorry to interrupt. I think you can help me
>
> I use rsync to copy all files from hda to hdc
> hda and hdc are same partition but not different size
>
> /dev/hda1 /boot
> /dev/hda2 /swap
> /dev/hda3 /
>
> then i change IDE cables from hdc to hda
> and use fedora5 to boot it rescue boot
>
> mount partitions /boot and / and chroot to /
> When I use grub-install /dev/hda, i got an error
>
> tempnam: No such file or directory
> grub-install: line 394: $log_file: ambigous redirect
>
> Do you have idea?
>
> Thank you
----
according to my grub-install...
log_file=/tmp/grub-install.log.$$
you need to 'chroot /mnt/sysimage' it would seem
Craig
More information about the users
mailing list