How to fix a non-working Windows hard drive on Linux

Do you have a dirty Windows hard drive running the NTFS file system, are experiencing issues with it and don’t feel like rebooting into Windows?  If so, don’t worry! It is possible to fix up a non-working Windows hard drive running Microsoft’s NTFS file system directly from the terminal, and it’s called NTFS-fix.

Install NTFS fix

The NTFS fix tool doesn’t come pre-installed on Linux. Furthermore, most Linux distributions cannot interact with NTFS file systems natively. So, before we can get into how to clean up a hard drive running the Windows file system, we must go over how to set up your Linux OS to be able to interact with the hard drive by installing Ntfs-3g, and some other packages.

To start the installation of NTFS fix, open up a terminal window by pressing Ctrl + Shift + T or Ctrl + Alt + T on the keyboard. Then, follow the command-line instructions that match your Linux operating system below.

Ubuntu

On Ubuntu Linux, the NTFSFix app isn’t installable with its specific package. Instead, the  Ntfs-3g package which adds in support for Microsoft Windows NTFS file system will also provide the NTFS fix application.

To install the Ntfs-3g package on your Ubuntu system, use the following Apt command below.

sudo apt install ntfs-3g -y

Debian

Debian Linux is very similar to Ubuntu when it comes to NTFS Fix, as it doesn’t distribute the app as a unique package, but rather as a small piece of the Ntfs-3g package (which gives NTFS support to Linux).

If you’re on Linux and you need this package, go to the terminal window and use the Apt-get command below.

sudo apt-get install ntfs-3g -y

Arch Linux

To gain access to the NTFS Fix utility on Arch Linux, you must load up the NTFS-3g package. However, you should know that the NTFS-3g package is only available in the “Extra” software repository, which needs to be enabled.

Enable extra by opening up your Pacman configuration file using the Nano text editor.

sudo nano -w /etc/pacman.conf

Scroll through to find “Extra” and remove the “#” symbol from the “Extra” line to enable it. Then, remove the # symbols from all of the lines directly below it.

Save the edits to the configuration file in Nano by pressing Ctrl + O, exit with Ctrl + X, and install the package with:

sudo pacman -Syy ntfs-3g

Fedora

On Fedora Linux, support for NTFS and the NTFS Fix app are split between two packages. The Ntfs-3g package and the Ntfsprogs package. To install both on your Fedora system, enter the Dnf command below.

sudo dnf install ntfs-3g ntfsprogs -y

OpenSUSE

OpenSUSE handles NTFS Fix as the Fedora project does. The NTFS userspace driver is in the Ntfs-3g package, while the NTFS Fix utility, and all other things are in the ntfsprogs package. To get everything working, enter the Zypper command below.

sudo zypper install ntfs-3g ntfsprogs

Using NTFS Fix

The NTFS Fix tool is very easy to use on Linux, as the command’s syntax and options are very well explained in the “help” area of the command.

Note: to access the “help” section, run ntfsfix --help.

To clean up an NTFS filesystem hard drive on Linux with the NTFS fix, start by identifying the drive label of it in the terminal. The quickest way to identify a hard drive’s label on Linux is to use the lsblk command. In the terminal, execute the command below.

lsblk

Look through the drive tree that the lsblk command prints out on screen and do your best to identify the label and partition of your Windows/NTFS hard drive. Unsure what to look for? Check out our in-depth guide on how to find hard drive information on Linux. It goes over the lsblk command much deeper than we can here.

Once you’ve got the label of your Windows/NTFS hard drive and the partition you’d like to scan, pipe it into the command below to run NTFS Fix. In this example, the drive label is /dev/sdX1. Be sure to replace it with your actual drive label.

Note: keep in mind that running this tool doesn’t work 100% of the time. Sometimes, if NTFS Fix can’t take care of the problem, you must boot into Windows and run a chkdsk.

sudo ntfsfix /dev/sdX1

Let the command run its course. When done, everything on your NTFS drive should be in working order!

Clear bad sectors

Need to clear out some bad sectors on your NTFS hard drive? The NTFS Fix can take care of it! Just use the “clear-bad-sectors” command-line switch.

sudo ntfsfix --clear-bad-sectors /dev/sdX1

Clear dirty flags

The NTFS Fix tool can clear any “dirty flags” on an NTFS drive if the “clear-dirty” command-line switch is used.

sudo ntfsfix --clear-dirty /dev/sdX1

Read How to fix a non-working Windows hard drive on Linux by Derrik Diener on AddictiveTips – Tech tips to make you smarter

