article-main

How to mount a Samba shared directory at boot

Samba is a free and open source interoperability suite of programs which allows us to share files and printers between machines running Linux or Windows. A Samba share is pretty easy to configure and can easily  be accessed on clients, since the vast majority of Linux file explorers has built-in support samba. In certain situations, however, we may want to mount a Samba share at boot, just like a normal filesystem on a specified mountpoint.

Read more

Adding Windows 10 to GRUB boot menu

Booting a MS Windows OS using GRUB

Configuring a computer as dual boot system is a popular solution for users that wish to use Linux and Microsoft Windows on the same device. However, getting the two operating systems to share the same computer can be a bit tricky. In particular, Windows has its own boot loader and Linux uses GRUB. It’s easiest to have a dual boot system when GRUB is used as the boot loader, as it can be easily configured to boot into Windows as well as Linux.

In this guide, we’ll go through the step by step instructions to add Windows 10 to the GRUB menu. This way, you can select between Windows and your installed Linux distro when the computer first boots up. This guide assumes that you’ve already installed Linux and Windows on the same computer, and simply need to add Windows as an option to your GRUB menu.

In this tutorial you will learn:

  • How to add Windows to GRUB boot menu

Read more

Writing Fedora ISO file to bootable USB key

How to create a Fedora Linux Live bootable USB key

A great feature of many Linux distributions is that you can create a live USB (or CD/DVD) key and boot directly into it. This allows you to try out an operating system, troubleshoot an existing installation, or install Linux onto the system’s hard drive.

Fedora is one of those distributions of Linux that allows us to boot into a usable environment directly from USB. In order to do that, we just need to write the Fedora installation file (.ISO format) to the USB thumb drive.

In this guide, we’ll go over the step by step instructions to create a Fedora bootable USB key via either command line or GUI. Follow along with us to get your USB key setup through Fedora’s Media Writer tool or the ddrescue command utility.

In this tutorial you will learn:

  • How to download Fedora and Fedora Media Writer
  • How to create Fedora bootable USB with Media Writer (GUI method)
  • How to create Fedora bootable USB with ddrescue (command line method)

Read more

Recover – Reset Forgotten Linux Root Password

The root account, sometimes called super user, is the admin account on a Linux system, and is essential for performing all kinds of administrative tasks. You’ll need access to it in order to install or remove packages, manage other user accounts, and a lot more things. Anytime you access the root account, either through the su or sudo commands, you’ll be prompted for the root password.

If you have forgotten the password to your system’s root account, you don’t necessarily have to go back to square one and reinstall the whole operating system. It’s possible to recover and reset the root password, even without the old password. In this guide, we’ll take you through the step by step instructions of recovering a forgotten root password on Linux. This will work regardless of the Linux distribution you’re running, as long as its using the GRUB bootloader. Other bootloaders will have similar instructions.

In this tutorial you will learn:

  • How to reset a forgotten root password on Linux

Read more

How to dual boot Windows XP and Ubuntu Linux

How to dual boot Windows XP and Ubuntu Linux

Introduction

My restless effort to promote a Linux operating system and encourage its usage among other “PC” users made me this time to tackle a core topic of this effort and that is dual boot Linux Operating System and MS Windows XP Pro. I really do not expect windows users to switch from MS Windows to the Linux from one day to another, but I rather expect a slower and gradual transition with less headaches and without productivity losses.

There are already plenty of excellent articles in regard to this topic. However, I do still see Linux forums flooded with simple basic questions on how to dual boot these two operating systems. I see users coming from a MS Windows environment completely lost when it comes to a UNIX File System Hierarchy Standard (FHS), partitioning using EXT3 file system and navigation with simple “cd” command. It is very hard for them to let go of an idea of C: and D: drives. In recent 2 or 3 years Linux operating systems and its installation has improved in such a manner that I do not see a problem for a NON-IT person to install its own fully functional and productive version of the LINUX on his “Designed for Microsoft Windows XP” notebook.

Despite my believe I have decided to write this Linux-Windows dual boot “howto” for new Linux enthusiasts. In fact, I have had a friend who has no IT background to helping me by following my steps in this tutorial and believe it or not, he could install his own dual booting system without any problems.

Be aware that we are not going to describe all installation steps for both Linux and Windows installations in this article, only those steps which are necessary to accomplish this task.

Read more

How to force fsck to check filesystem after system reboot on Linux

This article will explain a procedure on how to force fsck to perform a filesystem check on the next system reboot or force filesystem check for any desired number of system reboots whether it is root or non-root mount point.

Let’s start with discussion about some tools which can be used to obtain filesystem information and configurations which control filesystem check after system reboot. The tool which we are going to discuss is tune2fs filesystem managing utility. Using tune2fs we can export some important information related to filesystem health check. The following linux command will tell as when was the last time the filesystem /dev/sdX was checked:

# tune2fs -l /dev/sdbX | grep Last\ c
Last checked:             Sun Dec 13 09:14:22 2015

Anther useful information which can be retrieved by tune2fs command relates to how many times our /dev/sdX filesystem was mounted:

# tune2fs -l /dev/sdbX | grep Mount
Mount count:              157

Read more