use windisk imager to copy your old sd card. use windisk imager to write that image to the new sd card use robert nelsons script to expand the new sd card to its full size its located in /opt/scripts
On 5/7/2016 9:52 PM, Kory De Angelo wrote: > > While developing an embedded system, my uSD card image with debian > became 3.5ish GB and I wasn't able to download further libraries. > > What should I do about this? I don't know how to move the image with > all the added files to a larger uSD... > > I have a 16 GB uSD that already has a stock image on it, if possible > can I erase then reuse that? how? > > I have a laptop with ubuntu/windows dual boot, and it has an sd card > slot... > > root@beaglebone:/var/lib/cloud9/grow-io# npm install --global gulp-cli > npm ERR! Error: Attempt to unlock gulp-cli, which hasn't been locked > npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11) > npm ERR! at cb (/usr/share/npm/lib/cache/add-local.js:30:5) > npm ERR! at /usr/share/npm/lib/cache/add-local.js:47:20 > npm ERR! at /usr/share/npm/lib/utils/locker.js:30:7 > npm ERR! at /usr/lib/nodejs/lockfile.js:161:38 > npm ERR! at Object.oncomplete (fs.js:108:15) > npm ERR! If you need help, you may report this *entire* log, > npm ERR! including the npm and node versions, at: > npm ERR! <http://github.com/npm/npm/issues > <http://github.com/npm/npm/issues>> > > npm ERR! System Linux 3.8.13-bone70 > npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--global" > "gulp-cli" > npm ERR! cwd /var/lib/cloud9/grow-io > npm ERR! node -v v0.10.42 > npm ERR! npm -v 1.4.21 > npm ERR! nospc ENOSPC, open 'npm-debug.log' > npm ERR! nospc This is most likely not a problem with npm itself > npm ERR! nospc and is related to insufficient space on your system. > > npm ERR! System Linux 3.8.13-bone70 > npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--global" > "gulp-cli" > npm ERR! cwd /var/lib/cloud9/grow-io > npm ERR! node -v v0.10.42 > npm ERR! npm -v 1.4.21 > npm ERR! path npm-debug.log > npm ERR! code ENOSPC > npm ERR! errno 54 > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /var/lib/cloud9/grow-io/npm-debug.log > npm ERR! not ok code 0 > > Inline image 3 > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google > Groups "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/fbacd2dd-d3ef-4a91-99a9-8bcee4116197%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/fbacd2dd-d3ef-4a91-99a9-8bcee4116197%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c2e8e225-f819-bf5d-aefe-9702ab3beb1f%40gmail.com. For more options, visit https://groups.google.com/d/optout.
