Category Archive: How To Guides

Apr 03

Make Your Own TRIM for SSDs in RAID Mode

A driver that finally enables TRIM support for Intel SDDs in RAID mode?

Sadly, the news were too good to be true. The latest Intel driver was incorrectly reported (techPowerUp!) to enable TRIM for SSDs in all RAID modes except for RAID5. However, this was bogus information from Intel. The correction came shortly thereafter, that support is ONLY for single disks and not while in RAID arrays.

Intel X25-V SSD - Still not getting its daily TRIM

Intel X25-V SSD - no TRIM for you!

The truth is that the new driver allows single disks that are connected while running the storage controller in RAID mode to receive the TRIM command.

It seems passing the TRIM command to SSDs in a RAID array is not a simple case with current chipsets and drivers.

The recommended workaround:
Yes, there’s actually a workaround! Just leave some 15-20% free, unformatted, unallocated space when formatting your RAID array of SSDs, seen as a single disk during OS install. The SSD controller will use this as “scratch space”. Also, do note that the much talked about performance loss over time that occurs with SSDs – is much less of an issue when in a RAID.

But what if I already formatted and used my drives?
No worries! You can still perform a Secure Erase (ata.wiki.kernel.org) to bring them back to basics. The same procedure can also be performed every 1-2 years if you experience noticeable loss of performance. But by then, maybe they will have conjured up some magical new drivers? Only time will tell …

Oh, almost forgot; for those “I run my single disk SSDs while in RAID mode” kind of guys:

Click here to get the latest Intel® Rapid Storage Technology Driver for Intel Desktop Boards.
Select your OS, then “Driver”.

Mar 20

Useful DNS commands for Windows

Changing the name of a server inside of a domain? Finding computers whose names don’t match with their IPs? You may need to do some DNS “magic”.

Continue reading “Useful DNS commands for Windows” »

Jan 14

How To Set Up Thunderbird For Exchange 2007, 2010

Thunderbird <3 Exchange

Thunderbird <3 Exchange

EZUNIX.org has provided a nice guide for those of us that would like to use the Thunderbird mail client with the notoriously incompatible Exchange 2007 Server.

The guide is even available as a downloadable PDF document.

Also worth mentioning is the fact that Thunderbird 3 now comes with calendar support!

Sep 14

How To: Make a Cat-6 Patch Cable

Category 6 (Cat-6) patch cable and plugs differ from Cat-5e. Cat-6 plugs are modular and specced to be of higher quality, in order to support the required 300 MHz signal rate and handle 1 Gbit/s to 10 Gbit/s transfer rates. Category 5e cable also supports Gigabit Ethernet, but limited by design to a maximum 100 MHz signal rate.

  1. Cut the needed cable length. If using boots for the plugs (the rubber thingies that usually feature a protective cap), slide them on now.
  2. Trim the outer cable about 3-4 cm / 1.2-1.5″ down. Untwist the cable pairs – use the outer insulation piece to do this faster.
  3. Cat-6 cable has a plastic spine that needs to be cut away before crimping the plug onto the cable. Fold the cable pairs out and pull on the spine while cutting it as far in as you’re able to do.
  4. Straighten the cable pairs well using your fingers and gather them next to each other in the correct order according to one of  the below diagrams. Hold them tightly together and cut them as straightly as possible. (If using a load-bar, cut them at a sharp angle for easier insertion. Recheck the sequence and insert them thru the load-bar one at a time.)CAT6 568-A Wiring Diagram
    CAT6 568-A Wiring Diagram
  5. Recheck the sequence of the wires, then insert them into the plug with the brown wires to the right side.
  6. Crimp the cable by inserting and aligning the plug into your preferred RJ-45 crimping tool. Make sure that all wires go all the way to the end of the plug.
  7. If using a boot for the plug, push it all the way down over the plug.
  8. Repeat for the other end. If making a crossover cable, refer to the other diagram for the second plug (568-A on one end and 568-B on the other).
  9. If you have a cable tester, this would be a good time to test that all the four pairs are working correctly. (See your device instructions).
  10. FINAL NOTE:
    There being two types of network cable – solid and stranded core, make sure you either know exactly which type of cable you have before buying the correct plugs, or buy plugs that support both types. Make sure, if using cable with an AWG (guage) of 22, that the cable and plugs are genuine AWG 22 Cat-6 (8P8C) – not just Cat-5/5e sold as Cat-6. If they’re actually guage 24, they may not make proper connection. Many asian manufacturers do not make the cables and plugs according to the quality requirements of Cat-6 specification (copper clad instead of 100% copper). True CAT6 plugs are modular and should have polished contacts. Some Cat-6 cables are too large and may be difficult to attach to 8P8C connectors without a special modular piece and are technically not standard compliant.

Jul 20

How To: Install Windows 7 or Windows 8 From USB

windows se7en logo

It is simple to install Windows 7 or Vista from any USB media as long as you follow this guide. First you need to fulfill the following list of prerequisites, which I have expanded on much more than most guides similar to this one, so that you will be prepared for everything:

  • A USB stick or similar USB storage device (aka” USB Flash Drive”) with a minimum of 3 GB capacity
    (Tip: Some USB drives don’t work well as boot devices on certain systems. If you have issues, try a different flash drive.)
  • Windows 7 (or Vista) source files (from ISO or DVD)
    (Tip: If you have obtained an ISO file, you may extract it using WinRAR.)
  • BIOS Settings and Hardware Checks:
    1. Change the boot priority of USB devices so that they are above any harddisks.
    2. Check the boot order for your hard disks. If your USB connected device shows up here, usually you need to hit “Page Up” (PGUP) to move it all the way to the top.
  • Check that your computer supports booting from USB devices. If not, then you probably can’t boot from your USB media. You would need to run the installation from your DVD-drive or obtain an external DVD-drive or adapter.

