Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Thursday, September 13, 2007

Mounting NTFS File System on Linux

How to mount your NTFS drive into your Linux Box? Find the steps below :

  1. Download ntfs-3g from http://www.ntfs-3g.org/
    The NTFS-3G driver is an open source, freely available read/write NTFS driver for Linux, FreeBSD, Mac OS X, NetBSD, and Haiku. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems. Most POSIX file system operations are supported, with the exception of full file ownership and access right support.

  2. Compile the source
    # tar -zxvf ntfs-3g-1.913.tgz
    # cd ntfs-3g-1.913
    # ./configure
    # make
    # make check
    # make install

    The program path is /usr/local/bin/

  3. Check your disk partition
    [root@konang]# /sbin/fdisk -l
    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 4 32098+ de Dell Utility
    /dev/sda2 * 5 3350 26876745 7 HPFS/NTFS
    /dev/sda3 3351 9725 51207187+ f W95 Ext'd (LBA)
    /dev/sda5 3351 8429 40797036 7 HPFS/NTFS
    /dev/sda6 8430 8462 265041 83 Linux
    /dev/sda7 8463 8593 1052226 82 Linux swap / Solaris
    /dev/sda8 8594 9725 9092758+ 83 Linux

  4. Create mount directory
    # mkdir -p /mnt/windows-c
    # mkdir -p /mnt/windows-d

  5. Put into RC file /etc/rc.d/rc.local (load automatically when reboot)
    mount -t ntfs-3g /dev/sda2 /mnt/windows-c
    mount -t ntfs-3g /dev/sda5 /mnt/windows-d

  6. Test
    # df
    [root@konang]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda8 8807924 7444172 909116 90% /
    /dev/sda6 256666 15646 227768 7% /boot
    tmpfs 233164 0 233164 0% /dev/shm
    /dev/sda1 32018 7322 24696 23% /mnt/flashdisk
    /dev/sda2 26876744 17725572 9151172 66% /mnt/windows-c
    /dev/sda5 40797032 16751732 24045300 42% /mnt/windows-d

  7. List
    # cd /mnt/windows-c
    # ls -asl /mnt/windows-c

    [root@konang]# ls -asl /mnt/windows-c
    total 773752
    12 drwxrwxrwx 1 root root 12288 Sep 13 19:02 .
    8 drwxr-xr-x 9 root root 4096 Aug 10 15:42 ..
    1 -rwxrwxrwx 1 root root 257 Aug 22 2006 adaaja.csv
    8 drwxrwxrwx 1 root root 8192 Mar 9 2007 Alfresco
    8 drwxrwxrwx 1 root root 8192 Jun 15 2006 apache
    0 drwxrwxrwx 1 root root 0 Feb 8 2006 apachefriends
    0 -rwxrwxrwx 1 root root 0 Aug 11 2004 AUTOEXEC.BAT
    1 -rwxrwxrwx 1 root root 211 Dec 12 2005 boot.ini
    0 -rwxrwxrwx 1 root root 0 Aug 11 2004 CONFIG.SYS
    8 drwxrwxrwx 1 root root 8192 Feb 7 2006 dell
    4 -rwxrwxrwx 1 root root 3696 Nov 19 2005 dell.sdr
    4 drwxrwxrwx 1 root root 4096 Aug 6 09:26 Documents and Settings
    4 drwxrwxrwx 1 root root 4096 Nov 19 2005 DRIVERS
    4 drwxrwxrwx 1 root root 4096 Jul 24 13:28 EasyEclipse-for-LAMP-1.2..
  8. Done

Tuesday, September 4, 2007

Force wallpaper & screen saver by Windows Active Directory

How to force wallpaper & screen saver by Windows Active Directory ?

  1. Menu Start
  2. Programs
  3. Administrative Tools
  4. Active Directory Users & Computers
  5. Right click -> your local domain (example mynetwork.com)
  6. Properties
  7. Choose control tab "Group Policy"
  8. Double click "Default Domain Policy"
  9. You will get window of "Group Policy" and there is 2 main items on root tree, "Computer Configuration" and "User Configuration".
  10. Choose the "User Configuration".
  11. You will get on tree : "Software Settings", "Windows Settings" and "Administrative Templates"
  12. Choose "Administrative Templates" tree.
Next ...

[Force Wallpaper]
  1. In the Administrative Templates, Click Desktop
  2. Click "Active Desktop"
  3. Please enable :
  4. - Enable Active Desktop -> enabled
  5. - Prohibit Changes -> enabled
  6. - Active Desktop Wallpaper -> enabled
  7. * Type your wallpaper path file :
  8. * Example : \\10.20.2.2\wallscr\er_wall.jpg
  9. * Choose wallpaper style : strech

Next ...


[Force Screensaver]
  1. In the Administrative Templates Click Control Panel
  2. Click Display
  3. - Prevent changing wallpaper -> enabled
  4. - Screen Saver -> enabled
  5. - Screen saver executable name -> enabled
  6. * Type your screensaver path file :
  7. * Example: \\10.20.2.2\wallscr\er_scr.scr
  8. - Screen saver time out -> enabled
  9. * Set time out (in second)
  10. Please user to logout and login again (2 times)
  11. Finish


Sunday, September 2, 2007

Custom Microsoft Windows Taskbar Date

I remember when I use this method first time to custom Microsoft Windows 98 Taskbar. This method can be apply too on Windows NT, Windows 2000, Windows XP and Windows 2003. For Windows Vista I am sure this no problem even not tested before. Here is the steps and I hope you are enjoyed.

  1. Click Control Panel.
  2. Double click "Regional and Language Options".
  3. Select (default) "Regional Options" tab.
  4. Click "Customize" next of the Country Language select menu.
  5. Select "Time" tab.
  6. Go to "Time Format".
  7. Default value is : hh:mm change to : 'MYNAME' HH:mm (Note! in the singe quote, 24 hour system), for 12 hour system remove one of "H" letter so became 'MYNAME' H:mm.
  8. Click Apply --> OK --> Apply ... so then you got new taskbar date !

Don't forget to Click Apply / OK, and then you got back to previous window and click Apply and OK to effect the taskbar date. Sorry for uncomplete steps on image above.

Search Linux Resources