Windows 10 Now Lets You Reply to Your Android Notifications

Microsoft

Windows 10’s powerful “Your Phone” app is getting better. It already lets you mirror your Android phone’s notifications to your PC, and now it will let you use inline replies to reply directly to any notification.

This feature is now going live for Windows Insiders. If you use Android notification mirroring on your PC, you’ll be able to type a reply directly into a notification to reply to a message in any app that supports Androids’ inline replies. This was announced by Aarthi Hatter, a Microsoft senior program manager, on Twitter.

Assuming you’ve already set up Android notification mirroring, you don’t have to enable anything extra—this feature will just arrive for you within the next few months after Microsoft finishes testing it with Windows Insiders.

Windows 10’s Your Phone app already lets you send SMS messages from your PC, but this new feature will let you engage in other conversations without pulling out your phone.

RELATED: Why Android Users Need Windows 10’s “Your Phone” App

How to shut down a Linux PC that won’t turn off

Have you ever attempted to shut down a Linux system, only to find that it refuses to power off? We’ve all been there! Even the greatest open source technology has problems sometimes! If you’re sick of having to hit the power switch to shut down an unresponsive Linux PC, or, maybe you can’t physically turn it off as it is a remote machine, this guide is for you! Here’s how to shut down a Linux PC that won’t turn off!

Note: when forcing a Linux system to power off, data loss can happen. Always make sure that your data is backed up regularly, to prevent loss. For help on ways, you can back up your files on Linux, click here!

Method 1 – poweroff

The first way that a Linux system can be shut down is by making use of the poweroff command. This command instantly shuts down your Linux system with no warning. To make use of this command, you must access an emergency terminal window in TTY mode.

To access the TTY mode on your Linux system, press Ctrl + Alt + F2. Once you’ve opened up the TTY emergency console, find the login screen and type “root” as the user. Alternatively, use a username, if the root account is disabled.

If you’ve logged in with the root account, type in poweroff into the command-line console to instantly shut everything off.

poweroff

Or, do sudo -s to gain root access with a normal user, then do:

poweroff

Can’t access TTY, as you’re using a remote connection? Gain root on your SSH remote console with:

su -

Or:

sudo -s

Then, with root access, type in the poweroff command to instantly shut the remote machine down.

poweroff

Method 2 – reboot

The reboot method is another way to take control of a Linux system, and force it to reboot. You may want to go with this method, as opposed to poweroff, as sometimes the poweroff command has issues working.

To make use of the reboot command, you need to have access to the TTY console. To access it, press Ctrl + Alt + F2 on the keyboard. Then, when the command-line console appears, enter “root” into the userbox to log in with root access. Or, if you disabled root access, log in with a traditional user account.

With the root account logged in, make use of the reboot command to restart the Linux system, effectively forcing it to turn off, and back on again.

reboot

The reboot command also has the ability to power off a system entirely, with the help of a command-line switch. This switch, known as “f” will to tell the reboot command to shut off the Linux system entirely, rather than restart. To use it, enter the command below.

reboot -f

Using a traditional user account, rather than the root user? Do:

sudo reboot

Or shutdown with:

sudo reboot -f

Those not able to use TTY mode should execute the following commands into a terminal session. Be sure to use “-f” if you want to make the reboot command force a shutdown.

Root:

su -
reboot

Or

sudo reboot

Method 3 – systemctl poweroff/reboot

The Systemd init system is built into most Linux operating systems these days. One of the most significant benefits to using the Systemd init system is that it has a lot of uses that are easy to understand, as the command-line syntax is simplified.

If you’re trying to shut down a Linux PC, and you can’t make use of the “poweroff” or “reboot” commands, using systemctl poweroff is just as good, as it tells the Systemd init system (the tool that helps your Linux system turn on and off and do lots of other stuff) to shut everything down.

Like all other commands in this tutorial, the best way to force a system to shut off, especially if it’s frozen, or unresponsive is to gain access to the TTY emergency console by pressing Ctrl + Alt + F2.

Once the TTY emergency console is up on the screen, enter “root” into the userbox to log into the root account and gain root command-line access. Or, log in with a traditional user if you can’t use the root account. From there, run the systemctl poweroff command to power everything off instantly.

systemctl poweroff

Or, if you’re using a traditional user, do:

sudo systemctl poweroff

Not able to use TTY mode? Enter the following commands in an SSH terminal.

su- 

systemctl poweroff

Reboot

The Systemd poweroff command forces everything to shut down, but if that doesn’t work, consider trying the systemctl reboot command to force the machine to restart.

