Link to home
Start Free TrialLog in
Avatar of jcob_l
jcob_l

asked on

seagate

How can I view my seagate drive contents in my linux machine which is installed in vmware server...

thanks..

I plugged into my pc port..
I can view through my windows not through my linux machine mycomputer...
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Is your HDD formatted? Does it have file system created? What type of file system?
Avatar of jcob_l
jcob_l

ASKER

oh it has already data..

just want to view that files in linux..
what distribution of linux?  what filesystem is the drive?  what version of vmware?
some distributions like red hat and centos don't have native ntfs support while ubuntu does
you need to provide more details to your questions so we know the environment
Avatar of jcob_l

ASKER

This is redhat linux

uname -a


Can you check what is happening in my case..


[root@newmac ~]# mount -t ntfs /dev/sda1 /mnt
mount: unknown filesystem type 'ntfs'
[root@newmac ~]# sudo mkdir -p /media/c
[root@newmac ~]# cd /media/
[root@newmac media]# ls
c
[root@newmac media]# cd c
[root@newmac c]# ls
[root@newmac c]# sudo fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1275    10241406   83  Linux
/dev/sda2            1276        2805    12289725   83  Linux
/dev/sda3            2806        3570     6144862+  83  Linux
/dev/sda4            3571        5221    13261657+   5  Extended
/dev/sda5            3571        4080     4096543+  82  Linux swap / Solaris
/dev/sda6            4081        4590     4096543+  83  Linux
/dev/sda7            4591        5221     5068476   83  Linux
[root@newmac c]# sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/hdb1 /media/c
mount: unknown filesystem type 'ntfs'
[root@newmac c]# sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/hdb1 /media/c
mount: unknown filesystem type 'ntfs'
[root@newmac c]# uname -
uname: extra operand `-'
Try `uname --help' for more information.
[root@newmac c]# uname -a
Linux newmac 2.6.18-164.el5 #1 SMP Thu Sep 3 02:16:47 EDT 2009 i686 i686 i386 GNU/Linux
[root@newmac c]#
ASKER CERTIFIED SOLUTION
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is /dev/sda the correct disk? Looks to me that sda is the disk that has your Linux installation, not the disk you are trying to mount.
from the fdisk output the drive doesn't appear; i would have expected sdb

is the drive available in vmware?  haven't worked with server for a while but in workstation you can attach removable devices to the virtual machine.  you have to get the drive attached to it first then you will see the device in the guest
@jcob_l - there is no need for sudo if you're root already - so your commands like:

[root@newmac c]# sudo fdisk -l

wil work just fine like this:

[root@newmac c]# fdisk -l

To find your device name, type dmesg and in watch the message log, look for USB messages and lookup the sdb (or sdc, sdd ...) device name.
In REPOForge repo you can find fuse-ntfs-3g package. It installs NTFS read/write support for Redhat/CentOS/Scientific Linux.
Avatar of jcob_l

ASKER

These links helped....