Anobium
Posts: 6
Joined: Tue Feb 21, 2012 11:49 am

Re: Create SD from Fedora dist image

Sun Feb 26, 2012 8:53 pm

First post.  Glad to be here.

I have the image, I have the DD utiilty for Windows. I cannot create a valid SD.

This may be as simple as the incorrect size of SD card.

What is the minimum SD card size? I have a 2gb card but I get an error 87.

I am using the following command.

dd if=<fsp>debian.img of==\\.\e: bs=512k

Notes: <fsp> is the correct location of the image and the image file was renamed for ease of use.

The dd util progressing to write the errors with an error 87.

Thank you.

User avatar
Tass
Posts: 535
Joined: Sat Jan 21, 2012 11:15 am

Re: Create SD from Fedora dist image

Sun Feb 26, 2012 9:46 pm

Step one – try searching the forum

I presume your title is a typo (Fedora) as the command you're using refers to debian?  2GB card should be fine (I used 2GB), but I've seen some posts warning about certain 2GB cards not *quite* being 2GB, and therefore not big enough. I've got 27MB from on my card.

Get yourself the latest version of DD and take a look at this post (this worked for me):

http://www.raspberrypi.org/for.....to-sd-card

Of use something like Win32DiskImager (one-click UI):

http://www.raspberrypi.org/for.....to-sd-card

User avatar
Chromatix
Posts: 430
Joined: Mon Jan 02, 2012 7:00 pm
Location: Helsinki

Re: Create SD from Fedora dist image

Sun Feb 26, 2012 10:27 pm

I found that the Debian image fits my 2GB SanDisk Ultra precisely.  Other manufacturers' cards are likely to be slightly larger or smaller.  Larger is no problem, of course.

The image actually contains three partitions: boot (FAT32), root (ext4) and swap.  On a card that is too small, it is the swap partition that gets clobbered.  So you could delete the last partition from it (after writing as much as will fit), and there's a pretty good chance that it will work to at least some extent.

You could also replace the swap partition with a correctly sized one, if you know how.  It is not very difficult, and I'm sure instructions could be written.

The best idea is probably to wait until the Fedora release really happens, which should be tomorrow.  Rumour has it they have some kind of installer, which I suspect would be able to cope much better with variably sized cards.
The key to knowledge is not to rely on people to teach you it.

User avatar
piglet
Posts: 915
Joined: Sat Aug 27, 2011 1:16 pm

Re: Create SD from Fedora dist image

Mon Feb 27, 2012 10:40 am

Here's a Ubuntu 11 screenshot of the deb image on a 16GB card written by Win32DiskImager with both partitions mounted, and gparted showing the paritions on the card:


User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1665
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: Create SD from Fedora dist image

Mon Feb 27, 2012 11:09 am

Hi Anobium, I have done a blog post about this.  It should be fairly easy to follow.

Return to “General discussion”