Cannot view ntfs !!!

Hi,I recently installed opensuse 11.0 with kde 3.5. I am total newbie and i have no idea how to view or mount my windows partitions…although i figured out to configure the internet,this one seems to be a tough one for me…please help me out !!!

Typically your MS Windows partitions are located under /windows.

Did you look there?

I don’t know !!!
Its says “no files or folders”…

open a gnome-terminal (if using gnome) or konsole (if using kde) and type:
df -h
su -c ‘fdisk -l’
#enter root password when prompted
and post the output here.

Note in “fdisk -l” that is a small “L” and not a “one”.

did that …here’s the o/p

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa35fa35f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1403 11269566 7 HPFS/NTFS
/dev/sda2 1404 4865 27808515 f W95 Ext’d (LBA)
/dev/sda5 2708 4013 10490413+ 7 HPFS/NTFS
/dev/sda6 1404 1534 1052194+ 82 Linux swap / Solaris
/dev/sda7 4014 4865 6843658+ 7 HPFS/NTFS
/dev/sda8 1535 2197 5325516 83 Linux
/dev/sda9 2198 2707 4096543+ 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdb: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3db9e22d

Device Boot Start End Blocks Id System
/dev/sdb1 1 2118 17012803+ 7 HPFS/NTFS
/dev/sdb2 2119 3566 11631028+ 7 HPFS/NTFS
/dev/sdb3 4077 4870 6377805 7 HPFS/NTFS
/dev/sdb4 3567 4076 4096575 7 HPFS/NTFS

Partition table entries are not in disk order

Where is the output of:
**df -h **
???
I don’t see it.

Please also post output of:
cat /etc/fstab

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 5.0G 3.8G 993M 80% /
udev 236M 148K 236M 1% /dev

cat /etc/fstab
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part6 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part8 / ext3 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
vkam@linux-693m:~>

That shows only sda8 moutned.

and that shows why only sda8 is mounted.

If you want to mount more automatically, you need to add them to your fstab. Its a bit surprising they were not picked up automatically during install, unless, of course, you physically removed their connection during install.

So, which ones (all ? ) of the NTFS do you want to mount? sda1? sda5? sda7? sda9? sdb1? sdb2? sdb3? sdb4?

Is it possible to mount all of them ???

Sure, open a gnome-terminal or konsole and type (one line at a time)
su * #enter root password when prompted*
mkdir /windows/C
mkdir /windows/D
mkdir /windows/E
mkdir /windows/F
mkdir /windows/G
mkdir /windows/H
mkdir /windows/I
mkdir /windows/J
mkdir /windows/K

note, the C to K are all capitals (in my example). We now need to edit your fstab so that the drives/partitions are mounted from C to K.

In essence, you need to change your fstab to look like this (note if you make a mistake, your PC will not boot Linux, so be very careful):

/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part6 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part8 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part1 /windows/D           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part5 /windows/E           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part7 /windows/F           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/disk/by-id/scsi-SATA_ST340016A_3HS8MBT2-part9 /windows/G           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/sdb1 /windows/H           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/sdb2 /windows/I           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/sdb3 /windows/J           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
/dev/sdb4 /windows/K           ntfs-3g    defaults,locale=en_US.UTF-8     0       0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0 

You can open the kate editor with root permissions by typing:
kdesu kate #enter root password when prompted
or if kate is not installed, then kwrite:
kdesu kwrite #enter root password when prompted
and then navigate to /etc/fstab and VERY CAREFULLY make the changes.

I’m a bit rusty on the permissions, … its possible that the permissions on the /windows/directory (C to K) may need to be changed, … I can’t recall now.

Note after the changes are made, you will need to reboot to have those partitions mounted.

I am not able to follow this…what is meant by fstab !!

There is a file on your computer under Linux in the directory /etc and the file is called fstab. fstab is the file systems table. This is an ascii text file. In that file is the information that linux uses to determine which drives/partitions to mount upon booting.

fstab - Wikipedia, the free encyclopedia

I navigated to /etc/fstab…and clicked on the file fstab…it opened in some text editor.Am i suppose to edit it the way you have specified above or just copy and paste it the way you’ve mentioned ???

If you try to edit it this way, it should not let you save, because you should not have root permissions.

You need to open the editor the way I suggested, navigate to /etc/fstab, and replace your /etc/fstab contents with what I provided. The way I suggested used “kdesu” to start your editor, which gives you root (administrator) permissions with the editor “kate” or “kwrite” (depending on which editor you used).

Be VERY CAREFUL when doing things with root permissions. A small mistake and you can trash your system.

I created the file fstab…but iam unable to replace it !!!

Please re-read my post. i.e. …

There’s a bit of background reading here to augment oldcpu’s advice:
HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

I’m a bit rusty on the permissions, … its possible that the permissions on the /windows/directory (C to K) may need to be changed, … I can’t recall now

@oldcpu: not necessary to set up special permissions on the directories where you will mount the NTFS partitions, because the code in the software automagically alters the permissions to suit (the settings placed in the mount command).

Ok…i will try that…thanks a lot !!!

During install you can choose to have them mounted at boot time. Perhaps the TS has (accidently) turned that off while installing. :slight_smile: