Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: robcar on July 03, 2012, 09:12:43 AM

Title: [SOLVED] Clone TC USB key
Post by: robcar on July 03, 2012, 09:12:43 AM
I'd like to clone a TC USB key installation; I wouldn't want to use dd, because it takes forever, since the master USB key is 8GB in size.
eZRemaster is quite confusing for me: sometimes it doesn't copy all extensions and sometimes SYSLINUX at the beginning is very long.

Is there an easy way that lets me clone the master TC to a smaller USB key?

TIA
--
rob

Title: Re: Clone TC USB key
Post by: curaga on July 03, 2012, 09:57:21 AM
Auto-partitioning + bootloader-installing script, then just tarball the contents around.
Title: Re: Clone TC USB key
Post by: robcar on July 03, 2012, 10:02:24 AM
Auto-partitioning + bootloader-installing script, then just tarball the contents around.

Could you be a little more specific?
Thanks
Title: Re: Clone TC USB key
Post by: curaga on July 03, 2012, 10:45:25 AM
1. Partition the smaller key
2. Format the partitions
3. Install bootloader to the smaller key
4. Copy contents of the bigger key's partition to the smaller key, preferably via tar to keep permissions

For a one-off thing, you could just do it manually instead of scripting.


If you're not familiar with partitioning/bootloaders, just install to the smaller key via tc-install a default system, then replace the partition contents with those of the bigger stick.
Title: Re: Clone TC USB key
Post by: robcar on July 03, 2012, 12:36:05 PM
...
If you're not familiar with partitioning/bootloaders, just install to the smaller key via tc-install a default system, then replace the partition contents with those of the bigger stick.

Thanks!
I followed this one and replaced only tce with tar and seems working fine!