Announcement

Collapse
No announcement yet.

Mounting 2nd Hard Drive

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Mounting 2nd Hard Drive

    Then follow these steps:

    1. create a directory you want the drive to mount to, for example
    Code:
    sudo mkdir /media/drive2
    2. add the partition to /etc/fstab
    /dev/hdb1 /media/drive2 ext3 defaults,umask=0000 0 2
    - '/media/drive2' is the directory you created
    - 'umask=0000' gives rwx rights to all (don't need root permissions)
    - change the final number from 1 to 2 (1 is reserved for root filesystem, so it's checked first during boot-up, 2 is for additional filesystems you want checked at boot)

    3. mount it with
    Code:
    sudo mount /dev/hdb1
    (it will mount automatically during boot)

    [/quote]

    I created the /media/drive2, now how do I "2. Add the partition to /etc/fstab".
    Do I type in Terminal "/dev/hdb1 /media/drive2 ext3 defaults,umask=0000 0 2"?

    Thanks for your help so far...
    The Truly Educated Never Graduate!

    Comment


      #17
      Re: Mounting 2nd Hard Drive

      now how do I "2. Add the partition to /etc/fstab".
      fstab is a text file so you could use text editor:

      Press Alt+F2 and type kdesu kate /etc/fstab


      Links:

      How to fstab
      http://ubuntuforums.org/showthread.php?t=283131
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment

      Working...
      X