Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
hi all, i would like to share a small doubt with u all, i would like to know how to, Mounting a partition permanently into /misc using fstab , i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    9

    Mounting a partition permanantly


    hi all,

    i would like to share a small doubt with u all,

    i would like to know how to,

    Mounting a partition permanently into /misc
    using fstab,
    i have entered the entires into it and it was working from that session without any problems,
    but after rebooting the partition which was mounted into misc was empty even the data can be seen in that partition if we mount temporarily and permanently,


    so pls tell me how to mount a partition permanently into /misc even we restart the system

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    Could you please post the fstab file contents ? Are you trying to mount ext3 file system ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of this too :
    Code:
    su -c /sbin/fdisk -l
    df -h
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,561
    Can you also let us know which of the partitions you want to mount

    but assuming sda2 and ext3 it would be something like

    Code:
    /dev/sda2    /misc        ext3        defaults,rw    0    0
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  5. #5
    Just Joined!
    Join Date
    Feb 2010
    Posts
    9
    Quote Originally Posted by elija View Post
    Can you also let us know which of the partitions you want to mount

    but assuming sda2 and ext3 it would be something like

    Code:
    /dev/sda2    /misc        ext3        defaults,rw    0    0
    i have tried in fstab too,
    after making an entry in fstab, i can see the content of the partiotion in /misc, but after rebooting the system, the misc folder has no entires

  6. #6
    Just Joined!
    Join Date
    Feb 2010
    Posts
    9

    mounting

    Quote Originally Posted by suri4uall View Post
    i have tried in fstab too,
    after making an entry in fstab, i can see the content of the partiotion in /misc, but after rebooting the system, the misc folder has no entires
    i have tried in fstab too,
    after making an entry in fstab, i can see the content of the partiotion in /misc, but after rebooting the system, the misc folder has no entires

  7. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Post your fstab file.

    Fstab - ArchWiki

  8. #8
    Just Joined!
    Join Date
    Feb 2010
    Posts
    9
    /dev/sda5 /misc ext3 defaults 0 0


    above is the entry i am using in fstab

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post all the contents of /etc/fstab file and output of fdisk -l command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Just Joined!
    Join Date
    Feb 2010
    Posts
    9
    i have already done it,
    and at that instance or at that session, i can see the contents of the partition in /misc,
    but not seen after rebooting.....

Page 1 of 2 1 2 LastLast

Posting Permissions

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