170 reputation
8
bio website fieldeffect.info
location
age
visits member for 2 years, 9 months
seen Nov 29 at 17:15

Love Jesus, love others


Nov
11
comment number of folders in a directory (recursive)
@TimothyMartin that makes sense.
Nov
11
comment number of folders in a directory (recursive)
Be cautious with the -R flag for ls. Check the output without the wc -l pipe, because I think ls -lR adds blank lines and dir names between files, which might throw off your count.
Nov
11
revised number of folders in a directory (recursive)
added 98 characters in body
Nov
11
revised number of folders in a directory (recursive)
added 41 characters in body
Nov
11
comment number of folders in a directory (recursive)
@jml - Someone else likely has something simpler, but find is my go-to for file finding & counting. The "meat" of this ugly expression is really just find -type d, which finds any directories.
Nov
11
revised number of folders in a directory (recursive)
added 41 characters in body
Nov
11
answered number of folders in a directory (recursive)
Oct
14
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
BTW - I noticed your other post, with the pastebin. You might be able to format your swap partition as ext4, and debootstrap that. Once booted you then debootstrap Linux in your main partition. Do you want me to post how to do this? I need to know what wifi card you have. Did it "just work" with Lubuntu? This is not "safe" (hopefully your guide is safer) but might work. The safest way is probably to figure out what's wrong with your boot process & fix it.
Oct
14
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
@Benjamin It is certainly not too much trouble-- so if you change your mind, definitely send me an e-mail. I've taken more than my own fair share of help when I've been in rough spots, so don't hesitate. I'm afraid trying fixes might brick your computer and you won't be able to get back online.
Oct
14
comment Update Corrupted GRUB; Can't Boot Right
@Benjamin what do you see on the black screen when it starts? Is it grub rescue>?
Oct
11
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
Or, if you have some nearby location that I can send a USB flash drive to you-- a church or whatever, send it to my e-mail address and I'll drop one in the mail on Monday with Lubuntu on it. I think you're going to need some kind of physical external drive to do this. AFAIK, it's not possible to resize a partition while it's in use; and even if you have a free partition, making it usable with debootstrap is tricky.
Oct
11
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
Ok, gotcha. You don't live in northern NJ by chance, do you? I'd be happy to help if so (my email is here if yes). If this is your only computer, I'm a little apprehensive to give you directions that could put you in a position where you might not have any computer, because this stuff could leave your computer in a worse state than it's in now, if you aren't 100% certain what's happening.
Oct
11
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
Also... Are you certain this is a GRUB issue? It does not sound like one to me. Have you tried reinstalling grub through grub-install?
Oct
11
comment Too many problems with GRUB2; need factory reset, but cannot fresh install
Are you saying you can't use a CD or USB at all? There are other options available, like PXE (network boot) or debootstrap, but neither are for the faint of heart. How much experience do you have with Linux? Do you have any unallocated space on your hard drive, or did you use the full disk when you set up Lubuntu?
Oct
3
comment Installing Linux on an unsupported USB device
You're welcome. Good luck... Looks like some of the links in the Stack Exchange EE answer are gone now... the Wayback Machine can be your friend in that case.
Oct
3
comment Installing Linux on an unsupported USB device
If this is the correct device it looks like it's an STM32 ARM Cortex-M3.
Oct
3
comment Installing Linux on an unsupported USB device
You may run into issues if the mfg. has tried to protect the device from tampering, though. I'm no expert but I believe it is possible to prevent hardware from running unsigned code etc.
Oct
3
comment Installing Linux on an unsupported USB device
@SlaveToTheNeedle at first blush this does not seem much different than trying to get a distro running on a phone, a router, an iPod, or any other embedded device. You might start by looking at those types of projects. If the processor is supported, the basic idea is that you'll probably try to find JTAG pins on the device, probably try to get uBoot or something similar on there, and get the Linux image stored in a flash memory. I have played around with dev boards before; probably similar. You need to figure out the processor & basic hardware first.
Oct
2
awarded  Teacher
Oct
1
suggested rejected edit on Suspend to RAM not working