En este post encontraras la información acerca de como clonar fácilmente tu sistema operativo (OS) que tienes en tu memoria flash a una tarjeta SD.
Existen dos deb que son utilizados para lograr el clonado.
install-tools.deb (800 Memoria Interna/Externa, 810 Memoria Interna)
install-tools-N810e.deb (810 Memoria Externa)
PREREQUISITOS
Desactiva cualquier memoria virtual antes de comenzar. El script creara automáticamente durante el clonado la memoria virtual para la particion SD.
——————————————————————————-
INSTRUCCIONES PARA EL N800
install-tools.deb se usa en el N800 para clonar tu memoria flash a tu tarjeta interna o externa.
En un N800, parte desde tu memoria flash. Inserta UNA tarjeta SD, solo puedes tener una SD instalada durante la intalacion del deb. Toda la información en esta tarjeta sera borrada.
Inserta la tarjeta SD (slot interno o externo)
Instala el deb
Una vez que la instalación este completa, reinicia tu tablet.
Si todo sale bien, podras ver un menu, y podras seleccionar tu nueva partición.
——————————————————————————
INSTRUCCIONES PARA EL N810
MEMORIA INTERNA
install-tools.deb se usa en el N810 para clonar tu memoria flash a la memria interna. No puedes usar install-tools.deb para clonar a tu SD externo.
En un N810, parte desde tu memoria flash. QUITA TU TARJETA SD EXTERNA, no puedes tenes una tarjeta SD intalada durante la instalacion del deb. Toda la información en esta memoria sera borrada.
Instala el deb
Una vez que la instalación este completa, reinicia tu tablet.
Si todo sale bien, podras ver un menu, y podras seleccionar tu nueva partición.
————————————-
SLOT SD EXTERNO
install-tools-N810e.deb se usa en el N810 para clonar tu memoria flash a tu slot SD externo.No puedes ocupar install-tools-N810e.deb para clonar a la memoria interna. Toda la información en esta tarjeta SD sera borrada.
En un N810, parte desde tu memoria flash. INSERTA UNA TARJETA SD.Toda la información en esta tarjeta sera borrada. Instala el deb
Una vez que la instalación del deb este completa, reinicia tu tablet.
Si todo sale bien, podras ver un menu, y podras seleccionar tu nueva partición.
——————————————————————————
TROUBLESHOOTING
MENU NO APARECE
Parte desde flash y abre xterm. Entra como root y corre el siguiente comando.
chroot /mnt/initfs cal-tool –set-root-device ask:flash
En vez de flash, tambien puedes definir la partición estandar como mmcX.
mmc2 es la particion 2 en la memoria interna
mmc3 es la particion 3 en la memoria interna
mmc12 es la particion 2 en la memoria externa
mmc13 es la particion 3 en la memoria externa
Tu menu no se mostrara hasta que definas ask:algo y luego reinicies.
——————————————————————————
EL MENU ESTA DISPONIBLE, PERO FALLA AL PARTIR DESDE mmcX
Comunmente, el deb debe ser instalado dos veces. La primera vez que que reparticionas el deb, el sistema fallara al releer la tabla de partición, y el clonado parece haber funcionado, cuando este no es el caso. El menu de partida aparecera pero al partir desde SD aparece un fallo. Cuandp esto suceda, solo reinstala el deb.
DOWNLOADS
ASEGURATE DE NO GUARDAR LOS ARCHIVOS EN LA TARJETA SD, GUARDOLOS EN DOCUMENTOS E INSTALA DESDE ALLI
Por favor revisa el tema en InternetTabletTalk.com para mas información, y para ver las experiencias de otros usuarios
Related Articles
15 users responded in this post
Is there any speed bonus or penalty for booting from SD?
I did these numbers yesterday, its slightly faster to boot from SD. Flash is a jffs2, which is a compressed filesystem. So it takes a small cpu hit to uncompress to load.
Flash boot
Start
Thu Oct 9 17:27:49 EDT 2008
Boot (can see desktop) 36 seconds
Thu Oct 9 17:28:25 EDT 2008
Connected to AP 59 seconds
Thu Oct 9 17:28:48 EDT 2008
—————————————————————————
SD (4GB Kingston microsd)
Start
Thu Oct 9 17:31:54 EDT 2008
Boot (can see desktop) 29 seconds
Thu Oct 9 17:32:23 EDT 2008
Connected to AP 51 seconds
Thu Oct 9 17:32:45 EDT 2008
Thanks for great instructions and software. However: What are the reasons to clone? Will it stop me from getting “out of disk space” problems after installing tons of applications? What are other possible advantages?
“/mnt/initfs cal-tool –set-root-device ask:flash” — I couldn’t find this command. /mnt/initfs is a directory.
chroot /mnt/initfs cal-tool –set-root-device ask:flash
You missed the chroot
@tom2 it will stop the out of disk space problem. Also it can make it nice and easy to back up your tablet once you get it all setup the way you like it.
Thanks! I got it working. But because ‘/usr/sbin’ where ‘chroot’ command is found is not in my root’s default search path (I’m using rootsh app), so I have to prefix the command with /usr/sbin. The full command becomes:
/usr/sbin/chroot /mnt/initfs cal-tool –set-root-device ask:mmc2
(for partition 2 on internal memory card)
[...] The debs still works and is quick and dirty, but this works great if you want to specify some values. Debs can be found here –> http://tablethacker.com/wp/?p=151 [...]
Very interesting article, i bookmarked your blog, thanks for share
Hi Penguinbait, thanks for the awesome deb. Just thought I’d mention something I beat my head against all day today. I installed a bunch of programs on my flash that I wanted to clone, left enough free space for the process, and proceeded to try and clone, I kept getting an error and Application Manager was unhelpful, tried again in Xterm with dpkg -i and noticed I got a lot of xargs errors, well apparently the “full featured” find-utils-xargs available from one of the repos on Gronmayer’s site prevents your install scripts from working. I haven’t narrowed down the exact cause (bad symlink or whatnot) but uninstalling that package did alloow me to proceed freely and get it installed and cloned.
A question as well, could you post up on the backup/recovery method you mentioned in one of your posts on the cloning process? I ran into a case where my boot menu stopped booting to the SD and it would have been nice to have been able to recover my settings intact after a reflash/reclone. Rsync/ssh/ftp or a physical PC with cardreader the best way?
Awesome!. I have been looking all over the web to find a way to do this. Being a newbie to Linux, scripts didn´t serve me much. Your program and explanation solved my problem. No more running out of disk space for a long time. Thanks!
Hi,
Thank you very much for this useful deb. I have it working on an external 8GB card on a nokia 810.
I have a few questions, File Manager show 474.8 MB total size and 8 kB in use after OS cloning. Why is this? Is the rest in another partition? Why is it not visible in File Manager? What do I have to do?
vjktm
how to change boot order?
flash boot is default!
hi, i have a n800 with the newest diablo firmware and this wont install! it says unable to install
I like this model and very good article.
Leave A Reply