Chroot Ubuntu 18.04 – Step-by-step

November 22, 2019 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 18.04 Chroot with Network Guide

Hi! The Tutorial Shows in Easy Steps How to Properly Chroot Ubuntu 18.04 Bionic LTS GNU/Linux Systems with Network Enabled.

Hence, Chrooting in Ubuntu 18.04 consist in Changing the root Directory to a Different Partition from the Boot System.

And Chroot is also defined as the Operation that Changes the Apparent root Directory for the Current Running Process and their Children.

Especially relevant: the Chroot is usually achieved Starting up the System with a Live OS Media.

As a Result you’ll be able to Operate on the New Root Device pretty like a regularly Started System with Networking.

Step-by-step Chroot Ubuntu 18.04 Easy Guide - Featured
  1. 1. Unmounting Target

    Then Find Out the New Root Target Drive
    First, Login as SuperUser to make easier the Commands execution:

    sudo su
    Or:
    su -
    Then look into the List of the Mounted devices with:
    df -h

    If you can Not to Find it then try Visually with GParted:

    gparted

    Possibly Unmount it with:

    umount /dev/sd[XN]
    Just Replace [XN] with the actual Device’s Identifier.

    How to QuickStart with Command Line on Ubuntu Linux

    Bash Shell Ubuntu QuickStart Guide
  2. 2. Mounting Root

    Mount the New Root Target Device
    Firt make a New Directory by:

    mkdir /mnt/newroot
    And then to Mount:
    mount /dev/sd[XN] /mnt/newroot

Contents


QuickChic Theme • Powered by WordPress