Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

read and write windows partitions from linux


First of all windows uses FAT32 and NTFS file systems. FAT stands for File Allocation Table. Actually it is a table of information about the hard disk blocks. But the size of any table in computers can not be unlimited. With FAT32 users can not store files larger than 2GB. This cannot change because that's the way the system was designed. You can read more about FAT from wikipedia here.
Now let's come to the point. Linux can read ntfs partitions but cannot write them. The solution is not that easy as Read and Write Linux Partitions From Windows.
First you will need to download the ntfs-3g from it's homepage here.
After downloading ntfs-3g you follow the well known procedure of configure , make , make install . If compile fails you probably don't have FUSE (Filesystem in USErspace) installed or you have an old version. FUSE can be downloaded for it's homepage here. You can follow the previous procedure to install it. If you are with Gentoo you can install ntfs3g and FUSE with these simple commands:
1. 2. 3.echo "sys-fs/ntfs3g" >> /etc/portage/package.keywords echo "sys-fs/fuse" >> /etc/portage/package.keywords emerge ntfs3g fuse

The two first commands write to the file specified and the third download and install ntfs3g and FUSE.

suse linux view cpu speed and hard disk/cpu temperature

I have a laptop which sometime goes really hot and I wanted a simple way to be able to view CPU and Hard disk temperature. I' m on SUSE 10.3 and I tried installing LM-sensors but no sensors were detected. After a very little search I found that you can view the CPU speed by using the cpufrequtils so I installed the package using Yast and executed cpufreq-info.
Here is the output:
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006 Report errors and bugs to http://bugs.opensuse.org, please. analyzing CPU 0:   driver: acpi-cpufreq   CPUs which need to switch frequency at the same time: 0   hardware limits: 798 MHz - 2.00 GHz   available frequency steps: 2.00 GHz, 1.60 GHz, 1.33 GHz, 1.06 GHz, 798 MHz   available cpufreq governors: conservative, userspace, powersave, ondemand, performance   current policy: frequency should be within 798 MHz and 2.00 GHz.                   The governor "ondemand" may decide which speed to use                   within this range.   current CPU frequency is 798 MHz (asserted by call to hardware).
Download The Code