Can anyone help. I am trying to get to my files on my harddrives. I know c is ntfs, I am not sure if d is fat. I went to the suse web site for ntfs and tryed to do what it said but got confused. What is the command line. What do I enter in it?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What does ‘fdisk -l’ show if you point it to your drive? Your drive is
probably /dev/hda or /dev/sda so:
fdisk -l /dev/sda
or
fdisk -l /dev/hda
Good luck.
pjww wrote:
> Can anyone help. I am trying to get to my files on my harddrives. I
> know c is ntfs, I am not sure if d is fat. I went to the suse web site
> for ntfs and tryed to do what it said but got confused. What is the
> command line. What do I enter in it?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIsHWi3s42bA80+9kRAgv+AJ41aIfyY9TPZL1GIL7JoqvPEeMeuACdE4Qj
WDOGJKX/8yDhV6gFwLiOHsg=
=S8Wz
-----END PGP SIGNATURE-----
“C” and “D” are not drives, they are partitions. If you do the command in a terminal window, as root:
fdisk -l
You will see the partition layout on all your disks. Under the “System” column you will see which are NTFS vs FAT32. Under “Device” you will see the name linux assigns to each partition; it will usually be in the form of sd<x><y>, where x is a letter with “a” assigned to the first drive (as determined by how the disks are connected inside the machine), “b” the second drive, etc. And y is the number of the partition in the partition table (which usually is sequential, but it is possible for the numbers in the table to not be the same as the actual physical sequence). So . . . sda1 is the first partition on the first disk, sdc4 is the fourth partition on the third disk, and so on. Once you have everything set up, you may tend to think in terms of the “mount points” rather than the actual partition name (which is sort of what Windows does, “C” being a mount point).
To access your C and D partitions, you first need to know which partitions they actually are (C and D and just arbitrary letter assignments that Windows makes; they could just as well be F and R). Once you know that, and once you’re sure of what file system (NTFS or FAT32), you can then “mount” each partition to a directory point. So, if you have a directory (folder) named “windows” which you created inside the /mnt directory, and inside windows you created folders called “C” and “D”, and let’s say D is sda2 and FAT32, then the mount would be:
mount -t vfat /dev/sda2 /mnt/windows/D
And if C is on sda1 and it is NTFS, the mount would be:
mount -t ntfs-3g /dev/sda1 /mnt/windows/C
Look in the file /etc/fstab - you will see examples of partitions being automatically mounted when you boot, there can also be mounts specified that are not automatic, but just pre-configured. The installer optionally sets that up for windows partitions in fstab, so maybe its already there.
Note that for NTFS to be mounted with write capability, the “fuse” package needs to be installed.
There is plenty of documentation and howto out there about mounting, file systems, and setting up fstab. The above was just to get you oriented and started in the right direction.
How do I do the command in the terminal window as root
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Open a terminal (‘xterm’, ‘gnome-terminal’, ‘konsole’) and then type
‘su’ and enter the ‘root’ user’s password. Finally, use the command as
shown.
Good luck.
pjww wrote:
> How do I do the command in the terminal window as root
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIszXw3s42bA80+9kRAkP8AJ9h9eqObdmg8/B7WcUspOGJ3Xf/OwCfayAF
NRD+xl2XwnSEkDzx9ZvUHgE=
=ayfj
-----END PGP SIGNATURE-----