[Voyage-linux] Cloning a system

Stanislav Sinyagin (spam-protected)
Sat Mar 10 05:36:19 HKT 2012


ok, I reverse-engineered the Voyage scripts that build the Grub loader, and now the procedure works fine:
http://txlab.wordpress.com/2012/03/07/cloning-a-voyage-linux-host/





>________________________________
> From: Stanislav Sinyagin <ssinyagin at yahoo.com>
>To: "voyage-linux at list.voyage.hk" <voyage-linux at voyage.hk> 
>Sent: Wednesday, March 7, 2012 6:36 PM
>Subject: [Voyage-linux] Cloning a system
> 
>
>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/20120309/079dc87d/attachment.html>


More information about the Voyage-linux mailing list