Skip to content

Instantly share code, notes, and snippets.

@schlomo
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schlomo/b95914c989fd26e16ea9 to your computer and use it in GitHub Desktop.
Save schlomo/b95914c989fd26e16ea9 to your computer and use it in GitHub Desktop.
schlomo@brho:~/src/rpi-image-creator$ ./rpi-image-creator /dev/sdd
Switching over to run as root
Fetching http://downloads.raspberrypi.org/raspbian/images/raspbian-2015-02-17/2015-02-16-raspbian-wheezy.zip
Checksum of download/2015-02-16-raspbian-wheezy.zip: OK
Loop-back mounting temp/2015-02-16-raspbian-wheezy.img
Raspbian Image Details:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/loop0p1 56M 15M 42M 26% mnt/img_root/boot
/dev/mapper/loop0p2 2.9G 2.3G 462M 84% mnt/img_root
Modifying Image
Installed SSH keys from /home/schlomo, disabling password access
Removing unwanted packages wolfram-engine
| Can not write log, openpty() failed (/dev/pts not mounted?)
| (Reading database ... 76938 files and directories currently installed.)
| Removing wolfram-engine ...
| Purging configuration files for wolfram-engine ...
| Processing triggers for shared-mime-info ...
| Processing triggers for man-db ...
| Processing triggers for hicolor-icon-theme ...
| Processing triggers for desktop-file-utils ...
Installing Updates
| Can not write log, openpty() failed (/dev/pts not mounted?)
| (Reading database ... 70527 files and directories currently installed.)
| Preparing to replace xdg-utils 1.1.0~rc1+git20111210-6+deb7u2 (using .../xdg-utils_1.1.0~rc1+git20111210-6+deb7u3_all.deb) ...
| Unpacking replacement xdg-utils ...
| Processing triggers for man-db ...
| Can not write log, openpty() failed (/dev/pts not mounted?)
| Setting up xdg-utils (1.1.0~rc1+git20111210-6+deb7u3) ...
Preparing SD card in /dev/sdd
Copying files to SD card.
SD Card Details:
| Model: TS-RDF5 SD Transcend (scsi)
| Disk /dev/sdd: 31.4GB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number Start End Size Type File system Flags
| 1 512B 64.0MB 64.0MB primary fat32 boot, lba
| 2 64.0MB 31.4GB 31.3GB primary ext4
|
Filesystem Size Used Avail Use% Mounted on
/dev/sdd1 61M 15M 46M 24% mnt/sd_root/boot
/dev/sdd2 29G 2.0G 26G 8% mnt/sd_root
SD Card Creation finished, please wait for script to complete.
Script execution time: 295 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment