Unable to burn image to SD Card.


23 posts
by Angelnet » Thu Aug 02, 2012 8:20 pm
I get an error when I try to use the Win32DiskImager to burn an Image. I have plain SanDisk SD card and I get the following error. I am using Windows 7.
Error:

"An error occurried when attempting to get a handle on the device.
Error 1:Incorrect function. " I switch different card but get the same error. Any help would be great.
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by POSitality » Thu Aug 02, 2012 9:50 pm
I get that message on startup, I think it comes from scanning my internal drives or something. The only thing I can suggest is:

a) use at least a 4GB card even if you think the image will only need 2GB.
b) check you can format and copy files to and from the card with just Windows (you might have a faulty card.)
c) make sure you run the Win32DiskImager as Administrator for Vista/Windows 7/etc.

Regards,

Andy
Posts: 18
Joined: Thu Aug 02, 2012 8:31 pm
Location: London
by drgeoff » Thu Aug 02, 2012 10:49 pm
Can you verify that the card reader is working OK? Do you have other cards that you can read with it?

Are you sure that the card reader supports SDHC cards? Old card readers (before cards exceeded 2 Gbyte) do not.
Posts: 2957
Joined: Wed Jan 25, 2012 6:39 pm
by Angelnet » Fri Aug 03, 2012 12:34 am
Thanks for replying.

I can use the card with windows and it has been formatted. I tried with another device with XP and the imager doesn't see any drives. I do have admin rights on the devices, but not sure what could be causing the problem.
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by Angelnet » Fri Aug 03, 2012 12:40 am
The card is 4GB, I was if there any other program that can burn an image to a SD card?
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by pjc123 » Fri Aug 03, 2012 1:03 am
Use the forum search tool. Other people are having problems with Win32DiskImager and have mentioned alternate tools.
Posts: 910
Joined: Thu Mar 29, 2012 3:37 pm
by Angelnet » Fri Aug 03, 2012 1:16 am
Thanks, I will use the search tool. Last question. When I format the SD card, do I use FAT32, correct?
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by felix123 » Fri Aug 03, 2012 6:07 am
It doesn't matter because when you write an image to the card, you will overwrite whatever format that was on it.
Posts: 153
Joined: Tue May 15, 2012 6:06 am
by mad-hatter » Fri Aug 03, 2012 6:38 pm
Hello,

Have a look at:-

Roadkil's DiskImage version 1.6 by Jason Hartley (Google)

Works fine on Windows 7 and other Windows versions.

Regards
Posts: 322
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the seaside
by Angelnet » Mon Aug 06, 2012 11:20 am
Thanks, Mad-Hatter. I will look into the software. I am also getting a new SD card as well as a USB reader just in case>
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by Angelnet » Mon Aug 06, 2012 1:53 pm
I downloaded and used the Roadkil Diskimager. The program seems to run with no problems. Now, the only thing is that I can read the SD card. When I insert the card, it prompts me to format. Once I select not to format, it says that a the volume does not contain a recognized file system. Is this normal? How do I verify the SD card is good to be used? Thanks

Regards.
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by mad-hatter » Mon Aug 06, 2012 3:23 pm
Hi,

If this is a new sd card, it will be unformated. You can format the card in a
digital camera or let Roadkil do it for you, after this it will write the image to the card.

Regards
Posts: 322
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the seaside
by mad-hatter » Mon Aug 06, 2012 6:37 pm
Hi,

To clarify, I don't think you nead to format. Just point Roadkil to the
image and to the SD card and tell it to write.

Regards
Posts: 322
Joined: Sun Feb 26, 2012 2:58 pm
Location: By the seaside
by drgeoff » Mon Aug 06, 2012 6:52 pm
mad-hatter wrote:Hi,

If this is a new sd card, it will be unformated. You can format the card in a
digital camera or let Roadkil do it for you, after this it will write the image to the card.

Regards

