Results 1 to 3 of 3

Mounting filesystems: for beginner

  1. #1
    Jedi knight Luke Skywalker's Avatar
    Join Date
    Jul 2009
    Posts
    2,174

    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; 14th February 2010 at 06:12 PM.

  2. #2
    mrhannette
    Guest

    Default

    Hi,

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

  3. #3
    gajaraj
    Guest

    Exclamation

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

    Linux gives warning for NTFS ...

Similar Threads

  1. Beginner's Guide for BSNL
    By meetdilip in forum BSNL broadband
    Replies: 12
    Last Post: 2nd February 2012, 06:54 PM
  2. Beginner's Guide to BSNL
    By meetdilip in forum Broadband How to
    Replies: 19
    Last Post: 2nd December 2011, 08:05 PM
  3. Nano: A beginner's editor
    By Luke Skywalker in forum Linux
    Replies: 0
    Last Post: 12th February 2010, 09:45 PM
  4. PCBSD a beginner friendly FreeBSD
    By Luke Skywalker in forum Operating Systems
    Replies: 0
    Last Post: 10th February 2010, 08:23 PM
  5. POP and IMAP for Beginner's
    By sharadkumar in forum Computer hardware and software tips and tricks
    Replies: 3
    Last Post: 16th September 2009, 10:56 PM