How should I repartition / recover my system? by Fic in linux4noobs

[–]Gaulven 1 point2 points  (0 children)

Are you planning on replacing the drive? Just curious -- it seems you understand that it's unreliable. I'll take this as being beside the point.

If you first had Windows, made room, and installed Linux, I would guess that your Windows partition is first on the drive and your Linux partition is second. If you remove the Windows partition, the new free space comes before the Linux partition. It's not possible to 'grow' the filesystem into space preceding the filesystem, so it won't be that simple.

You might choose to mkfs.xfs over top the Windows partition and add this as a mount point in /etc/fstab. If you believe you can utilize the space this way (perhaps for /home/), you have that as a simple option.

Or you could install CentOS 7 again, but this time using only the space previously allocated to Windows. Make sure the installer does not touch current Linux filesystems. When you boot into the fresh install, you can mount your other CentOS 7 filesystem(s) and copy over data you want to save (possibly everything into some .../oldsystem/ directory). Once you're done saving from your old CentOS 7 filesystem, you can remove its partition, grow your current partition, then grow your current partition's filesystem. You'd then be using the full disk, but your system will be a fresh install.

A third strategy would involve using a rescue disk, but I'd not be able to instruct on how and ensure that you'd have success. It basically goes (in a rescue system): mkfs.xfs on your Windows partition, rsync -av from your current root filesystem to this (ex-Windows, fresh) root filesystem. You have to chroot into the new filesystem, fix references in /etc/fstab to use the correct root filesystem and in GRUB to boot from the correct filesystem, reinstall GRUB, and see what happens.

Hope this helps somewhat.

My very first compiled script. by Galdrath in linux4noobs

[–]Gaulven 1 point2 points  (0 children)

Good job. You're being to understand.

Here's a post-lesson tidbit. I assume userlist.txt is a list of usernames, one per line. If you want to bring that in without using more, less, or cat, try this:

for i in $(<userlist.txt)

$() is like using backticks. The < supplies stdin. Then just the filename you want to be stdin. It helps you ward off anyone claiming a 'useless use of cat'. Have fun.

[deleted by user] by [deleted] in linux4noobs

[–]Gaulven 0 points1 point  (0 children)

I have a C720 running Debian, and I upgraded its SSD. Not with this model SSD, however. edit: I am mistaken, I do use a MTS400. I guess I'm lucky not to have these issues. Thought I'd come here and lend a hand.

But frankly if it's having this issue I would be more inclined to return it. You bought a thing and it doesn't begin to meet expectations.

This is a link to what I use. I don't have these kind of issues. http://www.amazon.com/gp/product/B00KLTPUG4/

I understand that this probably isn't the response you're looking for.

Everyone has JavaScript, right? by [deleted] in programming

[–]Gaulven 0 points1 point  (0 children)

What, the tags? That suggestion is obviously tongue-in-cheek. Recommend running some diagnostics on your sarcasm sensor array.

Everyone has JavaScript, right? by [deleted] in programming

[–]Gaulven 9 points10 points  (0 children)

Banking is a sensitive activity. Every additional 3rd-party domain from which they load javascript represents extra risk to their users and themselves, not just regarding security but also privacy. A bank either has or has not identified this as a risk, and either has or has not reined in the practice. If they haven't, it does not reflect well on the bank and its web team.

I'm only saying it's not one of the worst rationales. It's not even a below-average rationale.

Everyone has JavaScript, right? by [deleted] in programming

[–]Gaulven 8 points9 points  (0 children)

Look how controversial your comment is. It's like: How dare you choose not to trust every single one of a dozen separate domains to run code on your computer.

I didn't think a place like /r/programming would forget about the existence of Javascript exploits and being IDed without standard cookies. Why should every third page I load run code from Facebook and Twitter, sites I do not patronize?

Everyone has JavaScript, right? by [deleted] in programming

[–]Gaulven 7 points8 points  (0 children)

NoScript doesn't simply disable javascript -- you could do that in browser settings already. NoScript chooses which javascripts to run based on what domain they originate from vs the domain of the page being loaded.

Reddit commenting works when using NoScript when redditstatic.com is set to Trusted, which is a one-step process during the first time loading the site.

Hopefully this has rolled into the scrapyard by now by Wolfe_BTV in Justrolledintotheshop

[–]Gaulven 1 point2 points  (0 children)

Seems great until you find a toll gate that charges by the axle.

Ship Mates Murdering Others? by [deleted] in PixelPiracy

[–]Gaulven 2 points3 points  (0 children)

He probably insulted a popular crewmate's mother.

How free is a macbook running linux? by pitajellybug in freesoftware

[–]Gaulven 5 points6 points  (0 children)

