meddyliol
Posts: 118
Joined: Thu Mar 20, 2014 8:28 am
Location: South Wales

SD card copy

Mon Mar 24, 2014 3:24 pm

I have just received my Pi. It came with the software pre-installed on an 8 GB SD card. I think that it has various OS systems on it including Arch, Pidora, Raspbian and RaspBMC although as a complete beginner some of them might not be OS's. Anyway, before I fire the machine up I would like to make a complete copy of the SD card onto another one. Is it just a case of saving all the files onto my Macbook and then copying back onto a spare card?Or are there some hidden files on it? I wanted to have the Wheezy OS on but am not sure if that is one of the ones on the card. I have downloaded the Wheezy OS but am having problems putting it on an SD card. I used the line: sudo dd bs=1m if=~/Desktop/2013-09-25-wheezy-raspbian.img of=/dev/rdisk1. Is there any reason why this wouldn't work?

Thanks in anticipation

Brian
Raspberry Pi B, Raspberry Pi 2, monitor, powered hub, mouse, keyboard and Volvo V50 car

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: SD card copy

Mon Mar 24, 2014 3:32 pm

meddyliol wrote:I have just received my Pi. It came with the software pre-installed on an 8 GB SD card. I think that it has various OS systems on it including Arch, Pidora, Raspbian and RaspBMC although as a complete beginner some of them might not be OS's. Anyway, before I fire the machine up I would like to make a complete copy of the SD card onto another one.
You don't need to. The NOOBS package is available for free download in the 'Downloads' section of this website.
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

meddyliol
Posts: 118
Joined: Thu Mar 20, 2014 8:28 am
Location: South Wales

Re: SD card copy

Mon Mar 24, 2014 4:39 pm

Thanks for that. Is Wheezy part of the Noobs package?
Raspberry Pi B, Raspberry Pi 2, monitor, powered hub, mouse, keyboard and Volvo V50 car

User avatar
GTR2Fan
Posts: 1601
Joined: Sun Feb 23, 2014 9:20 pm
Location: South East UK

Re: SD card copy

Mon Mar 24, 2014 4:43 pm

Yes. :)
Pi2B Mini-PC/Media Centre: ARM=1GHz (+3), Core=500MHz, v3d=500MHz, h264=333MHz, RAM=DDR2-1200 (+6/+4/+4+schmoo). Sandisk Ultra HC-I 32GB microSD card on '50=100' OCed slot (42MB/s read) running Raspbian/KODI16, Seagate 3.5" 1.5TB HDD mass storage.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: SD card copy

Mon Mar 24, 2014 5:16 pm

No disagreement with what @gtr2fan has said, but to add a little to it -
I think that it has various OS systems on it including Arch, Pidora, Raspbian and RaspBMC although as a complete beginner some of them might not be OS's.
Assuming it contains the NOOBS installer, the NOOBS Documentation has a screenshot showing what it can install. There is nothing there that is not an Operating System. (Unless you want to quibble about whether things targetted at supporting a media centre is a full OS or not... )
before I fire the machine up I would like to make a complete copy of the SD card onto another one. Is it just a case of saving all the files onto my Macbook and then copying back onto a spare card?
As stated, there isn't really any need to do this, but - provided you do it BEFORE the card is ever used to boot up an RPi - all the files are clearly visible in a single 'fat' (windows-compatible) partition, so a simple copy is all that is needed to preserve them. Indeed, the opposite process is exactly what is done to create a NOOBS SD card in the first place.
I wanted to have the Wheezy OS on but am not sure if that is one of the ones on the card.
Confirmed above.
I have downloaded the Wheezy OS but am having problems putting it on an SD card. I used the line: sudo dd bs=1m if=~/Desktop/2013-09-25-wheezy-raspbian.img of=/dev/rdisk1. Is there any reason why this wouldn't work?
I am not a Mac user, but that looks right to me. There is documentation here - http://elinux.org/RPi_Easy_SD_Card_Setu ... ng_Mac_OSX
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: SD card copy

Tue Mar 25, 2014 3:00 am

My preinstalled NOOBS card had an old version on it. Instead of backing it up, I recommend you download the newest NOOBS and overwrite it. Seems a little backward, but it would have saved me some trouble, and updating it now might save you some.

Also, once you install an OS, issue the following commands from the command line to update your software packages and firmware (may take a while):
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update

meddyliol
Posts: 118
Joined: Thu Mar 20, 2014 8:28 am
Location: South Wales

Re: SD card copy

Tue Mar 25, 2014 3:50 pm

Thank you very much for your informative answers. I have just bought a Raspberry Pi Electronics Starter Kit RPI Starter Pack GPIO so am looking forward to playing with that. I haven't touched any programming since my HND days and have forgotten so much it worries me. 8-)

Thanks again

Brian

P.S. Expect lots of other questions in the future :)
Raspberry Pi B, Raspberry Pi 2, monitor, powered hub, mouse, keyboard and Volvo V50 car

Return to “Beginners”