(Tip: See your PC manual or a tech savvy friend if you have issues with this step. Normally you need to press either F2, F3, F5 or F12 to access the boot menu. Sometimes it helps to press ESC to see what you need to press if neither of those are working.)

Now let’s make a bootable USB device!

But first…

  • You need to obtain the correct version of BOOTSECT.EXE (64-bit/x64 or 32-bit/x86)
    If you’re making the USB bootable media for a 64-bit version of Windows on a 32-bit version of Windows, you need to get yourself the 32-bit version of the BOOTSECT.EXE tool used in this guide, as the 64-bit version found included in the 64-bit source files won’t run on a 32-bit OS. You should be able to get this from any 32-bit install source for Windows 7 or Vista. I cannot put it on my blog, because it is prohibited by the Microsoft EULA.
  1. Plug in your USB stick and backup any important files that you may want to keep.
  2. Open Command Prompt with administrator rights using either of the following methods:
    • Hit the Windows key + R and type CMD. Hit CTRL + SHIFT + ENTER.
    • Type CMD in the Start menu search box. Hit CTRL  + SHIFT + ENTER.
    • Go to Start > All programs > Accessories and right-click on Command Prompt, then select “Run as administrator“.
  3. Type the following commands in the Command Prompt box to find the disk number of your flash disk:
    • DISKPART
    • LIST DISK
  4. Identify your flash disk and note the disk number, then enter the following commands – assuming your USB stick’s disk number is 1:
    • SELECT DISK 1
    • CLEAN
    • CREATE PARTITION PRIMARY
    • SELECT PARTITION 1
    • ACTIVE
    • FORMAT FS=NTFS QUICK
      (QUICK is the switch for Quick Format. Run the command without QUICK if you want all sectors checked. This could take a long time depending on the size and speed of the disk.)
    • ASSIGN
    • EXIT
      (BUT DON’T CLOSE THE COMMAND PROMPT YET!)
  5. Still in Command Prompt? Good, because  you’ll need it again in a few seconds…
  6. If you have an ISO image of Windows 7 or Vista, you may now extract it if you haven’t already, then follow step 6.1. If you have a DVD, follow step 6.2:
    6.1: Assuming you extracted the ISO to C:\Win7, bring up your Command Prompt again, then browse to the BOOT folder by typing: “CD C:\Win7\boot
    6.2: Assuming your DVD drive letter is “D”, bring up Command Prompt and browse to the BOOT folder by typing “D:CD boot”.
  7. Assuming your USB stick drive letter is “E”, type the following command to make the USB stick bootable:
    • BOOTSECT.EXE /NT60 E:
  8. You should see a message saying “Successfully updated NTFS filesystem bootcode. Bootcode was successfully updated on all targeted volumes.”

    Notice

    If you get an error about x64/x86 incompatibility at this stage, you need to obtain the correct version of BOOTSECT.EXE – see the 4th bulletin at the very top of this guide for more info.

  9. Copy all of your Windows 7 / Vista contents to the USB stick.
  10. Your USB stick is now ready for use! Remember to enable USB boot and change boot priority so that USB-drives are above any harddisks in the boot priority in the BIOS. Refer to your system manual for instructions on how to do this. Also, remember that some USB sticks don’t work as well as others as boot devices, especially with certain older systems that claim to have USB boot capabilities. I can confirm that it worked with a SONY 4GB USB stick on a Dell Latitude E4200 for me, and has worked with many others for people I know. The least reliable kind of USB stick seems to be the variety that come as USB adapters for different memory cards, like SD Card or Memory Stick, BUT they may work even if they don’t appear as USB devices, as they will often simply be listed as harddisks instead.

Mar 30

How To: Disable Thumbnail Preview In Windows 7

On my Media Center PC, after reinstalling some video codecs, my MKV* video files made Windows Explorer crash regularly when opening a folder with one of these files in it. To solve this problem, I had to disable automatic thumbnail generation in Vista or Windows 7. Disabling thumbnail preview in Windows Explorer can make Vista/Windows 7 perform notably faster in any case, as Explorer will no longer be generating thumbnails for every video and image file in every folder you open. This is especially useful when browsing back and forth between multiple folders. Follow these steps to disable the automatic thumbnail generation:

  1. Press and hold the Windows key on your keyboard, then press E to open Windows Explorer (alternatively click Start > Accessories > Windows Explorer).
  2. In the Windows Explorer window, click on the Organize button on the menu/shortcut bar.
  3. In the pull down menu, click on Folder and Search Options.
  4. The Folder Options dialog window will appear. Click on the View tab.
  5. Under the Files and Folders tree heading, check (tick) the box next to Always show icons, never thumbnails option.
  6. Click the OK button and you’re good to go!

* MKV is a common container format for video, audio and subtitles, often used to distribute standard and high definition video, audio and associated subtitles in one single file, with support for multiple audio and subtitle tracks, just like on a DVD.

Edit: Some newer codec packs, such as the Shark007 Codec Pack, by default turns off MKV thumbnails, but also makes it possible to easily control this and MANY other settings through an easy to use Windows application interface.

Older posts «

» Newer posts