poseidon
Posts: 21
Joined: Thu May 31, 2012 9:23 pm

Copy content of image to sd card instead of whole image

Thu Jun 07, 2012 6:55 am

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

User avatar
praest76
Posts: 29
Joined: Fri Sep 02, 2011 11:33 am
Location: Newark on Trent, Nottinghamshire
Contact: Website

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

Thu Jun 07, 2012 7:54 am

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?
PRAEst76 [about.me/praest76]
  • Pi¹ - xibalba: OpenELEC, media centre
    Pi² - erebus: Debian Sid, general shell
Raspberry Pi Last.fm group - last.fm/group/Raspberry+Pi

poseidon
Posts: 21
Joined: Thu May 31, 2012 9:23 pm

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

Thu Jun 07, 2012 8:53 am

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

angel6700
Posts: 27
Joined: Fri Jun 01, 2012 5:19 pm

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

Thu Jun 07, 2012 11:29 am

Hello,
I posted a solution to this. chek if it's usefull fo you:
http://www.raspberrypi.org/phpBB3/viewt ... 617#p89617

regards.

User avatar
grumpyoldgit
Posts: 1452
Joined: Thu Jan 05, 2012 12:20 pm

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

Thu Jun 07, 2012 11:43 am

It only takes a couple of minutes to resize a partition with gparted.

poseidon
Posts: 21
Joined: Thu May 31, 2012 9:23 pm

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

Fri Jun 08, 2012 7:12 am

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

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

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

Fri Jun 08, 2012 8:01 am

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"?
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

angel6700
Posts: 27
Joined: Fri Jun 01, 2012 5:19 pm

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

Fri Jun 08, 2012 11:25 am

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..

Return to “Arch”