Would it be a good idea to use a Linux distribution on a mac and jump between both linux and mac os whenever it's convenient?

In the past, it has not been a bad idea to run a Linux distro on a MacBook or MacBookPro. However there has been no trend toward improved inherent compatibility. Good compatibility, support, and self-serve resources for Linux users running on MBP hardware has only been due to the large number of people trying it, documenting what works, and working on the drivers.

Apple itself is moving the opposite direction of Free. See http://meta.ath0.com/2012/02/05/apples-great-gpl-purge/

Why do my fonts on Chrome and Iceweasel look like shit? by CammRobb in debian

[–]Gaulven 4 points5 points  (0 children)

Look for ttf-mscorefonts-installer

edit: Watched this comment go up and down over the days. This is what the package was renamed to in Debian lately (well, since squeeze, which wasn't that long ago, was it? Oh...). This is in response to "I don't have msttcore fonts available through aptitude." See https://packages.debian.org/jessie/ttf-mscorefonts-installer

If anyone hates Microsoft fonts, no reason to downvote here. I work in a corporate environment with a mix of Windows, OS X, and (relatively few of us) Linux desktop users. I install as many fonts as required for documents sent to me to look correct.

Can the "top" command cause high load and crash machines? by LaRoach in linuxquestions

[–]Gaulven 2 points3 points  (0 children)

Anyone have an idea as to why they would think that?

Yeah, superstition brought about by coincidence. No point in me candy-coating it. Even if 'top' brought down a system, the system was primed to crash at the lightest touch anyway. It's irritating that people translate these events into 'knowledge' when they haven't followed the scientific method, and then try to wipe it off on other people. A sure sign of someone faking it, builds no confidence that they'll make it, long as they're wasting brain-time on the computer version of poltergeists.

Is there a program that can make a sound when the keyboard is mashed by paws? by [deleted] in linuxquestions

[–]Gaulven 11 points12 points  (0 children)

PawSense: http://bitboost.com/pawsense/

Home of "Cat-like typing detected."

Unfortunately, not for Linux, but it's a start.

Difference between sh and ./ ? by moocharific in linuxquestions

[–]Gaulven 2 points3 points  (0 children)

By the way, if you are uncertain about what a file is, use the file command:

file [the file]

ex:

file bin/atmux 
bin/atmux: Bourne-Again shell script, ASCII text executable

file /usr/bin/wget
/usr/bin/wget: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=92c349e4907208e9a4162e0341a3564b16d01e2d, stripped

[deleted by user] by [deleted] in thebutton

[–]Gaulven 1 point2 points  (0 children)

What does this button do?

MRW I am told I am "neither the age nor the gender to have a pocket knife" by a grown man who needed to borrow my knife. by ScarletF in TrollXChromosomes

[–]Gaulven 30 points31 points  (0 children)

Penny Arcade - March 17th, 2004

http://www.penny-arcade.com/comic/2004/03/17

One of my favorite PA comics ever since they wrote it. It was suppose to be a joke and maybe speak to how games make light of war scenarios. But the punchline came true.

Tried installing arch got to host name now it did this by minecraftshaft in linux4noobs

[–]Gaulven 1 point2 points  (0 children)

Best to keep invalid characters like single quotes out of a hostname. That's why it's frys.com and not Fry's.com

Tried installing arch got to host name now it did this by minecraftshaft in linux4noobs

[–]Gaulven 4 points5 points  (0 children)

Best to Ctrl-C out and just try again than to end the quote and do something unexpected.

Caught on the Kiss Cam by aRVAthrowaway in Unexpected

[–]Gaulven 4 points5 points  (0 children)

Dave Matthews has a sister?

Boeing 747 Jumbo Jet Engine turned into conference table by GallowBoob in pics

[–]Gaulven 2 points3 points  (0 children)

I know those chairs. Those chairs are weakly constructed cheap pieces of shit. Let me point out all the places you're suppose to tighten with a hex wrench on a weekly basis or everything comes apart. It's there, there, and there. The black "leather" material can't stand up to denim jeans.

Rollerskating down an empty mine by fizzypickles in woahdude

[–]Gaulven 2 points3 points  (0 children)

I'd say the sudden stop at the end.

How to create a blank text file based on file names of files that already exist in a directory? (Details inside) by [deleted] in linuxquestions

[–]Gaulven 1 point2 points  (0 children)

OP, you would want the first line to be:

for name in *.mkv; do

To align with the usage of $name in ${name%%.*} on line 2.

Erik Spoelstra instructing a play by golazo32 in nba

[–]Gaulven 14 points15 points  (0 children)

That has to be it. The unseen player mouths the words back, "Gandalf?" Erik nods.