pastebin - collaborative debugging tool
kpaste.net RSS


Untitled
Posted by Anonymous on Fri 24th Jul 2015 09:06
raw | new post

  1. └─▪ sudo size=$(blockdev --getsize64 /dev/mmcblk0p1); dd of=file.img bs=1M count=0 seek=$((size/1024/1024)); losetup /dev/loop0 file.img; mkfs.ext4 /dev/loop0; dd if=/dev/loop0 of=/dev/sdb1 bs=1M
  2. blockdev: cannot open /dev/mmcblk0p1: Permission denied
  3. usage: sudo [-D level] -h | -K | -k | -V
  4. usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
  5. usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user name] [-u user name|#uid] [-g groupname|#gid] [command]
  6. usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
  7. usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u user name|#uid] file ...
  8. 0+0 records in
  9. 0+0 records out
  10. 0 bytes (0 B) copied, 9.949e-06 s, 0.0 kB/s
  11. /dev/loop0: Permission denied
  12. mke2fs 1.42 (29-Nov-2011)
  13. mkfs.ext4: Permission denied while trying to determine filesystem size
  14. dd: opening `/dev/loop0': Permission denied

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at