Saturday, January 28, 2012

RHEL / CentOS Linux: Mount and Access NTFS Partition

How to enable NTFS support on CentOS Linux version 5 or 6? How do I mount ntfs partition under RHEL 5 or 6?


Original text can be found on location:   http://www.cyberciti.biz/faq/redhat-fedora-enable-ntfs3g-support/

First, you need to install EPEL repo as described here. The following command will turn in EPEL repo on RHEL / CentOS version 6.x:
$ cd /tmp
$ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm

NTFS-3G

NTFS-3G is a stable, open source, GPL licensed, POSIX, read/write NTFS driver for Linux. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems.
NTFS-3G can create, remove, rename, move files, directories, hard links, and streams; it can read and write normal and transparently compressed files, including streams and sparse files; it can handle special files like symbolic links, devices, and FIFOs, ACL, extended attributes; moreover it provides full file access right and ownership support.

How Do I Install NTFS-3G?

Type the following command as root user:
# yum install ntfs-3g
Sample outputs:
yum install ntfs-3g
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntfs-3g.x86_64 2:2011.4.12-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================
 Package         Arch           Version                     Repository    Size
===============================================================================
Installing:
 ntfs-3g         x86_64         2:2011.4.12-3.el6           epel         247 k
Transaction Summary
===============================================================================
Install       1 Package(s)
Total download size: 247 k
Installed size: 624 k
Is this ok [y/N]:

How Do I Find Out NTFS Partition Name?

Simply type the following command:
# fdisk -l /dev/sda
# fdisk -l /dev/sdb

Sample outputs:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf0000000
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              14       60802   488281089    5  Extended
/dev/sda5              14       59767   479970304   83  Linux
/dev/sda6           59767       60802     8309760   82  Linux swap / Solaris

How Do I Mount /dev/sda1 NTFS Partition at /mnt/ntfs?

First, load the fuse driver, enter:
# modprobe fuse
Create a mount point, enter:
# mkdir /mnt/ntfs
To mount the ntfs partition, enter:
# mount -t ntfs-3g /dev/sda1 /mnt/ntfs
You can use regular Unix commands to copy or access the files:
$ df -h
$ mount
$ cd /mnt/ntfs
$ cp foo /tmp

How Do I Unmount NTFS Partition?

Type the following command:
# umount /mnt/ntfs

Wednesday, January 25, 2012

StressLinux - HW testing Linux distribution

What is stresslinux


  • stresslinux is a minimal linux distribution running from a bootable cdrom, usb, vmware or via PXE (wip).
  • stresslinux makes use of some utitlities available on the net like: stress, cpuburn, hddtemp, lm_sensors ...
  • stresslinux is dedicated to users who want to test their system(s) entirely on high load and monitoring the health.

Who needs it


Stresslinux is for people (system builders, overclockers) who want to test their hardware under high load and monitor stability and thermal environment.


Note: You should be familiar with linux console because stresslinux comes without a graphical user interface.

Where to start
Downloads
Docs: FAQ, Documentation, Software
Community: Forum, Reviews, Facebook, Google+

    Thursday, January 19, 2012

    NetSpeedMonitor

    Link: http://www.floriangilles.com/software/netspeedmonitor/

    NetSpeedMonitor

    NetSpeedMonitor is a lightweight Network Monitoring Toolbar for your Windows Taskbar designed to be used on computers that run Windows XP, Windows Server 2003, Windows Vista or Windows 7. With NetSpeedMonitor you can monitor the current speed (up- and downstream) of your Network Interfaces and the amount of data transferred. In addition to the Connection Table with all TCP/UDP endpoints and the Toolbar Tooltip with a quick and short traffic overview, you can also see detailed daily and monthly Traffic Statistics. NetSpeedMonitor toolbar requires no additional drivers like other Network Monitoring tools do!

    Wednesday, January 18, 2012

    Fedora 16 Multimedia HOW-TO

    Step 1: Add the livna Repo for DVD Playback

    rpm -ivh http://rpm.livna.org/livna-release.rpm

    Step 2: Add the Adobe Flash Repo

    rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

    Step 3: Install RpmFusion Repos

    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

    Step 4: Install Multimedia Applications

    yum -y install lsdvd libdvdnav libdvdread ffmpeg gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-extras gstreamer-plugins-ugly libdvdcss flash-plugin

    you should now have full multimedia and video support for all popular formats. If you experience any issue feel free to post a reply.

    Wednesday, December 14, 2011

    Top Android Apps For HTC Wildfire




    1. UnrEVOked
    2. Villian 1.0 aka WildPuzzleROM
    3. Titan Backup
    4. Chrome to Phone (2.2 only).
    5. Google Reader
    6. APNDroid (with 3G Watchdog)
    7. Barcode Scanner
    8. ASTRO
    9. ES File Explorer (Samba Network client)
    10. PicSay
    11. ThickButtons
    12. SleepyTime
    13. Dolphin Browser HD
    14. ConnectBot
    15. SpeedTest.net
    16. Reddit is fun

    Monday, November 7, 2011

    How to enable System Restore in Windows server 2003

    The most requested feature (apart from the Logon Screen & Fast User Switching) is here! You will need your Windows XP CD on hand to install this, as files from Windows XP are required to install System Restore into Windows Server 2003.
    Please take care when using System Restore, as system instabilities are still unknown at this point, although it has been tried and tested! If your copy of Windows Server 2003 is to be used as a 100% workstation, then it should be OK to use System Restore!
    The installation of System Restore is as easy as pie, follow the instructions below:
    1. Extract the zip file into a folder, you will see two main files - AddSystemRestoreEntries.reg and sr.inf
    2. Double click on AddSystemRestoreEntries.reg and click on Yes when prompted.
    3. Insert your Windows XP CD
    4. Right click on sr.inf and select Install.
    5. Point to the /i386 directory on the CD if prompted.
    6. Reboot!
    That simple eh! Many thanks to Gosh for this excellent hack!

    How to use DiskSpd to simulate Veeam Backup & Replication disk actions

    This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...