Raspbian Wheezy armhf Raspberry Pi minimal image

After the Debian Wheezy armel image I made a new one based on Raspbian armhf. This one is compiled with hard float support, so basically floating point operations are MUCH faster because they are done in hardware instead of software emulation :)

Features include:

  • A minimal Raspbian Wheezy installation (similar to a netinstall)
  • Hard Float binaries: floating point operations are done in hardware instead of software emulation, that means higher performances
  • Disabled incremental updates, means apt-get update is much faster
  • Workaround for a kernel bug which hangs the Raspberry Pi under heavy network/disk loads
  • 3.6.11+ hardfp kernel with latest raspberry pi patches
  • Latest version of the firmwares
  • Fits 1GB SD cards
  • A very tiny 118MB image: even with a 2GB SD there is a lot of free space
  • ssh starts by default
  • The clock is automatically updated using ntp
  • IPv6 support
  • Just 14MB of ram usage after the boot

Here is the link to download my custom image:

http://files2.linuxsystems.it/raspbian_wheezy_20140726.img.7z – London, UK
Checksum MD5: 1be9af7fcec38c7238229edf1c5cdb3c

Mirrors:
7zip: md5sum(1be9af7fcec38c7238229edf1c5cdb3c) – File size: 144MB
http://mirrors.node1.hadrill.org.uk/darkbasic/raspbian_wheezy_20140726.img.7z – Amsterdam, Netherlands (1)
https://debianer.puppis.uberspace.de/files/RaspberryPi/raspbian_wheezy_hardfp_20140726.img.7z – Frankfurt, Germany

You will have to extract the image with p7zip:

7za x raspbian_wheezy_20130923.img.7z

Then flash it to your SD with dd:

dd bs=1M if=raspbian_wheezy_20130923.img of=/dev/sdX

Finally, if you have an sd larger than 1GB, grow the partition with gparted (first move the swap partition at the end).

The root password is raspberry.

 

You will have to reconfigure your timezone after the first boot:

dpkg-reconfigure tzdata

The keyboard layout:

dpkg-reconfigure console-data

And the localization:

dpkg-reconfigure locales

 

It’s done, I hope you will enjoy it.