systemctl reboot

Or, for a traditional user, make use of the sudo command.

sudo systemctl reboot

Lastly, if you’re not able to access TTY mode to reboot, try running the following command below.

su - 

systemctl reboot

Read How to shut down a Linux PC that won’t turn off by Derrik Diener on AddictiveTips – Tech tips to make you smarter

How to Create an Organizational Chart in PowerPoint

Whether for business or a family tree, it’s easy to create an organizational chart using SmartArt in Microsoft PowerPoint. Let’s get started.

Head to the “Insert” tab and then click “SmartArt.” In the Choose a SmartArt Graphic window that opens choose the “Hierarchy” category on the left. On the right, click an organization chart layout, such as “Organization Chart.” When you’re done, click “OK.”

Click a box in the SmartArt graphic, and then type your text.

Type the text you want to replace the placeholder text. Click on each additional text box in the SmartArt graphic and then type your text in those, as well.

Here’s an example of what your organizational chart might look like so far:

Read the remaining 10 paragraphs

Daily News Roundup: Slack’s New Desktop App is Harder, Better, Faster, Stronger

Slack unveiled a new version of its desktop app yesterday, and it promises a significant boost in performance. Thanks to a complete overhaul, the app will supposedly launch 33 percent faster and use 50 percent less RAM. You could say Slack isn’t slacking anymore.

In a lengthy blog post, Slack explained how it completely refactored its code, comparing the process to the Ship of Theseus. On the outside, Slack looks the same; channels are where you’ve always found them, as are keyboard shortcuts, message threads, and so on. But with all new code, the app should run much better.

With previous versions of Slack, if you logged into multiple workspaces, the app created a standalone copy for each workspace. That was a drain on resources that only got worse as you joined more workspaces. Now, Slack reuses components wherever possible to avoid that drain.

As a result, Slack should be speedier and leave you with more RAM to use elsewhere. The new update also introduced an “offline mode” that reportedly helps keep things running smoothly when you drop off Wi-Fi.

As long as you’re already running version 4.0, Slack should update itself automatically to this newer better version. The company says it will roll out the update to all users over the coming weeks. [Slack]

In Other News:

  • Pandora is rolling out a new Voice Mode to iOS and Android today: Pandora has a “personal assistant” similar to Google Assistant or Alexa for you, but this one skips the smart lights and focuses on music. In Pandora’s app, you can now tap the microphone and say, “Hey, Pandora: play some music to start my day,” and Pandora will use what it knows about you to play the music you like. You don’t have to be a paid subscriber to benefit, which is pretty awesome for everyone. [Pandora]
  • Apple’s latest watchOS update restores walkie-talkie: Apple disabled the Watch’s walkie-talkie feature last week after discovering a vulnerability that allowed bad actors to eavesdrop on conversations. Now, the company is rolling out an update to watchOS and iOS that resolves the vulnerability and reenables the feature. Good turn around.  [9to5Mac]
  • Facebook Messenger for Kids let children talk with unauthorized individuals: Facebook Messenger for Kids promises to let your children message only the people you approve. But it turns out the app has a glaring loophole: anyone you approve can add unapproved individuals to a group chat with your child. If it’s another child, that means their parent had to accept the third party. Facebook shut down the group chats and promises to prevent the loophole in the future. [The Verge]
  • Amazon will deliver to the trunk of some Hondas now: Amazon’s in-car delivery is continuing to grow. If you have a Honda with HondaLink’s Remote Services package, you can now have Amazon drop off orders in the trunk of your car. The service is free, and if your vehicle is in a predictable place (like a public garage at work), it could be a good way to keep your deliveries off your porch all day. [Engadget]
  • Lancaster University is warning students hackers may have stolen their data: Lancaster, a university in the United Kindom, says it discovered a breach of its systems on July 19th. Malicious actors managed to take names, addresses, telephone numbers, and email addresses from the school’s servers. Worse yet, they also took student applications for the 2019 and 2020 school years, so the hackers may have stolen data for people who aren’t attending the school. The university hasn’t made it clear yet how many people are affected. [ZDNet]

Chris Kraft, NASA’s first flight director, died at the age of 95.

To say Chris Kraft was crucial to NASA would be understating his value. He drew up rules and procedures for crewed space missions and created the concept for NASA’s mission control. As Nasa chief Jim Bridenstine put it, “His legacy is immeasurable.” Kraft lived long enough to see the 50th anniversary of the first Moon landing. [BBC]