freemp
Posts: 1
Joined: Tue Mar 11, 2014 5:33 pm

Formatting sd card

Tue Mar 11, 2014 5:42 pm

Hi everybody
First, excuse me for my english.

I have formatted my SD card with EaseUs partition Master in FAT16 and I wanted to re install my Raspbian image inside (but with all my documents).
In fast, before the formatting, I saved all the files of the SD card on my computer.
Next, I wanted to re install the SD card, so i copyed all the files on the SD card and it didnt booted.

I have found on internet that it's because i needed to "burn" the images on the sd card.
But i have three problems.

First, I have 2 images (kernel and kernel_emergency). Which one should I burn ??
Next, when I burn kernel OR kernel_emergency on the SD card (cause we can't burn two images right ?), the Raspberry does'nt boot.
Also, I have some other files around config, fixup... (screenshoot)
Capture.PNG
Capture.PNG (23.45 KiB) Viewed 1346 times
And after I burn my SD card image, I can't access to the SD card with windows (the folder can't open), so I can't add those files.

So, my question is : how to re install properly my SD card with all the files of the screenshoot (those files are the files that were on the SD card before formatting, and Raspbian worked well before).

Thanks a lot.

PS : if you wonder why i formatted my SD card, it's because Raspbian was installed on a 2GB SD card and I needed more space, so I copied the files on the 2GB SD on my computer, I formatted my 4GB SD and that's where I am (I can't install datas on my 4GB).

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5621
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Formatting sd card

Tue Mar 11, 2014 6:35 pm

freemp wrote:Hi everybody
First, excuse me for my english.
I have formatted my SD card with EaseUs partition Master in FAT16 and I wanted to re install my Raspbian image inside (but with all my documents).
In fast, before the formatting, I saved all the files of the SD card on my computer.
Next, I wanted to re install the SD card, so i copyed all the files on the SD card and it didnt booted.
I have found on internet that it's because i needed to "burn" the images on the sd card.
But i have three problems.
First, I have 2 images (kernel and kernel_emergency). Which one should I burn ??
Next, when I burn kernel OR kernel_emergency on the SD card (cause we can't burn two images right ?), the Raspberry does'nt boot.
Also, I have some other files around config, fixup... (screenshoot)
Capture.PNG
And after I burn my SD card image, I can't access to the SD card with windows (the folder can't open), so I can't add those files.
So, my question is : how to re install properly my SD card with all the files of the screenshoot (those files are the files that were on the SD card before formatting, and Raspbian worked well before).
Thanks a lot.
PS : if you wonder why i formatted my SD card, it's because Raspbian was installed on a 2GB SD card and I needed more space, so I copied the files on the 2GB SD on my computer, I formatted my 4GB SD and that's where I am (I can't install datas on my 4GB).
Unfortunately, since you appear to have used a Windows PC to save "all the files of the SD card" it is likely that you have failed to do so because Windows only understands the first (FAT16) partition of a Raspbian "image" (the kernel files are not the image). That partition contains the boot and firmware files that are used by the Pi in loosely similar fashion to the BIOS on a PC. The majority of the O.S. (and your data, programs etc.) reside(d) in a Linux "ext4" partition as shown via GParted running on a Ubuntu Linux netbook here:
http://www.cpmspectrepi.webspace.virgin ... 22B2.22_Pi
To install a fresh "raw image" of Raspbian on your 4Gb card see here: http://www.raspberrypi.org/downloads
However, given that you appear to be Windows-based, if you may find the NOOBS installation method easier, but that works best with an 8Gb card because Raspbian itself now needs ~4Gb.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

johndough
Posts: 254
Joined: Sun Jan 13, 2013 2:00 pm

Re: Formatting sd card

Tue Mar 11, 2014 6:53 pm

Hi

Can you boot your windows machine from a live linux cd?

If you can then you should be able to view your 2 gig card.

Create a folder on your windows disk and place the image(s) there.

Then view your 4 gig card and try and replicate the file structure copying from the folder placed in windows.

Please take this 1 step at a time, so

Can you boot from a live DVD....

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

Re: Formatting sd card

Tue Mar 11, 2014 7:07 pm

The same can be achieved from a Windows PC using MiniTool Partition Wizard Home Edition. It's how I copy my Ext4 partitions from SD cards to an HDD for running purposes. It can also copy them back to an SD card.

http://www.majorgeeks.com/files/details ... ition.html
Last edited by GTR2Fan on Tue Mar 11, 2014 7:08 pm, edited 1 time in total.
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
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5621
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Formatting sd card

Tue Mar 11, 2014 7:07 pm

johndough wrote:Hi
Can you boot your windows machine from a live linux cd?
If you can then you should be able to view your 2 gig card.
Create a folder on your windows disk and place the image(s) there.
Then view your 4 gig card and try and replicate the file structure copying from the folder placed in windows.
Please take this 1 step at a time, so
Can you boot from a live DVD....
Unfortunately the O.P.'s already re-formatted his 2Gb card. However, that's still a good approach in other circumstances (I tend to keep one or two USB-stick-based Live distro's on hand for "emergencies").
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Return to “Troubleshooting”