Tuesday, March 9, 2010

How to mount Windows[NTFS] from Linux

Initially login as the root user.

Then type this command on the console:-

$ fdisk -l

This command shows what are the different disks present on our machine. They generally follow this particular format: /dev/sda[number]

$ mount -t ntfs /dev/sda[number of the disk which you want to mount] [directory on the root from which you will access the mounted disk files say for ex: mountedDir]

Then for viewing the mounted files just type as usual,

$ cd mountedDir

You will be able to access the files of the disk which was mounted.

For unmounting the disk, just simply type this on the console:

$ unmount mountedDir

Hope this will be helpful.

Finding the system information in Linux

These days am using Fedora more than Windows so trying to learn more about that. For finding out the details related to your system, you can use the following commands.

First login in to the root account.

Then, you can run these commands:

% /usr/sbin/dmidecode -t baseboard

This will give details of the motherboard


% /usr/sbin/dmidecode -t processor

This will dump the information about the processor.

Other keywords which are available which can be used as options for ‘t’ are

  1. bios
  2. system
  3. chassis
  4. memory
  5. cache
  6. connector
  7. slot
A easy method to find all the information abuot your cpu, you can execute this command:

$ cat /proc/cpuinfo

Hope this will be helpful.