Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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,834
    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,777
    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. $spacer_open
    $spacer_close
  5. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    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
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  6. #5
    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

  7. #6

    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

  8. #7

  9. #8
    /dev/sda5 /misc ext3 defaults 0 0


    above is the entry i am using in fstab

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    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

  11. #10
    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.....

Posting Permissions

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