Sunday, September 14, 2014

Quickly Boot to Bootcamp Windows

If you are using Bootcamp, you will notice that you can boot to Max OS X quickly using the system tray icon. In order to boot to Windows you need to go to preference and select the startup disk. Is there a way to boot into Windows quickly? Yes.

There are several solutions including using the startup disk under system preference and installing an app for it. I will show you how to boot to Windows using Startup disk. Then I will show you the instructions to create an shortcut or alias so that access the startup disk quickly.

Using Startup Disk

1. Select System Preference.

2. Click Startup Disk

3. Select "BOOTCAMP Windows" and click restart.

Create a Shortcut to Startup Disk

1. Open a Finder. Goto the first level folder of your disk.

2. Select System >> Library >> PreferencePanes. If you prefer to use command line the path is /System/Library/PreferencePanes

3. Under PreferencePanes, find StartupDisk.prefPane. Create a shortcut or alias by pressing Command+Option and drag the icon to the desktop.

4. You can also add StartupDisk.PrefPane to the dock by dragging the icon from your desktop to the dock as shown below. Please note that you can only place the icon next to the folders not application. 

Now once you click the icon from the desktop or dock, you are given the screen below immediately.


Gmail Server Rejects Password from Email Client and Mobile Apps

If you encountered problem when login into gmail account (using IMAP) from your email clients such as Thunderbird, Live Mail, Apple Mail, Mail apps in iPhone and iPad, and any other email clients or apps; you are not alone. The problem you encountered is not a bug but it is a security feature implemented by Google. The solution is as follows:


When you add a gmail account in any email client using IMAP, you might have an error that says "your id and password has been rejected by the server". Another situation occurs when you previously working gmail account suddenly stops working and it produce a similar message that you id and password has been rejected by the mail server.

Possible Causes

1. Google Security Feature
Google has turn on a feature that prevents less secure apps and devices from logging into the server. This might includes emails clients and mobile apps.

Under the section Less secure apps, access for less secure apps is disabled. This is the more secure option. However, you might not be able to use your other email client such as Apple Mail, Windows Live Mail, Thunderbird, Mail apps from iPhone and iPad and mobile apps. You can still use your gmail apps in iOS and Android.

If you clicked enabled for "Access for less secure apps", you allows email clients and mobile apps to access. This is the less secure option. You can use any other non Google products to access your email.

2. IMAP Not Enabled
IMAP is disabled by default. If you have been accessing your email by web or Google apps, you might not notice that IMAP is disabled by default.

3. Your Email Access is Locked
After multiple tries, you access to the email server is being locked. Even if enabled the previous two options, you might still encounter problems because you have not unlocked your account. To unlock the email access you need to go to this site:

Solutions (Step by Step)

  1. Remove any configuration from you emails clients and mobile apps.
  2. Goto 
  3. Click "Continue
  4. Login to the email site using web mail.
  5. Click the drop arrow next to your login id (on the top right corner) and click Accounts
  6. Select the tabs "Security" 
  7. Find the box under "Accounts Permission" 
  8. Click Settings.  You will see the following.
  9. Click Enable. Click "Done".
  10. Go to gmail site, click "Settings" (i.e. the gear) and select settings. 
  11. Click "Forwarding and POP/IMAP" as shown. 
  12. Check the IMAP settings. Click "Enable IMAP" and Click "Save Changes" at the bottom.
  13. Make sure that IMAP is enabled. 
  14. Configure your email client or mobile apps again. It should be working. If it is still not working, repeat step 2 and 3. Check to make sure that all settings are changed and wait for a while before you configure you email client again.

That's it and good luck.


Sunday, March 2, 2014

Install Linux Mint 16 on VirtualBox

The following installation instruction is to install Linux Mint 16 Cinnamon 64-bit version to VirtualBox.

Setting up Virtual Machine
On VirtualBox select "New". Enter the name of virtual machine. Click "Continue".

Set your memory allocation for this vm. Click "Continue".

Select an existing virtual hard drive or create a new one. Default is creating a new one. Click "Create".

If you are creating a new virtual hard drive, select the hard drive file type. Select the default. Click "Continue".

Select "Dynamically allocated" and click "Continue".

Name the virtual hard drive and select the virtual hard drive size. Click "Create".

You are back to the virtual machine manager screen. You can right click the virtual machine you've just created and change the setting. Goto System, select Processor and set the number of processor to be used.

One recommended change is to increase the video RAM and enable 3d acceleration. See below.

Installing Linux Mint 16
Click "Start" to start the virtual machine.

You need to select the start-up disk. Select the ISO image of Linux Mint 16. The system will launch Linux Mint.

Click "Install Linux Mint". (Silver disc on the desktop). Select the language of your choice. Click "Continue".

