Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How do i auto mount a partition??

  1. #11
    Join Date
    Mar 2008
    Location
    N'Djamena Chad
    Beans
    12
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: How do i auto mount a partition??

    Quote Originally Posted by Zoot7 View Post
    Almost the same as I posted above.

    Firstly make a mount point for the partition.
    (Lets say Windows..)
    Code:
    sudo mkdir /media/Windows
    Then edit fstab
    Code:
    kdesu kate /etc/fstab
    Add the following line at the end and save.
    Code:
    /dev/sda1 /media/Windows ntfs-3g	defaults	0   0
    Then to test it do
    Code:
    sudo mount -a
    Browse to /media/Windows to test if it worked.

    The terminal takes a bit of getting used to especially if you've never really used it much, but it's well worth it. It's without doubt an extremely powerful tool once you get the hang of it.
    Thanks I followed these steps and I am using Xubuntu 9.10

    Code:
    sudo mkdir /media/Windows
    Code:
    gksu gedit /etc/fstab
    Code:
    /dev/sda1 /media/Windows ntfs-3g	defaults	0   0
    then it says bash: /dev/sda1: Permission denied

    Any advice?
    Thanks

  2. #12
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: How do i auto mount a partition??

    Do you have a screenshot to show this?

  3. #13
    Join Date
    Sep 2008
    Location
    Edinburgh, UK
    Beans
    738

    Re: How do i auto mount a partition??

    Quote Originally Posted by agoodliffe View Post
    Thanks I followed these steps and I am using Xubuntu 9.10

    Code:
    sudo mkdir /media/Windows
    Code:
    gksu gedit /etc/fstab
    Code:
    /dev/sda1 /media/Windows ntfs-3g	defaults	0   0
    then it says bash: /dev/sda1: Permission denied

    Any advice?
    Thanks
    Add the line in red above to the end of the file fstab, that you opened with gksu gedit, save it and close. I suspect you just typed it into the terminal; that's not going to work.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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