How to install git and gitk on Bash on Ubuntu on Windows 10

gitk on Bash on Ubuntu on Windows 10You may have heard about “Bash on Ubuntu on Windows”. If not, you can check out my post on Bash for Windows 10.

First, you’ll need to make sure you have the Windows 10 Anniversary Update, which you’ve probably received automagically by now.

Then, you’ll need to manually install Bash on Ubuntu on Windows to get your bash prompt.

When you’re done, you’ll probably listen to Microsoft when they say “no GUI stuff!” on bash… But actually, you can set yourself up with a lovely development environment including git – and even gitk – right in Windows.

And it’s much easier than you might think…

Read more…

The Windows 10 Summer Update will include… Linux?!

Ubuntu Bash + Windows 10This summer, Windows 10 will be 1 year old. Microsoft recently announced that they’ll be releasing another “major” update for their latest OS around this time.

Most of the new features are nothing terribly earth-shattering. Probably the most impactful change to most users will be a slight modification to the Start Menu.

For power users, however, they’ve got something rather big planned: Windows 10 will soon include the Ubuntu Linux Bash shell (probably as an optional app/download).

What in tarnation is going on here?!

Read more…

GRUB Reinit: Repair or Replace GRUB in One Easy Step

If you have a dual-boot setup on your computer involving some flavor of linux, at some point you will most likely encounter a problem with GRUB, the linux bootloader.

For example, maybe you used a tool like Paragon Hard Disk Manager Suite to resize your OS partitions. Then you tried to reboot, and you got a GRUB error message followed by the GRUB rescue prompt.

There are several ways to reinitialize GRUB, and most of them involve live CDs and mounting partitions and all kinds of other tricks that will probably make you crazy unless you’re a command-line commando in linux.

Well, I don’t mind the command line, but I also have better things to do.

Fortunately, there is a MUCH easier way to save the day: Boot-Repair!

Read more…

Severe GRUB Problem in Ubuntu 11.04 Natty Narwhal

If you’re using Ubuntu Server 10.10 and you get the upgrade notice for 11.04 “Natty Narwhal”, you might want to hold off a bit before taking the plunge and typing “do-release-upgrade”.

It seems there is a rather severe problem with GRUB 2. If you have a RAID setup – and even if you don’t – GRUB may not load at all upon reboot, leaving you with a bricked server.

There doesn’t seem to be a fix for it. In fact, I do believe the name of the release should be changed to “Nasty Narwhal”.

Here’s the scoop.

Read more…

Linux Tips and Tricks, Part 2

LinuxClick here to read Part 1!

I’m going to assume that you know how to do some basic stuff in Linux. In other words, if you don’t know what a command line is, or how to traverse directories, this might not help you much.

I should also note that my preferred flavor of Linux is Ubuntu. These commands will work on Ubuntu, but I can’t make any guarantees for other distributions. Best to just try them out and see what happens!

Without further ado, here are some more of the top linux tips and tricks that I have gathered over the years…

Read more…

Installing ImageMagick from Source on Ubuntu

I like Ubuntu Server. I really like apt-get, because I don’t have to do any work at all to install stuff. It’s a piece of cake.

Unfortunately, sometimes installing using apt-get doesn’t work, or maybe the software I need isn’t the latest and greatest version on the Ubuntu repository. In such cases, there’s only one option left: installing from source.

That means downloading, extracting, configuring, building, debugging, etc. Most people shy away from doing this because it isn’t fast and easy, and stuff can break.

I recently had the opportunity to install the latest version of ImageMagick on an Ubuntu server, and it was a lot easier than I thought it would be!

Here’s how you do it…

Read more…

Upgrade Your Motherboard Without Reinstalling your OS

Computer UpgradeIf you’re one of those people who likes to build and upgrade your own computers, or if you have just decided to make your first attempt at upgrading an older system, there is one thing you may be wondering: Do I have to reinstall my OS?

Unfortunately, most people I talk to say one of two things:

  1. “I just always reinstall the OS.”
  2. “I upgraded once and I didn’t have to do anything to the OS, so that’s what I’m going to try this time.”

Well, Option #1 will certainly work all the time, no matter what. As for Option #2, whether or not the OS will boot depends on the hard disk controller driver. So, just because #2 worked for one upgrade doesn’t mean it will work for another.

Fortunately, whether you use Windows or Linux, there is a very easy way to prepare for a motherboard upgrade.

Read more…

Linux Tips and Tricks, Part 1

LinuxI’m going to assume that you know how to do some basic stuff in Linux. In other words, if you don’t know what a command line is, or how to traverse directories, this might not help you much.

I should also note that my preferred flavor of Linux is Ubuntu. These commands will work on Ubuntu, but I can’t make any guarantees for other distributions. Best to just try them out and see what happens!

Without further ado, here are some of the top linux tips and tricks that I have gathered over the years…

Read more…