Page 1 of 1

Copy content of image to sd card instead of whole image

Posted: Thu Jun 07, 2012 6:55 am
by poseidon
I managed to mount the image file, thank you, AndrewS. But just copying the files to the partitions of my sd card will not work, I guess. There are numerous ELF- and BIN files, which have to be copied in a special way.

How do I proceed to install arch from the content of the image to a 6 gig sd card instead of dd'ing the whole image with its only 2 gigs?

Reagrds
poseidon

Re: Copy content of image to sd card instead of whole image

Posted: Thu Jun 07, 2012 7:54 am
by praest76
I'm sure it's possible but awkward, why not just dd the 2GB over and then resize the partition to fill the card? That's what I did. Is there a reason you aren't doing that which I've missed?

Re: Copy content of image to sd card instead of whole image

Posted: Thu Jun 07, 2012 8:53 am
by poseidon
Is there a reason you aren't doing that which I've missed?
Yes, very bad experience with SD cards. Most don't work properly, even recently bought ones. On my 16 gig Transcend it takes ages to resize a partition :-(. Formatting them works, however.

Regards
poseidon

Re: Copy content of image to sd card instead of whole image

Posted: Thu Jun 07, 2012 11:29 am
by angel6700
Hello,
I posted a solution to this. chek if it's usefull fo you:
http://www.raspberrypi.org/phpBB3/viewt ... 617#p89617

regards.

Re: Copy content of image to sd card instead of whole image

Posted: Thu Jun 07, 2012 11:43 am
by grumpyoldgit
It only takes a couple of minutes to resize a partition with gparted.

Re: Copy content of image to sd card instead of whole image

Posted: Fri Jun 08, 2012 7:12 am
by poseidon
angel6700 wrote:Hello,
I posted a solution to this. chek if it's usefull fo you:
http://www.raspberrypi.org/phpBB3/viewt ... 617#p89617

regards.
Man, you definitely made may day! Works like a charm!

Many thanks
poseidon

Re: Copy content of image to sd card instead of whole image

Posted: Fri Jun 08, 2012 8:01 am
by Joe Schmoe
angel6700 wrote:Hello,
I posted a solution to this. chek if it's usefull fo you:
http://www.raspberrypi.org/phpBB3/viewt ... 617#p89617

regards.
That's interesting - it's basically the sort of thing that I have been recommending - that is, copying files out of the image to the card. Gives you more control over what you are doing.

I just have one question, though. What is "copy"? Did you mean "cp"?

Re: Copy content of image to sd card instead of whole image

Posted: Fri Jun 08, 2012 11:25 am
by angel6700
Joe Schmoe wrote:
I just have one question, though. What is "copy"? Did you mean "cp"?
Sorry, it's my error. Of course i mean cp.

Thanks for notifying that. I can not edit my post..