Re: Copy 2 partitions to .img file

2012-12-06 Thread Bob Proulx
Hélder Pinheiro wrote: > I have a memory card with 16GB of size, but only 4GB are partitioned > through 2 partitions (sdb1 and 2). I understand that: sdb1 is 2G sdb2 is 2G Total of 4G > I want to copy the content of both partitions into a .img file, in order to > be able to flash it on ano

Re: Copy 2 partitions to .img file

2012-12-06 Thread Rob Owens
On Thu, Dec 06, 2012 at 08:34:53PM -0500, Marc Auslander wrote: > If you just copy the first 4GB, which includes the partition table, > and put it on a 4GB drive, you will have a bogus partitions table (I > think). Maybe it will just "work" as long as you don't try to make new > partitons. Alterna

Re: Copy 2 partitions to .img file

2012-12-06 Thread Marc Auslander
If you just copy the first 4GB, which includes the partition table, and put it on a 4GB drive, you will have a bogus partitions table (I think). Maybe it will just "work" as long as you don't try to make new partitons. Alternately, I don't know what it would take to repair it although I'm sure it

Re: Copy 2 partitions to .img file

2012-12-06 Thread Dom
On 06/12/12 15:14, Pertti Kosunen wrote: On 6.12.2012 15:00, Hélder Pinheiro wrote: I want to copy the content of both partitions into a .img file, in order to be able to flash it on another 4GB memory card.. I tried with dd command, but I am only able to copy one partition each time or the enti

Re: Copy 2 partitions to .img file

2012-12-06 Thread Pertti Kosunen
On 6.12.2012 15:00, Hélder Pinheiro wrote: I want to copy the content of both partitions into a .img file, in order to be able to flash it on another 4GB memory card.. I tried with dd command, but I am only able to copy one partition each time or the entire 16 GB. dd if=/dev/sdb of=4GB.img bs=1

Re: Copy 2 partitions to .img file

2012-12-06 Thread François TOURDE
Le 15680ième jour après Epoch, Hélder Pinheiro écrivait: > Hello all, > > I have a memory card with 16GB of size, but only 4GB are partitioned > through 2 partitions (sdb1 and 2). > > I want to copy the content of both partitions into a .img file, in order to > be able to flash it on another 4GB m

Re: Copy 2 partitions to .img file

2012-12-06 Thread Darac Marjal
On Thu, Dec 06, 2012 at 01:00:38PM +, Hélder Pinheiro wrote: >Hello all, > >I have a memory card with 16GB of size, but only 4GB are partitioned >through 2 partitions (sdb1 and 2). > >I want to copy the content of both partitions into a .img file, in order >to be able to f

Copy 2 partitions to .img file

2012-12-06 Thread Hélder Pinheiro
Hello all, I have a memory card with 16GB of size, but only 4GB are partitioned through 2 partitions (sdb1 and 2). I want to copy the content of both partitions into a .img file, in order to be able to flash it on another 4GB memory card.. I tried with dd command, but I am only able to copy one p