alfista2600
Posts: 34
Joined: Wed Jan 22, 2014 1:19 am

I'm in the twilight zone.... using dd to create SD failing

Wed Aug 03, 2016 6:03 pm

So,

since 2013 I've always refreshed SD cards using dd and a fresh RPi image.

Today, I've done this with three micro SD cards, and each time, after taking 55 seconds to transfer 1.3gb of Jessie Light Raspbian, I boot back into the exact same install that was on the Pi prior to applying the image. I've done this on a mac and on a linux box.

Code: Select all

sudo dd if=/Users/me/Downloads/2016-05-27-raspbian-jessie-lite.img of=/dev/rdisk4 bs=1m
I can't modify the partitions on the Mac or the linux box either, so something weird is up.

what happened to my brain?

fruit-uk
Posts: 609
Joined: Wed Aug 06, 2014 4:19 pm
Location: Suffolk, UK

Wed Aug 03, 2016 6:10 pm

Did you sync before unmounting?
Otherwise you may have three dead cards, unlikely but...

User avatar
B.Goode
Posts: 8045
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: I'm in the twilight zone.... using dd to create SD faili

Wed Aug 03, 2016 7:01 pm

When this question arose recently the poster eventually realised that the image being flashed was actually a backup of the previous configuration of the RPi. Might be worth double-checking... ?

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: I'm in the twilight zone.... using dd to create SD faili

Wed Aug 03, 2016 8:34 pm

Is it the right disk and did you unmount it first?
There are 10 types of people: those who understand binary and those who don't.

alfista2600
Posts: 34
Joined: Wed Jan 22, 2014 1:19 am

Re: I'm in the twilight zone.... using dd to create SD faili

Thu Aug 04, 2016 1:16 pm

I pulled another disk from a working, test pi and was able to execute my dd process successfully. I think it was a mix of a couple bad flash drives, bad record keeping, and frustration in unmounting/powering off. I cannot partition any of the bad drives with a mac or linux box, or my DSLR (it only formats the boot partition). It just seemed to be one of those bad technology days.

Now if I could figure out why 'motion' crashes with the PiCam...

Thanks for everyone's tips!

Return to “Advanced users”