Re: Cloning Ubuntu flash drive install
assuming /dev/sda is the original flash drive and /dev/sdb is the new
flashdrive.
Boot using a live cd (or something other than either flash drive).
dd if=/dev/sda of=/dev/sdb
(don't get this backwards or you'll have lost everything)
and then try to boot the new drive. It should just work. The limitation
will be that you'll need to resize the partition and filesystem from 4GB
to the full 8GB, but this is pretty simple.
If it doesn't just work then something else is at play with the new
drive.
If it works and you need help resizing the partition and filesystem just
say so.
On Wed, 2010-02-03 at 18:13 -0500, Paul Spicer wrote:
> O.K., here's my dilemma: I have Karmic installed on a 4gb flash drive
> (first partition is 3.52gb ext4, remainder is swap). This runs great
> and I am aware of the limited write-cycles of flash media, but for
> what I need, this works great. Now, I have a 8gb flash drive onto
> which I'd like to clone this install. I have tried booting with a live
> CD and copying the primary partition with gparted and that
> _kinda_works in that, after I run grub-install it will try to boot,
> but ultimately fail hanging at "assuming drive cache: write through"
> on sda1. When I change to another terminal, I am able to login and
> reboot, but subsequent reboots result in hanging with a cursor just
> before it would show the user list.
>
> An alternative method I found had me use dd to dump the original to an
> iso then load the iso onto the new drive using dd again. That results
> in similar problems and, at one point, I was getting an error that it
> couldn't read .ICEauthority (didn't think to write that down when it
> came up).
>
> So, I ask the knowledge base that is the jax-lug list, what method
> would you suggest to clone a flash drive?
---------------------------------------------------------------------
To unsubscribe, e-mail: list-unsubscribe@...
For additional commands, e-mail: list-help@...