Results 1 to 3 of 3

Thread: Mounting filesystems: for beginner

  1. #1
    Jedi knight Luke Skywalker's Avatar
    Join Date
    Jul 2009
    Age
    23
    Liked
    0 times
    Posts
    2,175

    Default Mounting filesystems: for beginner

    Linux being a secure OS don't mount all partitions. If you are a old user you will know all these. Some of the methods I know:

    1. GUI: Click on the said pane showing the partitions with it names. A windows will pop open asking for root or sudo password. Type it will be open. It will be under either /mnt/label or /media/label There's another more easier GUI method which keeps partition permanently for a user I am forgetting please if you know then reply.

    2. mount command: You can use mount commands to mount filesystems.Well they are quite easy.

    mount -t (type of file system ntfs , ext3 ,ext2 ext4,) /dev/partitiondisk /place/where/you/want/to/keep/it

    For example I want a partition of type ext4 at /dev/sda8 to be keep in /home/user/mp3
    Then type this:

    mount -t ext4 /dev/sda8 /home/user/mp3


    But these above changes will not be permanent. So if you want a permanent method do this:
    3. Change entries in /etc/fstab file: type gedit /etc/fstab
    It will open fstab file. You will see something like this in between:

    Code:
    /dev/sda3                /boot              ext2            noauto,noatime  0 0
    /dev/sda7                /                  ext4            noatime         0 1
    /dev/sda6                none               swap            sw              0 0
    /dev/sda5                /mnt/data          ext3            noatime         0 2
    /dev/sda1                /mnt/fedora        ext4            noatime         0 2
    /dev/sda2                /mnt/windows       ntfs            noatime         0 2
    /dev/cdrom                /mnt/cdrom       auto            noauto,ro          0 0
    #/dev/fd0                /mnt/floppy         auto            noauto              0 0
    Now write this at last entry of this between the same spaces:
    /dev/yourpartnumber /placeneeeded type noatime 0 0

    e.g. if you want a partition of type ext 4 at /dev/sda8 to be keep in /home/user/mp3
    then
    /dev/sda8 /home/user/mp3 auto noatime 0 0

    fstab is quite a strong file and you can do many thing with. I will explain it later on.
    Last edited by Luke Skywalker; 02-14-10 at 06:42 PM.
    History is on the move,my friends.Those who cannot keep up will be left behind, to watch from distance.And those who stand in its way will not watch at all.http://windows7sins.org/
    People are going to tell stories about me none of which change who I really am.

  2. #2
    mrhannette
    Guest

    Default

    Hi,

    Thank you so much for sharing these details. Those are really very helpful.

  3. #3
    Banned
    Join Date
    Jul 2011
    Liked
    0 times
    Posts
    16

    Exclamation

    How to mount the drive which is not normaly removed from windows ..

    Linux gives warning for NTFS ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)