Learn about Centmin Mod LEMP Stack today
Register Now

Install Mounting partitions in rescue mode

Discussion in 'Centmin Mod User Tutorials & Guides' started by brijendrasial, Dec 3, 2023.

  1. brijendrasial

    brijendrasial Active Member

    201
    144
    43
    Mar 21, 2018
    Ratings:
    +226
    Local Time:
    4:47 AM
    1.13.9
    10.0.22-MariaDB
    Today I am going to show you how to mount partition in rescue mode and fix the error which occurs on your Linux machine.

    First get the partition list using

    Code:
    fdisk -l
    In my case /dev/md2 is my partition having Linux system files.


    Now mount partitions as below.

    Code:
    mount /dev/md2 /mnt
    mount -t proc none /mnt/proc
    mount --rbind /sys /mnt/sys
    mount --rbind /dev /mnt/dev
    chroot /mnt
    This was a small tutorial for mounting partition in rescue mode.
    Source: https://www.bullten.com/knowledgebase/75/How-to-Mount-Partitions-in-Rescue-Mode.html
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,981
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    9:17 AM
    Nginx 1.25.x
    MariaDB 10.x
    Thanks for sharing (y)