I've never yet encountered a new SD card that was not formatted. Any image writing program worth its salt should be able to write an image to a card regardless of presence/absence or type of filesystem already on the card.
Posts: 2957
Joined: Wed Jan 25, 2012 6:39 pm
by Angelnet » Mon Aug 06, 2012 9:26 pm
My apologizes, what I meant was that after using the roadkil program, I can not read the SD card with windows 7. I want to know if this is normal or there is an issue with the card? thanks

regards
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by obcd » Mon Aug 06, 2012 9:31 pm
It's possible that you need to close the program, and remove and reinsert the card afterwards. Windows will only see the fat boot partition of the card. The other partition is ext4, so windows can't see it.
Another program I can recommend is winhex. It also accesses usb drives on a sector based level.
Posts: 890
Joined: Sun Jul 29, 2012 9:06 pm
by Angelnet » Tue Aug 07, 2012 11:07 am
Thanks OBCD and everyone assisting,

YES, I device does recognize the SD card but does not see the file system, so I will look into Winhex.

Regards
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by alexchamberlain » Tue Aug 07, 2012 11:10 am
mad-hatter wrote:Hi,

If this is a new sd card, it will be unformated. You can format the card in a
digital camera or let Roadkil do it for you, after this it will write the image to the card.

Regards


Don't do this - it is a complete waste of time!
Developer of piimg, a utility for working with RPi images.
Posts: 121
Joined: Thu Jun 14, 2012 11:20 am
Location: Leamington Spa, UK
by Angelnet » Fri Aug 10, 2012 5:39 am
Still no luck;

Now I have two SD Cards, one SanDisk and the other is a Sony. I have tried to burn this image to both SD Cards on two laptop (Windows XP and Windows 7) internal reader and a 72 n 1 USB but all attempt failed. I did managed to burn the image using the flashnul file but the RPi doesn't recognized the image (single red light). The cards are from the lists online.
I have also used flasnul.exe, Roadkil program, win32diskimager doesn't work, I do notice that when I run the programs, I lost access to the card.
Its starting to be so frustrating to get this device to use.But I most press on. Eventually, I will get it somehow.
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by Angelnet » Sun Aug 12, 2012 4:28 pm
First I want to thanks everyone that reply to this post to help resolve the issue.

My first Sandisk card I was able fix the problem by formatting it with NTFS (reading from a post) then using Win32diskimager.

My second Sony card would not format in Windows so I downloaded and used SDformatter utility. Afterwards, I use also Win32diskimager.

Finally, I am able to use my RPi and teach my 10 year son about the RPi foundation and it's missin. Again thanks.

Keep up the great work everyone

Regards
Posts: 29
Joined: Thu Aug 02, 2012 4:38 pm
by Mi Amigo » Wed Sep 19, 2012 12:25 pm
I fell foul of this error message too and the solution I found (by trial and error) was to run Win32diskimager.exe as an administrator as opposed to a normal user. Just thought I'd post that here in case it's of help to anyone else in the future.
Posts: 1
Joined: Wed Sep 19, 2012 12:17 pm
by Paul Jurczak » Thu Sep 20, 2012 8:22 am
I tried Win32 Disk Imager 0.5 on Windows 7 and it fails to detect some SD cards, if they don't have small unallocated space (4MB) before the first partition. The cards are visible in File Explorer. I used GParted on Linux to look at and change partition layout.

Roadkil's Disk Image 1.6 detects much wider range of partition layouts.
Posts: 30
Joined: Wed Feb 22, 2012 11:46 pm
by Paul Jurczak » Thu Sep 20, 2012 9:04 am
Adding to my last post: when using Roadkil's Disk Image I select "Physical Disc n" not "Drive x" - otherwise RPi will not boot (see also "SD card doesn't show up in installer Device dropdown" topic).
Posts: 30
Joined: Wed Feb 22, 2012 11:46 pm