Fixing filesystem check or mount fail

Beginners on Linux will probably encounter a file system check or mount fail at least once throughout their experience. I know I did. Multiple times. But it’s hard to get around hard shut downs when your computer just freezes! Now some people might just press i to ignore every time. Others blindly follow guides, unaware of the effects on their computer.

I for one want to know what the commands I type actually do. So without much further ado, with reference to Simon Richter’s reply on an Ask Ubuntu thread, here’s how you can resolve the issue permanently (complete with explanations of each command):

Step 1: Boot up Computer

Press that power button. 😉

Step 2: Enter Manual Recovery Mode

In the GNU GRUB boot loader, press m to enter manual recovery mode.

Step 3: Remount the System

Remount your system to read-only mode. This will prevent the kernel from writing any permanent changes that could harm your system.

  • mount is the command.
  • -o allows you to specify mount options.
    • ro is the read-only option.
    • remount is the option to remount an already mounted system.
  • / is the mount point for the entire system.
mount -o ro,remount /

Step 4: Repair the System

Run the file system consistency check and interactive repair. You do not need to understand all the underlying semantics of fsck but understand that fsck possesses a set of standards for file systems and ensures all the files on your system follow that standard.

  • fsck is the repair command.
  • -f is the flag to also check clean files.
fsck -f

Step 5: Write the Changes

Write the changes to your system by using a sync.

sync

Step 6: Reboot Computer.

Reboot the system and all changes should be implemented.

reboot

Next time you turn on your computer, everything should be running smoothly!

Package Management Systems Explained

Any Linux user should be familiar with package management systems. After all, they are a key component of every Linux distro.

Package management systems are an effective way to organize packages for installation, upgrade and deletion.

Package management systems have three sub-components: repositories, packages and package managers. A repository is a database of packages that users can search, download and install. A package contains the files for a particular program along with metadata that includes the package’s name, size and dependencies. When a user wants to install a package, the package manager will automatically search the repositories and install any missing dependencies.

As a user of Linux Mint, the package manager I’m familiar with is APT/dpkg through Synaptic. While I have no experience using existing elements to integrate into my own programming, I can comment on the advantages and disadvantages that a package management system for a Windows-adapted user.

Advantages

1) Easy installation, upgrade and deletion.

One of the most annoying parts about installing, upgrading or deleting anything on Windows is browsing through all the different options available and figuring out which programs go hand-in-hand with one another.

Continue reading

adduser sincerelypeggy

We now have a female on our team! Here’s Peggy, who will be sharing her experiences with Linux Mint. —tPenguinLTG


My name is Peggy. I’m dual-booting Windows with Linux because of successful coercion by tPenguinLTG (I’m kidding).

I became interested in Linux because the operating system is Unix-like without compromising the customization of my desktop.

I’m using the Linux Mint distro because it gives me an understanding of Linux without having to get into the nitty-gritty.

I can’t wait to share my experiences with everyone~

Peggy