[Voyage-linux] Cloning a system

Stanislav Sinyagin (spam-protected)
Thu Mar 8 01:36:43 HKT 2012


hi,

I'm trying to clone a live system to a new CF, and GRUB fails. Please advise, as I'm not a too deep specialist in Grub.

My sequence is as follows. The board is alix2d13 from PC Engines. The new CF card is attached via USB card reader at /dev/sdb.

remountro
/usr/local/sbin/format-cf.sh -t /dev/sdb -b 1 -y
mkdir /tmp/cf
mount /dev/sdb1 /tmp/cf
cd /tmp/cf
dump -f - /dev/hda1 | restore -r -f -



That was easy, and now Grub fails:

root at alix102:~# /usr/sbin/grub-install --root-directory=/tmp/cf /dev/sdb
The file /tmp/cf/boot/grub/stage1 not read correctly.root at alix102:~# ls -al  /tmp/cf/boot/grub/stage1

-rw-r--r-- 1 root root 512 Mar  7 17:31 /tmp/cf/boot/grub/stage1
root at alix102:~# 



The system is 0.8.0 release.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20120307/c1be578e/attachment-0002.html>


More information about the Voyage-linux mailing list