Click "Continue".

Select "Erase disk and install Linux Mint" and click "Install Now".

Select your time zone. Click "Continue".

Select the default keyboard and click "Continue".

Create the username and set a new password. Click "Continue".

The installation begins.

Once the installation is completed you need to restart the system.

The login screen is shown as below.

The desktop with welcome screen is shown below.

*Please remember to run system update for patches.

VirtualBox Guest Additions

Please note that there is NO Need to install VirtualBox Guest Additions as the system already included the guest additions. You can use the following command to check if guest additions have been installed.

apt-cache policy virtualbox-guest-dkms
apt-cache policy virtualbox-guest-utils
apt-cache policy virtualbox-guest-X11


Monday, February 3, 2014

Installation Guide for Fedora 20

The following guide contains the installation procedure for Fedora 20. This procedure was tested on a HP laptop with dual core AMD processor and 4GB of RAM using a USB external hard disk. I boot the Fedora Live from a DVD and install the entire OS on an external (USB) hard disk.

For installation of Fedora 20 on virtual machine, please refer to Install Fedora 20 on VirtualBox with Guest Additions. For netinstall, refer to Install Fedora 20 using Netinstall.

Creation of Media

This time I burn a DVD from the ISO. If you prefer to create an USB drive instead, the procedure on creating bootable USB can be found on the official Fedora documentation here. For details of creating a bootable USB drive, please refer to my previous post here on creating USB drive.

Installing Fedora 20

Start your computer. You might need to press extra key at the beginning so that you can boot Fedora 20 from DVD or USB drive. In my case, a HP laptop, I need to press Esc and then F9. Most other computer uses F9 or F10 or F11. Please refer to the user guide of your computer.

Once you've bootup Fedora 20. You are given a choice to install into a hard disk.

Click Install to Hard Drive. The first screen of installation wizard is shown below. Select the language of your choice. Click "Continue".

The next screen shows an installation summary. On the installation summary, you'll notice that there is a warning sign on installation destination. You need to confirm the installation target drive. Click on INSTALLATION DESTINATION.

There are 2 disk available. I will be installing Fedora 20 on WD1600JS. This is an external USB hard disk. Click to select the disk you want to configure. Click Done on the top left corner.

A dialog box appear. In this dialog box, you can choose to let the system configure the partition for you, you just need to specify the partition scheme. You can also configure the partition manually. This time, I decided to configure the partitions manually. Click Continue. (For new Linux users who want to know more about Linux partitions, please refer to my post Linux Partitions)

In this summary screen for manual partition, click + on the lower left corner to create a new partition. I will remove the old partitions from Fedora 19 and create a new partitions for Fedora 20. Click - to remove partitions. WARNINGS: It is very IMPORTANT that you remove the correct partitions. Removing wrong partitions will result in LOSS DATA.

Once I have removed the old partitions, the partition information looks like the screen below. In my case I have a NTFS partitions for data sharing.

To create a new partition click +. The first partition is the boot partition. 500MB is sufficient.

The next partition is swap partition. The recommend size for swap file is two times of your system RAM. However, due to RAM size getting larger and swap is seldom utilized. It is recommended to give the swap file 4GB of space, even if you have 16GB of RAM.

The last partition is the root partition, you can use the entire free disk space to allocate to the root partition. Leave the capacity blank.

The summary of partition is as follows. Click Done when you complete your configuration.

The next dialog box shows the summary of all your actions. Please note that at this point the actual changes has not been made. If you create the partition wrongly, you can always go back and change them. Click Accept Changes to commit the changes.

You will be shown the Configuration Summary. Review the summary page and change any setting such as time zone or keyboard. Click Begin Installation.

Once the installation starts, in the meantime, you can set the root password and add user. Click ROOT PASSWORD.

Enter the root password and click Done when ready. Then, click USER CREATION.

Enter the user name and set the user password. Make sure you check Make this user administrator. Click Done when ready.

Wait for the installation to complete.

Click Quit on the lower right corner when installation is complete.

You can reboot the system. The desktop is shown as below:

The following dialog box will be shown for the first time. Select English and click Next.

This allows you to add different input sources. Click Next.

This dialog box allows you to configure online accounts. Click Next.

Click Start using Fedora

Finally, the Help page will appear. If you are new to Fedora, I suggest you take some time to watch the video, otherwise you can close it.

This completes the installation.

Updating the System

Click Activities and type in Terminal on the search box. Launch the terminal.

Use the following command to update the system

sudo yum update

Once the update is complete, restart the machine. Usually there is no need to restart the machine after the update. However, you need to restart the system if you've just update a new kernel.

After updating the system, you might want to install addition software. Please refer to Fedora 20 Post Installation Software Configuration Guide