Ubuntu How-to Automatically Mount a Ext2/Ext3/Ext4 Linux Partition on StartUp Easy Guide

August 1st, 2014 by thelinuxevangelist

Ubuntu Mount Ext2/Ext3/Ext4 Partition Boot



The Linux Tutorial Shows You Step-by-Step How-to Mount a Ext2/Ext3/Ext4 Disk Partition a Ubuntu Linux System Boot/Start-Up.

The fstab file typically lists all available disks and disk partitions, and indicates how they are to be initialized or otherwise integrated into the overall system’s file system

Ubuntu Mount Ext2/Ext3/Ext4 Partition Boot - Featured
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Ctrl+Alt+t

    Ubuntu Mount Ext2/Ext3/Ext4 Partition Boot- Open Terminal
  2. Find the Partition UID

    ls -l /dev/disk/by-uuid

    Copy the UID Value Associated to the /dev/sdXY Device.

  3. Make the Target Directory

    sudo su -c "mkdir /mnt/[myDisk]"
  4. Edit the fstab File

    sudo su -c "nano /etc/fstab"

    Append:

    UUID=[1234-5678] /mnt/[myDisk] auto defaults 0 0

    Ctrl+Shift+v to Paste the UID Value
    Ctrl+x to Save & Exit from nano Editor :)

  5. Test if the Setup is Working

    umount /mnt/[myDisk]

    The last eventually to Unmount the Partition…

    sudo mount -a
    ls /mnt/[myDisk]

    This should Show up all the Partition Content!

Share on Tumblr

Tags: , , , , , , , , , , , , ,


Comments are disabled