490 comments to Raspbian Wheezy armhf Raspberry Pi minimal image

  • I noticed that you were getting complaints about compression formats, so I’ve taken the liberty of recompressing them myself in two other formats.

    7zip: md5sum(e5b0d40f47a1fc2e4c2b80c99af538be) – File size: 118MB
    http://mirrors.node1.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.7z – Amsterdam, Netherlands (1)
    http://mirrors.node2.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.7z – New York, United States
    http://mirrors.node3.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.7z – Amsterdam, Netherlands (2)
    http://mirrors.node4.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.7z – Dublin, Ireland

    GZip: md5sum(a7c57e16acefa08f80bc8b862da7dfed) – File size: 164MB
    http://mirrors.node1.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.tar.gz – Amsterdam, Netherlands (1)
    http://mirrors.node2.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.tar.gz – New York, United States
    http://mirrors.node3.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.tar.gz – Amsterdam, Netherlands (2)
    http://mirrors.node4.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.tar.gz – Dublin, Ireland

    GZip: md5sum(9b7a0a1428a7d493a456685b296afecb) – File size: 164MB
    http://mirrors.node1.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.zip – Amsterdam, Netherlands (1)
    http://mirrors.node2.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.zip – New York, United States
    http://mirrors.node3.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.zip – Amsterdam, Netherlands (2)
    http://mirrors.node4.hadrill.org.uk/darkbasic/raspbian_wheezy_20130923.img.zip – Dublin, Ireland

    All of these should operate at gigabit speeds and are automatically synced. If you’d like FTP/SCP/other access to this folder, ping me an email and I’ll sort it out for you. This is a more permanent setup, so shouldn’t go down any time soon. :)

  • Nobody

    Then flash it to your SD with dd:

    dd bs=1M if=raspbian_wheezy_20130923.img of=/dev/sdX

    This is for linux, how about windows?

  • Martin

    Hi,

    just a linux newbie here.

    Can I use raspi-config on this one or is it incompatible even if I install it with apt-get?
    Currently using the official raspberry pi image which is full of unnecessary bloat for me.
    My usage just includes Samba, minidlna and transmission which I configure with ssh.
    I don’t use the desktop GUI but I might sometime in the future.

  • Trevor Brun

    Hi, and thanks for info.

    I’m new to the pi, and have a few queries: first, how to move swap file ?

    And when do I install the other bits, mpd,mpc, mpd-python, pyudev

  • Firstly – Thanks for this img file – its super useful! As a relative newbie to the Linux and Raspberry Pi scene, i struggled a bit with the expansion of the file system once it had been copied to the flash drive.

    To share my experience, / help any others that may have had the same problem – here were my steps:

    Download and unzip IMG file
    Burn to SD card using ‘Win32DiskImager’
    Load into Raspberry Pi
    Log in via SSH
    run command: “df -h” which gave me the rundown of where my filesystem was, in this case “/dev/mmcblk0p1″
    run command: “fdisk /dev/mmblk0″
    run commands: “d”, “3″, “d”, “2″, “n”, “p”, “2″, “return”, “return”, “w”

    (Breakdown on what that has just done)
    d – delete
    3 – third partition (in my case, the swap partition)
    d – delete
    2 – second partition (the root filesystem, 1 is the BOOT partition and shouldn’t be touched)
    n – create new partition
    p – primary
    2 – location
    return – confirm start block
    return – confirm end block
    w – write

    run command: “reboot” to reboot the system
    run command: “resize2fs /dev/mmcblk0″ to resize the new partition

    Done =)

    • syd

      reboot …and you end up with the NOOBS screen…
      then what?

      • Just noticed a few errors in my original post:
        run command: “fdisk /dev/mmblk0″
        should be: run command: “fdisk /dev/mmcblk0″
        – Missing ‘c’ in mmcblk

        run command: “resize2fs /dev/mmcblk0″
        should be: run command: “resize2fs /dev/mmcblk0p2″

        – Missing p2 on the end of the device to resize the correct partition.

        In response to you syd – with this distribution after reboot you get back to the login prompt… I’ve not seen any noobs screen on this distribution.

        • minh p

          Thank you Dan your steps work like a charm!

          Thank you darkbasic for an awesome built.

          Man you need to receive more recognition for your work.

    • Chris L

      Thanks Dan, that worked and was a quick way to extend the size to my 8Gb SD card
      But…. I’ve now got no swap file!
      And when “top” is saying:
      KiB Mem: 123072 total, 40216 used, 82856 free, 5056 buffers
      KiB Swap: 0 total, 0 used, 0 free, 18368 cached

      That’s not a lot of memory.
      Will have to remind myself how to create a swapfile in linux now!!

      • Chris L

        Actually that was quite easy – well I’m not creating a partition, just a swap file, but..

        dd if=/dev/zero of=/var/my_swap bs=1024 count=131072

        creates the swapfile
        activate right away (if you have to) with:
        mkswap -f /var/my_swap
        swapon /var/my_swap

        but MAIN thing – add to /etc/fstab –
        /var/my_swap none swap sw 0 0

        reboot and it will remember the swapfile.
        If you want to make the swapfile more than 128Mb just change the “count=131072″ to whatever Kb you need.

        • Chris L

          Slight edit – the mkswap command is essential – you MUST execute that.

          • Hey Chris, glad it worked out for you =)

            Yes my method removes the swap file all together, should have pointed that out really, but i’ve never found that my pi actually uses the swap file at all, so dont have a use or need for it being there.

            I guess it depends on what your using the pi for so if you need it, fair do’s.

            =)

            Now… do I get a Pi B+ or not… hmmm.

  • May I simply say what a relief to uncover somebody who truly understands
    whatt they’re discussing online. You definitely undderstand how too bring a problem to light and make it important.
    More and more peoole have to look at this and understand this side of tthe story.
    I was surprised that you aren’t more popular given that you surely
    have the gift.

  • Shawn King

    Hi guys,

    This is a very stupid question that I do not know. I just installed the Darkbasic minimal image in my Rpi, I plugged it into my TV and it boots up perfectly fine but then it asks me for a username and password and I have no clue what it is, any clues guys. What’s the default username and password combo for Darkbasic minimal image..?

    Thanks guys

  • Shawn King

    I see the root password is raspberry, and what’s the username pi or root..? I am sure I have tried them all and it is not working for me, any ideas as to why..?

  • far

    Default keyboard layout: qwerty. If youre using a qwert keyboard type z for y

  • Rob

    This is great, I use it as a basis for pretty much anything Pi related. Thank you :)

  • darkbasic

    New version: raspbian wheezy 20140701 available

    - New kernel.
    - New firmware.
    - rpi-update
    - wireless-tools
    - wpa_supplicant

  • Gaz

    Root password is *not* raspberry. I have verified the keymap.

    Did you change it in the last update?

    Thanks.

  • Hans Bossmann

    Hello,
    ist impossible to Login
    “Login incorrect”

    OK, I see, its the same as with the Questions before.
    But I didnt see an Answer:
    User: “pi”
    PW: “raspberrz” “y” = “z” depend on german keybord

    Thank You
    B.R.

  • try ‘root’ for a user, not ‘pi’

  • I´ve setup another mirror for the images:

    https://debianer.puppis.uberspace.de/files/RaspberryPi/ – Frankfurt, Germany

    Ping me, if there are any updates ;-)

  • mat JaDoel

    why still using kernel 3.6.11? the latest are

  • raspberry pi

    first of all when i check the memory usage it doesn’t use 14mb of ram and it thinks i have only 220mb. even though my pi has 520mb ram.

    i would like to know how to change the memory split, so i can use as small amount of ram as possible for gpu as it is not needed for a server

  • geeswe

    I have the same problem with RAM (whats wrong?):

    ——————————————————————————
    #cat /boot/config.txt | grep -v ‘#’
    gpu_mem=16
    ——————————————————————————
    ./vcgencmd get_mem arm && ./vcgencmd get_mem gpu
    arm=240M
    gpu=16M
    ——————————————————————————
    #free -m
    total used free shared buffers cached
    Mem: 231 37 193 0 4 17
    -/+ buffers/cache: 16 215
    Swap: 98 0 98
    ——————————————————————————
    #cat /proc/cpuinfo
    processor : 0
    model name : ARMv6-compatible processor rev 7 (v6l)
    Features : swp half thumb fastmult vfp edsp java tls
    CPU implementer : 0×41
    CPU architecture: 7
    CPU variant : 0×0
    CPU part : 0xb76
    CPU revision : 7

    Hardware : BCM2708
    Revision : 000e

    ——————————————————————————

    • flo

      Heyho,

      I had the same problem and just called ‘rpi-update’ and let it do his job. It downloaded the newest firmware and after one reboot my raspi allocated the whole 512mb mem. The ‘gpu_mem=16′ has to stay in the config.txt! Evidence: http://imgur.com/AmLGnAl

      flo

      • geeswe

        Awesome. The “rpi-update” to solve this problem. Initially I tried the manual update firmware (also Hexxeh), but without success. Thanks a lot :-)

  • raspberry pi

    how to i get rid of the login password on boot

  • Hi, I think your site mght be having browser compatibility issues.
    When I look at your blog sife in Ie,it looks fine but when opening in Internmet Explorer,
    it has some overlapping. I just wanted to give you
    a quick heads up! Other then that, fantastic blog!

    Have a look at my web-site: Whole Body Fitness

  • PeterHR

    Does 20140701 release work correctly with the Pi B+

    • darkbasic

      I think you will need a new firmware, but I already ordered a B+ and I will release a new image before the end of the month.

      • PeterHR

        Just tried 20140701 on the old B

        - did an apt-get update, rpi-update, reboot, apt-get update, apt-get upgrade

        Put it in the new B+ … boots fine, USB looks good, Ethernet doesn’t come up.

        will try noobs to verify it’s not the hardware.

      • PeterHR

        … it’s not the hardware :|

  • anonimous coward

    Nice job mate!

  • Peeq

    Hello!
    I had problem with install ssmtp package because missing “127.0.0.1 raspberry-pi” in /etc/hosts :).
    How u do Hard Float binaries? Send me please some link’s about it :).

  • Pranita

    Yes fine with the compressed image.
    But I don’t want ‘root’ login by default.
    Can I set ‘pi’ login with normal user authorities.

    • Pranita

      Yes fine with the compressed image.
      But I don’t want ‘root’ login by default.
      Can I set ‘pi’ login with normal user authorities.

  • […] Ich habe fuer solche RasPi-Spielereien ein Minimal-Image auf einer 1-GB-SD-Karte (bitte dortige Installations- und Konfigurationsanleitung beachten). Das […]

  • jason

    I’ve installed 20140701
    Linux raspberry-pi 3.12.23+ #692 PREEMPT Thu Jun 26 20:15:50 BST 2014 armv6l GNU/Linux

    I’ve tried to install splunkforwarder on it (which DOES work on raspbian)
    link here: http://www.splunk.com/download/universalforwarder , look for “arm”

    I can’t get it to work on 20140701, troubleshooting stuff there:
    splunk@pi:~/bin$ ldd splunk
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6ed3000)
    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6eb4000)
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d84000)
    /lib/ld-linux.so.3 => /lib/ld-linux-armhf.so.3 (0xb6ee7000)

    splunk@pi:~/bin$ objdump -t splunk
    splunk: file format elf32-littlearm

    it *should* work, I’m guessing the kernel isn’t arm7hl though is the clincher. Could this be the case? and if so, can I just compile a stock 3.12.23 using your config, or do you have some special patches applied?

    Cheers.

    • jason

      root@pi:/opt/splunkforwarder/bin# file splunk
      splunk: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, stripped

      root@pi:/opt/splunkforwarder/bin# file /bin/ls
      /bin/ls: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x7f981e03f231371c5feaaeab28d9e23639e57cd3, stripped

      root@pi:/opt/splunkforwarder/bin# ./splunk
      -bash: ./splunk: No such file or directory

      root@pi:/opt/splunkforwarder/bin# objdump -p splunk

      splunk: file format elf32-littlearm

      Program Header:
      PHDR off 0×00000034 vaddr 0×00008034 paddr 0×00008034 align 2**2
      filesz 0×00000120 memsz 0×00000120 flags r–
      INTERP off 0×00000154 vaddr 0×00008154 paddr 0×00008154 align 2**0
      filesz 0×00000013 memsz 0×00000013 flags r–
      LOAD off 0×00000000 vaddr 0×00008000 paddr 0×00008000 align 2**12
      filesz 0x0004373c memsz 0x0004373c flags r-x
      LOAD off 0×00043740 vaddr 0x0004c740 paddr 0x0004c740 align 2**12
      filesz 0x000003d4 memsz 0×00001470 flags rw-
      DYNAMIC off 0×00043740 vaddr 0x0004c740 paddr 0x0004c740 align 2**2
      filesz 0x000000f8 memsz 0x000000f8 flags rw-
      NOTE off 0×00000168 vaddr 0×00008168 paddr 0×00008168 align 2**2
      filesz 0×00000020 memsz 0×00000020 flags r–
      EH_FRAME off 0×00043734 vaddr 0x0004b734 paddr 0x0004b734 align 2**2
      filesz 0×00000008 memsz 0×00000008 flags r–
      STACK off 0×00000000 vaddr 0×00000000 paddr 0×00000000 align 2**0
      filesz 0×00000000 memsz 0×00000000 flags rw-
      0×70000001 off 0×00043728 vaddr 0x0004b728 paddr 0x0004b728 align 2**2
      filesz 0×00000008 memsz 0×00000008 flags r–

      Dynamic Section:
      PLTGOT 0x0004c914
      PLTRELSZ 0x000003e8
      JMPREL 0x0000de8c
      PLTREL 0×00000011
      REL 0x0000de64
      RELSZ 0×00000028
      RELENT 0×00000008
      DEBUG 0×00000000
      SYMTAB 0×00008188
      SYMENT 0×00000010
      STRTAB 0x0000a368
      STRSZ 0x000025ab
      HASH 0x0000c914
      NEEDED libdl.so.2
      NEEDED libpthread.so.0
      NEEDED libc.so.6
      INIT 0x0000e274
      FINI 0x0003a62c
      INIT_ARRAY 0x0004c904
      INIT_ARRAYSZ 0×00000004
      FINI_ARRAY 0x0004c908
      FINI_ARRAYSZ 0×00000004
      VERSYM 0x0000d9b8
      VERNEED 0x0000ddf4
      VERNEEDNUM 0×00000003

      Version References:
      required from libc.so.6:
      0x0d696914 0×00 02 GLIBC_2.4
      0x0d696917 0×00 03 GLIBC_2.7
      required from libdl.so.2:
      0x0d696914 0×00 04 GLIBC_2.4
      required from libpthread.so.0:
      0x0d696914 0×00 05 GLIBC_2.4
      private flags = 5000000: [Version5 EABI]

  • darkbasic

    New version: raspbian wheezy 20140726 available

    - New kernel.
    - New firmware.
    - Works with Raspberry Pi model B+

  • 20140726 version, on mine, network not working, I must edit /etc/network/interfaces manually to set static IP. the SSH can not login, I must edit too /etc/hosts.allow and add one line “ALL”

  • User Password raspberry pi = logged after you run the following command sudo passwd = you choose a password for root

  • […] Ihr findet das Image und seine Installation hier. […]

  • Chris

    Will this image support the new Pi B+ model?

  • Guillaume

    Hi,

    Thank U for your good work !
    Go on.
    It works with SSD card 8 Gb.

    I’ve got a “small” problem.
    The / partition is too short for me : 800 Mb.

    How to change it easily ?
    :)
    Thank U

    Guillaume from France

  • rane

    Thanks for this image! I have a problem with ETH communication though, it fails, does not even reply to PING, in version B board. In version A board it works. The regular Wheezy image works in both boards. Anybody else having similar problems?

  • rane

    Can’t find a solution to the above problem. Kern.log almost the same in the two cases (ETH OK / not OK) . In both

    Jan 1 02:00:18 rpi1 kernel: [ 3.284011] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet,

    But these lines appear only in one kern.log:

    Jan 1 02:00:18 rpi1 kernel: [ 16.530638] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
    Jan 1 02:00:18 rpi1 kernel: [ 18.081948] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

  • […] Raspbian Wheezy armhf Raspberry Pi minimal image […]

  • Thought I would share my commands to setup this image to be quite similar to a normal Raspbian image
    (resize partion, update, configure, sudo, add user, disable root)

    ## RESIZE PARTION ##
    fdisk /dev/mmcblk0
    p,d,2,d,3,n,p,2,ENTER,ENTER,w
    reboot
    resize2fs /dev/mmcblk0p2
    reboot

    ## UPDATE ##
    apt-get update
    apt-get upgrade
    rpi-update
    reboot

    ## CONFIGURE TIMEZONE ##
    dpkg-reconfigure tzdata

    ## CONFIGURE LOCALES ##
    ## SPACE to select or deselect a locale. ENTER to accept and proceed ##
    ## it_IT.UTF-8 UTF-8 selected by default. Remember to deselect this if not your locale ##
    dpkg-reconfigure locales

    ## CONFIGURE KEYBOARD ##
    ## For a standard US Keyboard -> “Select from full list” -> “pc/qwerty/US American/Standard/Standard” ##
    dpkg-reconfigure console-data

    ## ADD SUDO ##
    apt-get install sudo

    ## ADD NEW NON-ROOT USER ##
    ## Can change username and what groups to add it to. Groups below are same as stock Raspbian groups for pi user ##
    adduser pi
    usermod -G pi,adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev pi

    ## SWITCH TO NEW USER ##
    su pi

    ## DISABLE ROOT USER ##
    ## Just removing the root password ##
    ## To re-enable, just use the “sudo passwd” command ##
    sudo passwd -l root

    You should now have an up to date build with a non-root user to play with :)
    Hope this helps some people out :)

  • Also, here are instructions to install Raspi-Config

    ## Add Raspi-Config ##
    nano /etc/apt/sources.list
    ## Add Below Line ##
    deb http://archive.raspberrypi.org/debian/ wheezy main
    ## CTRL X to save ##
    wget http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
    apt-key add raspberrypi.gpg.key
    rm raspberrypi.gpg.key
    apt-get update
    apt-get install raspi-config

    Everything in raspi-config seems to work pretty good except for setting the keyboard

  • Found how to get keyboard configuration working in raspi-config
    apt-get install keyboard-configuration

  • Peter

    When building the image, would it be possible to create the partitions in this order:
    /boot 50M
    swap 100M
    / remainder

    That would simplify expansion to fill a bigger card

    Thanks

    • darkbasic

      I’m thinking about getting rid of the swap partition and use a file as swap instead. Any objection?

      • PeterHR

        Nope – as long as it still runs,
        actually mine is running without using swap – do we need it?
        could we have a little script something like ‘addswap.sh’ that
        * creates a file to use as swap,
        * adds the relevant line to /etc/fstab,
        * does a mount -a

        (and maybe another script to extend the filesystem to fill the sdcard :) )

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>