Re: Перенос GRUB
At Fri, 12 Mar 2010 13:41:06 +0200,
Игорь Чумак wrote:
> Сделал симлинк.
>
> grub-install --root-directory=.
> /dev/mapper/3600a0b800013d01700000ee24b97e7ad
> grub-probe: error: no mapping exists for
> `3600a0b800013d01700000ee24b97e7ad-part1'
> /usr/sbin/grub-install: line 374: [: =: unary operator expected
> The file ./boot/grub/stage1 not read correctly.
А, у вас kpartx. Надо, чтобы груб одновременно понимал, куда отображается (hd0),
и мог найти его разделы.
mkdir /root/tmpdev
ln -s /dev/mapper/3600a0b800013d01700000ee24b97e7ad /root/tmpdev/3600a0b800013d01700000ee24b97e7ad-part
ln -s /dev/mapper/3600a0b800013d01700000ee24b97e7ad-part* /root/tmpdev
echo '(hd0) /root/tmpdev/3600a0b800013d01700000ee24b97e7ad-part' > /root/tmp/boot/grub/device.map
Reply to: