Pages

Thursday, November 22, 2012

How long should you charge the battery when you start it up first time ?



You probably wondering when you buy a new laptop, how long should you keep the power connected first time to full charge it. Answer is ... there is NO need to. Lithium ion batteries are more efficient than nickel based rechargeable batteries and go through a formation process during manufacturing. They do not require the initial loading prior to use.

Wednesday, November 21, 2012

Dual-boot Windows 7 with SafeBoot and Ubuntu


Environment :
Windows 7
Ubuntu 12.04
SafeBoot aka McAfee Endpoint Encryption

Description :
What is SafeBoot ?
SafeBoot is a McAfee product which defunct back in 2009. Cooperate are using McAfee Endpoint Encryption nowadays (2012). McAfee Endpoint Encryption provide full disk encryption prevents exposure of sensitive data on laptops and desktop computers (especially in the event of PC loss or theft) with transparent encryption; enforce strong access control with two- and three-factor, pre-boot authentication.

This document the step I used to install McAfee Endpoint Encryption and got it to dual boot Windows 7 and Ubuntu.

1. To install Windows 7 on a computer without an operating system
2. Resize Windows 7 partition size to prepare space for Ubuntu
3. Install Ubuntu alongside Windows 7
4. Prepare bootloader for Safeboot
5. Install McAfee Endpoint Encryption
6. Testing dual boot setting
7. Final tweaks

Final tweaks:
1. Boot into Ubuntu
2. Bring the Terminal
3. Issue command "sudo gedit /etc/default/grub"

Make sure the GRUB settings below are followed. This settings is for hidding the GRUB selection, else you need to select twice in order to get into Ubuntu.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISABLE_OS_PROBER=true

Tuesday, November 20, 2012

Prepare bootloader for Safeboot


Environment :
Windows 7
Ubuntu

Installation / Usage :
This would be the most critical part in getting the dual boot to work properly with SafeBoot/McAfee Endpoint Encryption installed. We are using a method called "chain loading".

Pre-requisite:
A) Windows 7 installed (Without SafeBoot/McAfee Endpoint Encryption)
B) Ubuntu installed (During boot, GRUB is the boot manager)

The following step is to backup the Ubuntu bootloader:
1. Login Ubuntu
2. Issue the command "df" without quotes and note down the entry which says "Mounted on "/" .. what is the /dev/sda?
3. Issue the command "sudo grub-install --force /dev/sda?" .. where sda? is referring from result from step #2
4. Backup the bootloader, issue the command "dd if=/dev/sda of=grub.bin bs=512 count=1" (you can specify the thumbdrive at the 'of' paramenter)

The following step is to default the bootloader back to the original Windows 7 bootloader:
1. Boot PC
2. Press F8 after BIOS and Before Windows logo (Bring up the recovery console)
3. Select "Command Prompt"
4. Issue the command "bootrec /fixmbr"
5. Reboot

Upon reboot you should see the generic Window boot selection and GRUB is missing. This is expected.

6. Boot into Windows 7
7. Copy the grub.bin file from the thumbdrive into C:\Windows\System32

The following step is to update the Windows 7 boot menu to add the entry for Ubuntu:

9. Open a command prompt (Run > cmd)
10. Issue the following command to update the boot menu

BcdEdit commands:

    10a. Create a ID for the entry "Ubuntu"
    bcdedit /create /d "Ubuntu" /application BOOTSECTOR
    The entry {5a9684fa-9ec0-11e1-a7c3-00137290c993} was successfully created.
   
    * eg. ID -> {5a9684fa-9ec0-11e1-a7c3-00137290c993}
    * Copy the ID generated from this command as it will be reference in the following commands

   
    10b. Specifying which partition contains the bootloader (grub.bin)
    bcdedit /set {5a9684fa-9ec0-11e1-a7c3-00137290c993} device partition=c:
   
    10c. Specifying the path to the bootloader (grub.bin)
    bcdedit /set {5a9684fa-9ec0-11e1-a7c3-00137290c993} path \Windows\System32\grub.bin
   
    10d. Add the entry to the boot menu
    bcdedit /displayorder {5a9684fa-9ec0-11e1-a7c3-00137290c993} /addlast
   
    10e. Specifying menu display time
    bcdedit /timeout 10

11. Verify the Window 7 boot menu has the entry
Right-click "Computer" > Advanced system settings > Advanced > Startup and Recovery > Settings >
Under the drop down of "Default operating system", you should see Ubuntu.

12. Reboot and Choose the "Ubuntu" entry
13. GRUB should be loaded if all had been done properly
14. Allow it to boot into Ubuntu to see if it working properly

! For Windows XP users, you can edit the Boot.ini file and specify the path to the Linux bootloader
! For Windows 7 users, you can download a software called EasyBCD which is free and edit the boot menu entries via a GUI. It also has an option to default the boot loader back to Windows 7 original.

Monday, November 19, 2012

Install Ubuntu alongside Windows 7

Environment :
Windows 7
Ubuntu 12.04 (LTS)

Installation / Usage :
This guide covers the installation of the Ubuntu AFTER installing Windows 7. Because Windows OS installation will replace the Master Boot Record (MBR) with its and replace GRUB.

Prior to install Ubuntu, make sure you prepare enough harddisk space for the installation.

1. Download Ubuntu 32/64bit [LINK]
2. Burn ISO onto DVD or Create a Ubuntu bootable USB drive
3. Boot the Ubuntu installer
4. Select English
4. Select the option "Install Ubuntu"
5. Select English > Continue
6. Needs atleast 4.4GB harddisk space / Connection to internet (optional)
7. Install Ubuntu alongside Windows 7
8. Select Timezone
9. Select Keyboard layout English (US)
10. Choose a computer name
11. Account to import - NO
12. Installation done, restart the machine

Sunday, November 18, 2012

Create a Ubuntu bootable USB drive

Environment : Windows/Linux/MacOSX

Description :
UNetbootin is a all in one package which create a bootable USB drive for Ubuntu and other Linux distributions. It runs on Windows, Linux, and Mac OS X. It can auto download the support Linux distro from the internet (internet connection required) or you point it to the path to the ISO of the distro you downloaded.

Installation / Usage :
1. Download UNetbootin [LINK]
2. Select Diskimage
3. Select ISO
4. Choose the location to the image ISO (...)
5. Select Type: USB Drive
6. Drive: <double confirm from My Computer>
7. Click OK
8. Unmount the USB drive and connect to the machine which you wish to boot the new Ubuntu bootable USB drive.

Saturday, November 17, 2012

Resize Windows 7 partition size to prepare space for Ubuntu



Environment :
Windows 7
Ubuntu

Installation / Usage :
Because you are preparing space for installing Ubuntu alongside with Windows 7, you can choose to use either

1. Windows build in disk management tool
2. Bootable Ubuntu DVD with GParted

Option 1 - Windows Disk Management:
* You would need to defrag the harddisk before shrinking it.
Settings -> Control Panel -> Administrative Tools -> Computer Management -> Storage -> Disk Management -> Shrink Volume

Option 2 - Bootable Ubuntu DVD with GParted:
1. Boot into Ubuntu Live (Test Ubuntu)
2. On the Left Top Most Upper icon (Dash Home)
3. under Search, key in "gparted" and press ENTER
4. Right click on the partion and Select "Resize/Move"
5. Using the slider, adjust the amount of space you wish to allocate for Ubuntu installation
6. Click resize
7. You will see "unallocated" space available for Ubuntu installation later.
8. Save the changes by Edit > Apply All Operations (or click the Green Check icon)
9. Reboot

! Remember to reboot and boot back into Windows 7 and make sure its still running properly.

Friday, November 16, 2012

To install Windows 7 on a computer without an operating system


Environment :
Clean install of Windows 7

Installation / Usage :
To do this, you'll need to start, or boot, your computer using the Windows 7 :

1. Installation disc
    1a. Go to the Microsoft Store website and complete your purchase.
    1b. On the Order Receipt webpage, click the Additional Download Options drop-down list, click either Download 32/64bit ISO and then click Download.
   
2. USB flash drive
    2a. Download the Windows 7 USB/DVD Download Tool [LINK]
    2b. Under Installation, follow the instructions to download and install the tool on your PC.

Windows 7 installation steps:
  1. Turn on your computer, insert the Windows 7 installation disc or USB flash drive, and then shut down your computer.
  2. Restart your computer.
  3. Press any key when prompted, and then follow the instructions that appear.
  4. On the Install Windows page, enter your language and other preferences, and then click Next.
  5. If the Install Windows page doesn't appear, and you're not asked to press any key, you might need to change some system settings.
  6. On the Please read the license terms page, if you accept the license terms, click I accept the license terms, and then click Next.
  7. On the Which type of installation do you want? page, click Custom.
  8. On the Where do you want to install Windows? page, choose the partition that you want to install Windows 7 on, or click Unallocated Space if no partitions are listed, and then click Next.
  9. If a dialog box appears saying that Windows might create additional partitions for system files, or that the partition you chose might contain recovery files or other types of files from your computer manufacturer, click OK.
  10. Follow the instructions to finish installing Windows 7, which include naming your computer and setting up an initial user account.

Saturday, November 10, 2012

Installing Windows 8 from a USB drive

Make a bootable USB Windows 8 and installing from it. Save on the DVD media and install much faster.

Enviroment : Windows

Things you need:
1. Windows 8 ISO
2. USB drive
3. Windows 7 USB/DVD Download Tool and Image Mastering API v2.0

Reference :
Windows 7 USB/DVD Download Tool - [LINK]

Image Mastering API v2.0 (IMAPIv2.0) for Windows XP (KB932716) - [LINK]

Installation / Usage :

Follow the instruction and proceed to install the Windows 7 USB/DVD Download Tool (you might need to install IMAPIv2.0. After installing, start the Windows 7 USB/DVD Download Tool up

! Make sure you backup content from the USB drive BEFORE you continue.

1. Choose ISO file
2. Select the media type, Select "USB device"
3. Insert USB device, select the USB from the drop down selection
4. Erase USB Device

The Windows 7 USB/DVD Download Tool will format the USB device and copy over the files.

After the bootable USB device is created, go ahead and boot it up on the computer which you wished to install Windows 8. Make sure you select boot from USB during booting up.

Sunday, October 21, 2012

How to study for the CCIE exan


"How" is normally follow after "What". After we figure out what we want to achieve and defined the "GOAL", next step would be looking at the options on "HOW".

Because the CCIE exam cover a myriad technology, so it is time consuming to study for it without a proper strategy. I haven't taken the exam before but after reading tons of war stories, I have choose the following :

1. INE as the training vendor
2. Build a hybrid CCIE rack with GNS3
3. Install and configure GNS3 for "LABBING-ON-THE-GO"

The plan is to stick to a workbook and strategically go through all the technology. Although I'll be building a hybrib lab, because lighting and electrical bill I won't be making it remotely accessible. There is where the "LABBING-ON-THE-GO" comes in, practice most of the routing topic while at office.

Now with the exercise guide (INE workbook), threadmill (Hybrid Lab) ... what left is only determination and persistence to stick the to plan.

Reference:
How to study for your CCIE by INE - [LINK]
How to Pass the Routing & Switching CCIE Lab Exam by INE - [LINK]
How to pass the CCIE R&S with INE’s 4.0 Training Program by INE - [LINK]

Sunday, October 14, 2012

Setting a goal and making sure you are on track


"The difference between a GOAL and a DREAM, is a DEADLINE"
Setting a goal is easy as we do it yearly during New Year Eve ... aka New Year Resolutions ! But how many of the NYR do we push behind our mind after March :) Defining SMART goal will help you getting to it with a more strategic plan.

S - Specific (or Significant)
M - Measurable (or Meaningful)
A - Attainable (or Action-Oriented)
R - Relevant (or Rewarding)
T - Time-bound (or Trackable)

eg: Attaining CCIE certification before age 35 by studying/understanding all the technology listed under the exam blueprint and practicing each technology using the lab workbook.

Give yourself a realistic time frame you can achieve the goal. CCIE in 3 month (Are you joking with me ?)
"besides those 3 months of dedication, there were many years of working experience. I just wanted to make clear that it's very difficult (if not impossible) to get the CCIE with only 3 months of preparation." - Tassos (CCIE™ #19858)

Putting your goal in writing is very powerful, write it down and stick it where you'll see it often to remind yourself about it. 


How to make sure you ain't deviating from your goal ?
You need to track your progress ! Write them down on the calendar to remind yourself and see your progress. Google Calendar is a free and great service that allow you to keep track your progress. [LINK]


Saturday, September 29, 2012

Unofficial CCIE Candidate FAQ

What is CCIE ?
The Cisco Certified Internetwork Expert (CCIE) certification is accepted worldwide as the most prestigious networking certification in the industry. Network Engineers holding an active Cisco CCIE certification are recognized for their expert network engineering skills and mastery of Cisco products and solutions.

What is the prerequisites for CCIE certification ?
There are no formal prerequisites for CCIE certification. Other professional certifications or training courses are not required.

The CCIE certification consist of two part :

Part one : Pass a two-hour, written qualification exam which covers networking concepts and some equipment commands before you are eligible to schedule the lab exam. [#350-001]

1a : Take the exam at Pearson VUE testing facility [LINK]

1b : Cost for the #350-001 exam [LINK]

Part two : Pass a eight-hour lab exam tests your ability to configure actual equipment and troubleshoot the network in a timed test situation. Candidates require to attempt of the CCIE lab exam within 18 months of passing the CCIE written exam. Candidates has three years to pass the lab exam (multiple attempts) from the date passing the written exam.

The eight-hour lab exam is further broken into two part :

2a : two-hour troubleshooting section, a series of trouble tickets for preconfigured networks and need to diagnose and resolve the network fault or faults. Candidates who finish the troubleshooting section early may proceed on to the configuration section, but they will not be allowed to go back to troubleshooting since their equipment will need to be reinitialized for the configuration portion.

2b : six-hour Configuration section, anything on the CCIE blueprint is fair game and maybe be tested on.

What would be provided at the lab exam ?
1. Please refer to the "Lab Equipment and IOS List" for the device list [LINK]
2. During the lab exam, the only reference you have is the Cisco documentation CD and search function has been disabled. [LINK]
2. Terminal is PuTTY and you have access to all Windows Calculator functions.
3. Everything is digital. No printed material is provided.
4. Plenty of paper and pens to use during the lab.

CCIE R&S v4.0 Lab Exam Demo
This demo will familiarize candidates with the online interface that has replaced paper exams, which presents the virtual topology, test questions, documentation and tools. [LINK]

Tuesday, September 25, 2012

Post #1


Post #1 - This site will serve as my personal study journal where I keep track my studying progress and particular difficulties with certain topics.