<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>strangely it worked after a while. Probably it's something to do with caching. <br></span></div><div><span>I documented the whole procedure here:</span></div><div><span>http://txlab.wordpress.com/2012/03/07/cloning-a-voyage-linux-host/</span></div><div><br><span></span></div><div><span>In general, the newly created system works OK, but I'll do more tests.</span></div><div><br><span></span></div><div><span><br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Stanislav Sinyagin
<ssinyagin@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "voyage-linux@list.voyage.hk" <voyage-linux@voyage.hk> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, March 7, 2012 6:36 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Voyage-linux] Cloning a system<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv702209881"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt;"><div>hi,</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>remountro<br>/usr/local/sbin/format-cf.sh -t /dev/sdb -b 1 -y<br>mkdir /tmp/cf<br>mount /dev/sdb1 /tmp/cf<br>cd /tmp/cf<br>dump -f - /dev/hda1 | restore -r -f -<br></div><div><br></div><div><br>That was easy, and now Grub fails:</div><div><br></div><div>root@alix102:~# /usr/sbin/grub-install --root-directory=/tmp/cf /dev/sdb<br>The file /tmp/cf/boot/grub/stage1 not read correctly.</div>root@alix102:~# ls -al
/tmp/cf/boot/grub/stage1<br><div>-rw-r--r-- 1 root root 512 Mar 7 17:31
/tmp/cf/boot/grub/stage1<br>root@alix102:~# <br></div><div><br></div><div><br></div><div>The system is 0.8.0 release.<br></div><div></div></div></div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>Voyage-linux mailing list<br><a ymailto="mailto:Voyage-linux@list.voyage.hk" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>