[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync to clone disk - Can it work? grub-install error





Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Tue, Dec 04, 2007 at 02:56:57PM -0500, chloe K wrote:
> Hi all
>
> I install etch in hda
> then I add the hdc which have same partition but not same size in hda
>
> /dev/hda1 /boot
> /dev/hda2 /swap
> /dev/hda3 /
>
> i use rsync to copy data from hda to hdc
>
> I use fedora5 boot disk to boot.
> mount /boot and / and chroot to /

did you mount /boot within the chroot?


Yes, I did


> but I got error to grub-install /dev/hda
>
> You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead!
> tempnam: No such file or directory
> /usr/sbin/grub-install: line 394: $log_file: ambigous redirect

what actual command did you enter?


grub-install /dev/hda



All new Yahoo! Mail -
Get a sneak peak at messages with a handy reading pane.
Reply to: