Results 1 to 4 of 4

Thread: Mounting a device before Linux entering specific user mode

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Zipangu
    Beans
    27
    Distro
    Ubuntu 16.04 Xenial Xerus

    Mounting a device before Linux entering specific user mode

    Let me dispense with the complicated background, but I need a device, which is other partition on other hard drive, to be mounted before seeing the user mode Unity screen. In other word, I'd like to see some links to the directories on that device NOT disabled at the user boot-up.

    Where should I have written the following:

    mount -t ext4 /dev/device /media/dirA/dirB

    ?

    TIA

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Mounting a device before Linux entering specific user mode

    You need to add an entry for the device in /etc/fstab. Edit the file with "sudo nano /etc/fstab" then follow the guide here.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Mounting a device before Linux entering specific user mode

    The link by SeijiSensei to fstab is good, but the examples in the fstab instructions are now very old.

    Bit newer examples, which I still use.
    http://ubuntuforums.org/showthread.php?t=1983336
    Create mount point, mount & edit fstab from user Morbius1 in Post # 6 - suggest using templates instead.
    Good example of manually mounting, except I prefer /mnt/xxx as location to mount to.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Mar 2010
    Location
    Zipangu
    Beans
    27
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Mounting a device before Linux entering specific user mode

    Big thanks to SeijiSensei and oldfred.
    By adding a most sparse entry in the fstab file, we've got some live symlinks to the device at the user boot-up.
    Now our workflow is quite smooth.

    Thanks again for your valuable guide.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •