Results 1 to 3 of 3

Thread: Error creating a Custom Image for Raspberry Pi

  1. #1
    Join Date
    2015-Jan
    Posts
    4

    Error creating a Custom Image for Raspberry Pi

    I'm trying to build a custom image for my Raspberry Pi. I've got my arm-stuff folder following theese instructions
    http://docs.kali.org/armel-armhf/kali-linux-arm-chroot
    All seems to be ok, but when I try to build the img file with dd, cannot write it...

    root@kali:~/arm-stuff/images# dd if=/dev/zero of=kali-custom-rpi.img bs=1MB count=5000
    dd: writing 'kali-custom-rpi.img': No space left on device
    13+0 records in
    12+0 records out
    12935168 bytes (13 MB) copied, 1.54371 s, 8.4 MB/s
    root@kali:~/arm-stuff/images#

    After that anything works...I'm following the specific instructions of kali-book to build an image for the rspberry pi and I'm using an sd with 64Gb...don't know what I'm doing wrong...

  2. #2
    Quote Originally Posted by Wazabee View Post
    root@kali:~/arm-stuff/images# dd if=/dev/zero of=kali-custom-rpi.img bs=1MB count=5000
    dd: writing 'kali-custom-rpi.img': No space left on device
    I suggest that you double check your DD command. It doesn't look like your writing to your SD card, which is why you are running out of space...
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  3. #3
    Join Date
    2015-Jan
    Posts
    4
    Thanks for the answer g0tmi1k, but I really don't understand, maybe because I don't understand what I'm doing with the DD command. When I run DD, I get a file called kali-custom-rpi.img on the "images" folder, and there is where it has to be written. But don't wants to work. When you say that I have to double check my DD command, what do you mean...? Do you mean that I have tochange "/dev/zero/" for the drive where is mounted the sd card? I've run a fdisk -l and my SD card is on "mcblk0". Maybe the DDcommsnd it has to be "dd if=/dev/mcblk0 of=kali-custom-rpi.img bs=1MB count=5000" . I'm really noob with that and don't understand so many things...

Similar Threads

  1. Creating custom command in Nethunter Nexus 6p to reset HID
    By pattap in forum NetHunter General Questions
    Replies: 0
    Last Post: 2017-02-13, 15:37
  2. Failed creating a non-PAE custom build
    By Luzifer_am in forum Building Archive
    Replies: 2
    Last Post: 2015-09-01, 16:16
  3. Raspberry Pi Image (Custom Cross-Compiled Kernel w/IPTables support)
    By Binary Overlord in forum Building Archive
    Replies: 0
    Last Post: 2013-11-04, 22:28
  4. Custom Pi Image
    By agabriel in forum Building Archive
    Replies: 1
    Last Post: 2013-09-22, 14:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •