Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: rminnich on October 11, 2009, 07:45:00 PM

Title: USB stick installed; clone it?
Post by: rminnich on October 11, 2009, 07:45:00 PM
I'm getting ready to write the script to clone the USB stick I am booting, but am wondering if someone has already done it ... have not found anything like this in the forums however.

thanks

ron
Title: Re: USB stick installed; clone it?
Post by: Juanito on October 12, 2009, 05:38:04 AM
You could do something like:
Code: [Select]
$ sudo dd if=/dev/sda of=/dev/sdb
where:
/dev/sda is the source usb stick
/dev/sdb is the target usb stick

Both usb sticks would need to be unmounted at the time and preferably the same size...
Title: Re: USB stick installed; clone it?
Post by: rminnich on October 13, 2009, 05:17:26 PM
That's not a great way to do it ... I'll look at other possibilities. I may just hack up usbinstall.

Thanks

ron