Find the answer to your Linux question:
Results 1 to 10 of 10
Alright, now that I have mounted my windows partition (using mount -t ntfs /dev/hdb1 /mnt/win) I can view the files from Konsole, but when I try to access them with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! relentlessfight's Avatar
    Join Date
    Sep 2006
    Location
    Peoria, Illinois
    Posts
    7

    Angry Accessing troubles


    Alright, now that I have mounted my windows partition (using mount -t ntfs /dev/hdb1 /mnt/win)

    I can view the files from Konsole, but when I try to access them with lets say amaroK the folder has a lock on it.

    How do I remove this lock so I can access them?

    I have tried to mount without the "-t ntfs" but when i tried to umount the first one it says device busy. I'm assuming thats becasue it scans the drive.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi !!!

    add this line to /etc/fstab file........

    /dev/hdb1 /mnt/win ntfs defaults,ro,umask=0 0 0

    save and reboot....... it will automount windows partition and all users can access it in read and write mode




    ... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! relentlessfight's Avatar
    Join Date
    Sep 2006
    Location
    Peoria, Illinois
    Posts
    7
    Where would the /ect/fstab file be located at?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    Quote Originally Posted by relentlessfight
    Where would the /ect/fstab file be located at?
    Ahh well ... that is the location. /etc is a directory and fstab is a file inside that directory.

    You need to open it with a text editor as root. For example - using a terminal:

    su
    <your_password>
    cd /etc/fstab

    Then you need to invoke some sort of editor. One of these for example:
    kate fstab
    vim fstab
    nano fstab

    Write to the file and save it. Exit from being root and you should be fine.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  6. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by fingal
    cd /etc/fstab
    oooops ... fstab is not a folder......

    $ su -
    enter root password
    $ kate /etc/fstab



    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #6
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    Quote Originally Posted by devils_casper
    oooops ... fstab is not a folder......

    $ su -
    enter root password
    $ kate /etc/fstab



    .... casper ....
    Ooooops! Just testing ... Sorry for the mistake.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi fingal !!!

    i know its typo.........



    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined! relentlessfight's Avatar
    Join Date
    Sep 2006
    Location
    Peoria, Illinois
    Posts
    7
    Alright, I have done all this. and i can now view the folder in amaroK, but i have run into another problem. The folders on the drive are not there, and it seems like everytime i restart the files in /mnt/win disappear!

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi !!

    LInux does not have write support for NTFS. its read only.......... you can read and write in FAT32 partitions........


    check this article for writing in NTFS ........
    paste the output of this command.....

    $ fdisk -l ...( its small 'L' and you must be root to execute it )



    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  11. #10
    Just Joined! relentlessfight's Avatar
    Join Date
    Sep 2006
    Location
    Peoria, Illinois
    Posts
    7
    It really doesn't matter to me if it's mounted as NTFS or FAT..haha just as long as I can access them! Here is the output:

    [root@localhost t0x1c_zer0]# fdisk -l

    Disk /dev/hda: 80.0 GB, 80000000000 bytes
    240 heads, 63 sectors/track, 10333 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 8805 66565768+ 7 HPFS/NTFS
    /dev/hda2 8806 10333 11551680 5 Extended
    /dev/hda5 8806 9617 6138688+ 83 Linux
    /dev/hda6 9618 9765 1118848+ 82 Linux swap / Solaris
    /dev/hda7 9766 10333 4294048+ 83 Linux

    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 19457 156288321 7 HPFS/NTFS
    [root@localhost t0x1c_zer0]#

Posting Permissions

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