docordi.be

How-To's

  1. Recover an Apple Computer
  2. Download Apple Hardware Test (AHT)
  3. Mac OS X Recovery Mode
  4. Mac OS X Safe Mode
  5. macOS User Reset Password
  6. Recover a Dell from its Recovery partition
  7. Load the Belgian keyboard in Linux shell
  8. Delete all .DS_Store files from current directory
  9. Manage partitions with GParted (GNOME Partition Editor)
  10. List disk devices using Linux parted
  11. Clone a disk to another one using Linux dd
  12. Recover deleted partitions using testdisk
  13. Convert Outlook OST to PST
  14. Windows Updates to avoid
  1. Recover an Apple Computer
  2. See this guide

  3. Download Apple Hardware Test (AHT)
  4. See this site

  5. Mac OS X Recovery Mode
  6. Starting Mac OS X 10.7 (Lion), it is possible to boot into Recovery mode without a DVD.
    Simply press Command+R at startup of the Mac.

    Credits to: Christian Zibreg

  7. Mac OS X Safe Mode
  8. To load Mac OS X in Safe mode: without any extension loaded (*.kext located in /System/Library/Extensions) .
    Simply press Shift at startup of the Mac.

  9. macOS User Reset Password
  10. Apple includes a tool to replace a Mac's password. This is the best option if you have completely forgotten your password. Follow these steps:

    1. Turn off your Mac (choose Apple > Shut Down).
    2. Press the power button while holding down Command + R. The Mac will boot into Recovery mode. When you see the load bar appear you can let go of the keys. It may take a few minutes to load.
    3. Select Disk Utility and press Continue.
    4. Choose Utilities > Terminal.
    5. Enter resetpassword (all one word, lower-case letters) and press Return.
    6. Select the volume containing the account (normally this will be your main hard drive).
    7. Choose the account to change with Select the User Account.
    8. Enter a new password and re-enter it into the password fields.
    9. Enter a new password hint related to the password.
    10. Click Save.
    11. A warning will appear that the password has changed, but not the Keychain Password. Click OK.
    12. Click Apple > Shut Down.
    13. Now start up the Mac. You can log in using the new password.
    Credits to: Lucy Hattersley

  11. Recover a Dell from its Recovery partition
    1. Backup data from the OS partition
    2. Boot Hirens Boot CD on a USB stick
    3. Enter Mini XP mode
    4. Formatting the OS partition (Quick format is faster)
    5. Opening the GImagex program from Hirens
    6. At GImagex use the Apply tab to expand the Factory.wim from the RECOVERY partition (check the date on the file to know if its the original(if you're doing this I would recommend checking you can see the Factory.wim file before formatting the OS, my path was D:\dell\images\Factory.wim)
    7. Wait about 15 minutes and enjoy a clean install with drivers already installed
    Credits to: celamb89

  12. Load the Belgian keyboard in Linux shell
  13. To use the keytable for a Belgian keyboard you can use loadkeys be2-latin1 or loadkeys be-latin1. The only difference between the two is that be2-latin1 adds support for twosuperior and threesuperior (keycode 41) and grave (keycode 43).

    sudo loadkeys be2-latin1
    Credits to: The Linux Documentation Project

  14. Delete all .DS_Store files from current directory
  15. To delete all .DS_Store files from current directory even in directory names with spaces

    sudo find . -type f -iname ".DS_Store" -exec rm -v '{}' +
    Credits to: sciurus
    or
    sudo find . -type f -iname ".DS_Store" -print -delete
    Credits to: Jon Bellah

  16. Manage partitions with GParted (GNOME Partition Editor)
    1. Boot GParted Live on a USB stick installed using TuxBoot
    2. Enter GParted Live
    3. Choose your keyboard layout
    4. Choose your language (default is [33] US English)
    5. Choose your Video mode (default is [0] GNOME)
    6. GNOME starts and GParted starts
    7. Start a root terminal by right-clicking on the desktop and selecting Terminals->lxterminal with root privileges
    8. Disable screensaver by typing the command
      xset -dpms
    9. Have fun using GParted

  17. List disk devices using Linux parted
  18. sudo parted -l

  19. Clone a disk to another one using Linux dd
  20. If you'd like to clone /dev/sdb to /dev/sdc use the following command

    sudo dd if=/dev/sdb of=/dev/sdc bs=32M status=progress

  21. Recover deleted partitions using testdisk
    1. Boot GParted Live on a USB stick
    2. Enter GParted Live
    3. Enter a terminal and execute the following commands
    4. sudo -s
      testdisk
      
    5. Select No Log
    6. Select the disk drive you want to recover, e.g. /dev/sdc
    7. Select your partition table type. Usually it's Intel.
    8. Select Analyse and Quick Search
    9. If you get asked whether your partition was created under Vista, answer yes/no
    10. Your drive will be analysed and you will see a list of all found partitions. If you know what you are doing, you can edit the list, otherwise just press Enter.
    11. On the next screen you have the option to either perform a second Deeper Search, or Write the current partition table to disk. If the quick search was successful, choose Write.
    Credits to: P. Asimakopoulos

  22. Convert Outlook OST to PST
  23. Use Stellar OST to PST Converter

  24. Windows Updates to avoid
  25. Credits to: aurgathor