Find the answer to your Linux question:
Results 1 to 8 of 8
I would like to mount an windows ntfs disk to Suse 10.1 to get some files. The system recognise it and shows me that it is 40GB. But when i ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Mount an windows ntfs disk to Suse 10.1

    I would like to mount an windows ntfs disk to Suse 10.1 to get some files. The system recognise it and shows me that it is 40GB. But when i press mount or click it to see the files, i get the message permission denied. What can i do?

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

    Welcome to the LinuxForums !

    SuSe mount NTFS and FAT32 partitions by default. post the output of these command.
    Code:
    su -
    fdisk -l
    df -h




    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!
    Join Date
    Jan 2007
    Posts
    4
    First, thanks for your response.
    the outputs:
    fdisk -l
    Code:
    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda2            1149        9729    68926882+   f  W95 Ext'd (LBA)
    /dev/hda5            1149        1410     2104483+  82  Linux swap / Solaris
    /dev/hda6            1411        4021    20972826   83  Linux
    /dev/hda7            4022        4116      763056   82  Linux swap / Solaris
    /dev/hda8            4117        6365    18065061   83  Linux
    /dev/hda9            6366        9729    27021298+  83  Linux
    
    Disk /dev/hdb: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdb1   *           1        4864    39070048+   7  HPFS/NTFS
    df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/hda8              18G  6.8G   11G  40% /
    udev                  249M  188K  248M   1% /dev
    /dev/hda9              26G   19G  7.0G  74% /home

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    login as 'root', create a mount_point for NTFS partition.
    Code:
    mkdir /media/win_ntfs
    open /etc/fstab file
    Code:
    gedit /etc/fstab
    add this line
    Code:
    /dev/hdb1      /media/win_ntfs       ntfs   defaults,umask=0 0 0
    execute mount -a command and check /media/win_ntfs folder. all users will have NTFS read access.
    SuSe support NTFS read access only. install ntfs-3g package for NTFS write access.






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

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    i get the following errors:
    Code:
    xxxxx:~ # gedit /etc/fstab
    bash: gedit: command not found
    xxxxx:~ # /dev/hdb1      /media/win_ntfs       ntfs   defaults,umask=0 0 0
    bash: /dev/hdb1: Permission denied
    where is the wrong?

    the mkdir /media/win_ntfs had no problem

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    execute 'nano /etc/fstab' OR directly double-click on /etc/fstab file. you must be logged in as 'root'. add that code in /etc/fstab file.
    for manually mounting ntfs partition through terminal, execute this
    Code:
    mount -t ntfs   /dev/hdb1  /media/win_ntfs
    if you dont edit /etc/fstab file, you will have mount ntfs partition manually on every reboot.






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

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4
    Thank you very very much. I finnaly have no error with that. You are very good!!

  8. #8
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    thats ok, but you wont be able to write to NTFS partition....As casper said you should install nrfs-3g for that

Posting Permissions

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