background preloader

Administration

Facebook Twitter

GRUB Boot from ISO. Last year I worked on a project to add an OEM-style rescue partition to a computer. Where most OEM installs have a custom program that just rewrites an install image over the top of the partition, in this case, everything was based on open-source software. This rescue partition would be only a few gigabytes in size—big enough to contain the install DVD ISO image and a few preseed files to help automate the install. If users ever wanted to get back to the factory-installed version of the operating system, they could select a special option from the GRUB menu that would boot off the ISO and start the install as though they had used a USB key or DVD.

If you read some past guides on how to boot an ISO from GRUB, you will find a number of pretty complicated instructions in some cases because they were writing for older versions of GRUB. With the recent versions of GRUB2, booting from a standard ISO is fortunately not that complicated. Create the Partition Build the GRUB Config. Install Snap packages in Arch Linux, and Fedora - OSTechNix.

In our previous tutorial, we have discussed what is Snap packages, its advantages and disadvantages, where you can get the Snap packages, and how to create your own Snap packages etc. For more details, check our previous article. An introduction to Ubuntu’s Snap packages Today, we will see how to install Snap packages and use them in real time. As you may already know, Snapd, which is used to install Snap packages, comes preinstalled by default in Ubuntu 16.04 LTS.

Install Snapd in Arch Linux Snapd is not available in the Arch Linux’s official repositories. To install yaourt, refer the following link: How to install Yaourt on Arch Linux To install packer, check the following link: How to install Packer on Arch Linux After installing yaourt or packer, run the following command to install Snapd: yaourt -S snapd Or packer -S snapd Sample output: Install Snapd Note: Whenever you install package using pakcer or yaourt, you may see a message something like below during installation. Enable copr repository. Configuring function (Fn) keys in Linux under Openbox. Often, special function keys (e.g. for controlling volume, brightness, sleep etc.) will not be automatically configured in many Linux distros. Luckily, in most cases it is easy to manually set this up. As with most other settings, Openbox allows custom key bindings to be added via entries in ~/.config/openbox/rc.xml. This way, functionality can be assigned to Fn keys not recognized out-of-the-box.

This is especially easy for standard functions (like volume-up and down, mute, sleep, brightness-up and down etc.) as these already have special key-codes assigned to them. For example, brightness-up button will be detected as XF86MonBrightnessUp allowing functionality to be directly bound to this code. Discovering the key code to use The best way to discover what happens when a key is pressed is using xev. Configure keys using a graphical interface List of common function keys and example configurations Adding OSD notifications to commands. How to Setup SSH Keys on a Linux System - Freedom Penguin. On September 9th, 2015 Chris L. asked… Hello Matt and the Freedom Penguin staff! I have a question about generating RSA public and private keys under Linux. Is there a Linux/Open Source equivalent to PuTTYgen? A PuTTY GUI is available in Ubuntu GNOME 15.04 (what I am using), but is there a PuTTYgen GUI that I can install over the CLI? If not, can you give a short tutorial on how to do this in the command-line?

Hi Chris! Allow me to let you in on a little secret – I have never used PuTTY or PuTTYGen. First, allow me to acknowledge that most documentation is convoluted. On the client side, Ubuntu comes with the SSH client already installed. The steps we’re going to be taking break down as follows: 1) Generate a key on your local machine. 2) Install OpenSSH Server on remote machine. 3) Send the key to your remote machine. 4) Lockdown the remote machine by removing the password authentication. Step #1 – From your local machine, you need to create RSA keys.

On your local machine, in a terminal: Itpol/linux-workstation-security.md at master · lfit/itpol. How to Defragment Linux Systems - Make Tech Easier. There is a common myth that Linux disks never need defragmentation at all. In most cases, this is true, due mostly to the excellent journaling filesystems Linux uses (ext2, 3, 4, btrfs, etc.) to handle the filesystem. However, in some specific cases, fragmentation might still occur. If that happens to you, the solution is fortunately very simple. Fragmentation occurs when a file system updates files in little chunks, but these chunks do not form a contiguous whole and are scattered around the disk instead. In filesystems such as FAT and FAT32, files are written right next to each other on the disk. The NTFS leaves somewhat more room between the files, so there is room to grow. Linux’s journaling filesystems take a different approach. Additionally, if fragmentation does happen, most Linux filesystems would attempt to shuffle files and chunks around to make them contiguous again.

Disk fragmentation seldom occurs in Linux unless you have a small hard drive, or it is running out of space. Ddrescue. Ddrescue - Outil de récupération de données [ English | Español | Français | Italiano ] Introduction GNU ddrescue est un outil de récupération de données. Il copie les données provenant d'un fichier ou d'un périphérique mode bloc (disque dur, cdrom, etc) vers un autre, en essayant toutes les astuces possibles afin de récupérer des données en cas d'erreurs de lectures. Le fonctionnement, en mode basique, de ddrescue est entièrement automatique. L'utilisation du 'fichier_log' (logfile) de ddrescue, vous permettra de récupérer des données avec une grande efficience (seuls les blocs nécessaires seront lus).

Ddrescue n'écrit pas des zéros dans son flux de sortie lorsqu'il lit des secteurs défectueux dans son flux d'entrée, et ne tronque pas le fichier de sortie, si vous ne l'avez pas expressément demandé. Les CD et DVD enregistrables ne préservent l'intègrité de leurs données que pendant une durée limitée (typiquement, quelques années). Documentation Téléchargement Comment Obtenir de l'Aide.

MassAdmin - parallelizes system commands on mass remote servers. Synergy.