Tuesday, May 7, 2013

Fix “File is too large for destination file system” Error

Today, while copying some large files to an external hard drive, I was promptly issued this message by Windows:

The file “myfile” is too large for the destination file system.

So I wondered to myself what could possibly cause this issue. My external hard drive had tons of free space, so why would I not be able to copy this file over?

Well, the reason for this problem is because my file was 4.3 GB in size and my external hard drive was formatted in FAT32 format. The max file size for FAT32 is 4GB. The max file size for FAT16 is only 2GB!

So how do you fix this problem? Well there are two ways you can go about it. You can either split the file into smaller pieces and then copy it to your external hard drive or you can convert the file system to NTFS, where there is no limit on file sizes.

However you can use File Splitter or GSplit to split large files into smaller ones.

If you want to go with the second method, read my post on how to convert a hard drive from FAT to NTFS without losing any data.

Now you should be able to copy your large files by either splitting them or converting the hard drive to NTFS! Enjoy!

Delete Hibernation File - (hiberfil.sys) - Free some space on Windows 7 / 8

To avoid some of the drawbacks of Vista’s Sleep power-saving mode, you can hibernate your PC. Hibernate saves a copy of everything in your PC’s memory (RAM) onto your hard disk before it shuts down.

Windows uses the file hiberfil.sys, stored in the root folder of your hard disk, to hold your hibernation data. Because it must hold everything in memory, its size is the same as the amount of installed system memory.

Hibernation is made unavailable when you set the value of the Hibernate after setting to Never by using the Power Options item in Control Panel. To turn hibernation off in Windows Vista, follow these steps:
  1. Click Start, and then type cmd in the Start Search box.
  2. In the search results list, right-click Command Prompt, and then click Run as Administrator.
  3. When you are prompted by User Account Control, click Continue.
  4. At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
  5. Type exit, and then press ENTER.
To turn hibernation in Windows Vista, follow these steps:
  1. Click Start, and then type cmd in the Start Search box.
  2. In the search results list, right-click Command Prompt, and then click Run as Administrator.
  3. When you are prompted by User Account Control, click Continue.
  4. At the command prompt, type powercfg.exe /hibernate on, and then press ENTER.
  5. Type exit, and then press ENTER to close the Command Prompt window.
Have 4 GB of RAM? You’ll see a 4 GB hiberfil.sys file on your hard disk that Windows won’t let you delete. Windows creates the hiberfil.sys file automatically when you turn on the Hibernate feature; the only way to delete the file is to turn off Hibernate.
  Here is a shortcut to turn-off hibernate: open a Command Prompt window in administrator mode and type this command at the prompt:
powercfg /hibernate off

Then press Enter. If the command returns you to the prompt with no message, the change was successful, and hiberfil.sys should be gone. If hiberfil.sys is still there, hibernation may’ve already been turned off, and the file may be left over from an older version of Windows.

Another way to delete the file is to use the Disk Cleanup tool.  You can use this by typing in cleanmgr.exe in the search or run prompt; just select the drive containing the file, place a checkmark next to it then click OK.



Delete Hiberfil.sys File
To delete this file, you have to use the command prompt to manually turn off hibernation. If you turn off hibernation via Power Options (which I will show you next), it will not delete the actual file itself.

Open a command prompt in Windows 7 by typing command in the search box. Right click Command Prompt and choose Run as Administrator.

To turn off or disable hibernation, type the following command at the prompt:
powercfg –h off

This will disable hibernation and will remove the hiberfil.sys file from your system.

Turn Off Hibernation in Windows 7
To disable hibernation in Windows 7, you have to go into Power Options and click on Change plan settings.


Then click on the Change advanced power settings link at the bottom.


Now expand Sleep and then expand Hibernate after. Change the value of On battery and Plugged in to 0 minutes. Note that the option will not even be available if you turned off hibernation using the command line.


That’s pretty much it! Hopefully, you can reclaim some lost disk space by getting rid of the hiberfil.sys file in Windows 7.

Sunday, March 10, 2013

Installing CentOS 6.4 Step by Step

In this post, I will show step by step process of installing CentOS 6.4. At first, download the installation image to do the fresh install. Download Disk1 and Disk2 installation images. While the disks are being downloaded, take a look at release notes of CentOS 6.4.


  1. At first, insert the bootable media in the drive and start the machine. Then select Install or upgrade an existing system.
  2. Choose Skip to cancel the installation media check. But if you choose ok, this will check your installation media for any sort of missing installation files of the operating system.
  3. Now you can see the installation welcome screen. Here click next button.
  4. Now choose the language you prefer to install and click next button.
  5. Choose the appropriate keyboard layout from the option and click next button.
  6. Here choose Basic Storage Device and click next button.
  7. Click Yes, discard any data to continue option in storage device warning.
  8. Type unique host  name for this system and click Next button.
  9. Select time/zone and click next button.
  10. Enter strong root password and click next button.
  11. Choose the type of installation. Here I will choose replace existing Linux system(s). You can check review and modify partition layout to edit partitions. You can create new partitions from here. But I will not check this and click next button.
  12. Click write changes to disk.
  13. Choose Basic server and click next button.
  14. The installation now starts.
  15. Installation has successfully completed. Click restart to finish installation.
You can now configure IP address, GUI or other features as required.

Tuesday, January 1, 2013

Credit - History - Report - Score (FICO) & Fixes.

A credit rating is an evaluation of the credit worthiness of a debtor, especially a business (company) or a government, but not individual consumers. The evaluation is made by a credit rating agency of the debtor's ability to pay back the debt and the likelihood of default.Evaluations of individuals credit worthiness is known as credit reporting and done by credit bureaus, or consumer credit reporting agencies, which issue credit scores.

Credit History or credit report is, in many countries, a negative record of an individual's or company's past borrowing and repaying, including information about late payments and bankruptcy.

What is Credit Score? : Before deciding on what terms they will offer you a loan (which they base on their "risk"), lenders want to know two things about you: your ability to pay back the loan, and your willingness to pay back the loan. For the first, they look at your income-to-debt obligation ratio. For your willingness to pay back the loan, they consult your credit score. The most widely used credit scores are FICO scores, which were developed by Fair Isaac & Company, Inc. (and they're named after their inventor!). Your FICO score is between 350 (high risk) and 850 (low risk).

Credit scores only consider the information contained in your credit profile. Different portions of your credit history are given different weights. Thirty-five percent of your FICO score is based on your specific payment history. Thirty percent is your current level of indebtedness. Fifteen percent each is the time your open credit has been in use (ten year old accounts are good, six month old ones aren't as good) and types of credit available to you (installment loans such as student loans, car loans, etc. versus revolving and debit accounts like credit cards). Finally, five percent is pursuit of new credit -- credit scores requested. One can follow certain FICO guidelines to improve Credit Score.

How to Obtain Your Free Credit Report: You can obtain a free copy of your credit report, once every 12 months, from each of the three national credit reporting agencies – Equifax, Experian, and Trans Union. The free report is available only through a centralized website, phone number, and address established by Equifax, Experian, and Trans Union. You can request your free credit report by visiting the website www.annualcreditreport.com, calling 1-877-322-8228, or completing the annual credit report request form available at www.ftc.gov/credit and mailing it to Annual Credit Report Request Service, P.O. Box 105281, Atlanta, GA 30348-5281. You have the option of ordering a credit report from each of the three credit reporting agencies at the same time or you may stagger your requests during the 12-month period.

In order to get your free report, you must furnish proper identification information before the credit reporting agency will send you the report. Be prepared to provide your full name, date of birth, social security number, and current address. Furthermore, for your security, Equifax, Experian, and Trans Union may ask you for information that only you would have knowledge of, e.g. a previous address or monthly mortgage payment.

If necessary, you may obtain a copy of your credit report directly from a credit reporting agency. The credit reporting agency, however, may charge you up to $11.00 for a copy of the report. To purchase a copy of your credit report, contact one of the following credit reporting agencies:

Equifax : 800-685-1111
Experian: 888-397-3742
Trans Union:800-888-4213

Fixing credit report errors:
With respect to credit reporting agencies, the Federal Trade Commission (FTC) enforces the Fair Credit Reporting Act. If you have concerns regarding your credit report or credit reporting agencies, please contact the FTC at www.ftc.gov or call toll free 1-877-382-4357.
Equifax Disputes (1-866-238-8067), P.O. Box 740256, Atlanta, GA 30374-0256Experian Disputes (All disputes with Experian are handled online)TransUnion Disputes (1-800-916-8800) , 2 Baldwin Place, P.O. BOX 1000, Chester, PA 19022


The Fair Credit Reporting Act (FCRA) is designed to help ensure that credit bureaus furnish correct and complete information to businesses to use when evaluating your application. Your rights under the Fair Credit Reporting Act:
  • You have the right to receive a copy of your credit report. The copy of your report must contain all of the information in your file at the time of your request.
  • You have the right to know the name of anyone who received your credit report in the last year for most purposes or in the last two years for employment purposes.
  • Any company that denies your application must supply the name and address of the credit bureau they contacted, provided the denial was based on information given by the credit bureau.
  • You have the right to a free copy of your credit report when your application is denied because of information supplied by the credit bureau. Your request must be made within 60 days of receiving your denial notice, or if your credit report is inaccurate due to fraud, including identity theft.
  • If you contest the completeness or accuracy of information in your report, you should file a dispute with the credit bureau and with the company that furnished the information to the bureau. Both the credit bureau and the furnisher of information are legally obligated to investigate your dispute.
  • You have a right to add a summary explanation to your credit report if your dispute is not resolved to your satisfaction.
Each Credit Union provided one free report annually through One can request one free report annually from www.annualcreditreport.com to keep a close look on credit history or any fraud we can break them into 3 reports like follow:
  • An Annual report from Equifax in December.
  • An Annual report from Experian in May
  • An Annual report from TransUnion in September
Validate your account, credit cards and 3 credit report every year to keep check on credit history or any kind of identity theft, only you will not able to find Credit Score.. but if you follow FICO guidelines you will have good Credit Score when you buy new car, new investment, new job, new Home or loan etc agencies will check for your Credit History and as per law you can request a copy to see your credit scores :)

TOGAF - The Open Group Architecture Forum

Please note OpenGroup & OpenGroup have differnt account, however it allow me to use same email Id for either accounts. [http://www.opengroup.org/togaf/] & [https://www2.opengroup.org/ogsys/].

TOGAF 9: The Open Group [http://pubs.opengroup.org/architecture/togaf9-doc/arch/]
Main Web Site: http://www.opengroup.org/
Certification: https://www.prometric.com/en-us/clients/opengroup/Pages/landing.aspx
Exam: http://www.opengroup.org/certifications/exams

Part 1: http://www.opengroup.org/togaf9/cert/docs/og91.html
Pass Score : 55% (22/40), Time Limit : 60 mins
Prometric Fee: OG0-091: $ 320, OG0-094: USD 210 Local Taxes may apply.
Study Guide[TOGAF® 9 Foundation Study Guide, 3rd Edition]: https://www2.opengroup.org/ogsys/catalog/b111 [$ 29.95]
Practice Test: https://www2.opengroup.org/ogsys/catalog/b092 [$ 0.99]
Course Provider: http://togaf9-cert.opengroup.org/atc-register
Schedule Exam at prometric Center: https://www.prometric.com/en-us/clients/opengroup/Pages/landing.aspx

Part 2: http://www.opengroup.org/togaf9/cert/docs/og92.html
Exam Number / Name: OG0-092 Togaf 9 - Part 2
Reference: OG0-092 , OG-ITB-092 - OPENBOOK
Pre-requisite: Pass Part 1
Exam Type: Scenario Based, Complex Multiple Choice
Number of Question 8, Pass Score 60%, 24/40 points.
Time Limit: 90 mins.
Prometric Fee: $320
Recommended Study[B134]: https://www2.opengroup.org/ogsys/catalog/b112 [$ 29.95]
This document is a Study Guide for TOGAF 9 Certified.

This is a companion document to the TOGAF 9 Foundation Study Guide and provides an overview of every learning objective for the TOGAF 9 Certified Syllabus beyond TOGAF 9 Foundation. It is specifically designed to help individuals prepare for certification. This third edition is based on Version 2 of the TOGAF Certification for People Conformance Requirements and is aligned to TOGAF Version 9.1.
TOGAF V 9.1: http://pubs.opengroup.org/architecture/togaf9-doc/arch/

Togaf Combined Part 1& Part 2 (http://www.opengroup.org/togaf9/cert/docs/og93.html)
Exam Number/Name: OG0-093 TOGAF 9 Combined Part 1 and Part 2
Reference:OG0-093 / OG-IBT-093
Qualification upon passing: TOGAF 9 Certified
Exam type: The exam comprises two sections. Section 1 - 40 Simple Multiple Choice questions + Section 2- 8 Scenario Based, Complex Multiple Choice
Number of questions: 48
Pass score: The pass mark for Part 1 is 55%, this means 22 or more points out of maximum of 40 points. For Part 2, the pass mark is 60%, this means 24 or more points out of a maximum of 40 points. Note that you must pass both parts of the exam to achieve an overall pass result. If you fail either part you fail the examination, however you only need retake the Examination(s) corresponding to the failed section(s). .

Time limit: 150 Minutes total. Each section has a maximum time limit as follows: 60 Minutes on TOGAF 9 Part 1. 90 Minutes on TOGAF 9 Part 2. Once you complete the TOGAF 9 Part 1 section you cannot return to it.
Prometric Fee: USD 495 . Local taxes may apply (**)
Study Guide: https://www2.opengroup.org/ogsys/catalog/b097 [all in one / all documents]


TOGAF® 9 Certification Self Study Pack, 3rd edn (pdf edition)- [B097] for $59.90USD
TOGAF® 9 provides a clear path for professional development and credibility to employers. The TOGAF Certification program has enabled more than 26,000 enterprise architects and trainers around the globe to demonstrate their proven knowledge of the framework. Certification is achieved through a two-part examination, following a course of self-study or an Accredited TOGAF 9 Training Course

This bundle is for individuals wishing to self study for TOGAF 9 Certification and who plan to take the Part 1 and Part 2 examinations.

It includes the following materials in a single bundle:
    TOGAF 9 Foundation Study Guide, 3rd Edition (pdf)
    TOGAF 9 Certified Study Guide, 3rd Edition (pdf)
    TOGAF 9 Part 1 Practice test (pdf )
    TOGAF 9 Part 2 Practice test (pdf)

In addition it also contains the following bonus material
    TOGAF 9.1 ADM Overview Reference card (pdf)
    TOGAF 9.1 Phase Reference cards (pdf)
    TOGAF 9.1 ADM Steps Overview Reference card (pdf)
    TOGAF 9.1 Content Metamodel Reference card
    TOGAF 9.1 Pocket Guide (pdf)
    Information Sheets on the TOGAF 9 Certification Program (pdf)
    Advice to Candidates Sheet for those attending a Prometric test center
    White Paper: An introduction to TOGAF Version 9.1
    Slide Deck: An Introduction to the TOGAF for People Certification program

This third edition is a minor update including new editions of the Study Guides. The main change is removal of information about the TOGAF 8-9 Advanced Bridge exam.

Saturday, December 1, 2012

DUAL BOOT with PREINSTALLED WINDOWS 8 and LINUX


Step 1: Introduction

This is simply an intro. If you want to save time, skip reading here, and go directly to part 2. There is no vital technical information here.
I've been looking for at small, cheap computer to play the role as a flexible, small (and smart) TTY/SSH client for a while. I was looking for a used 10.1” mini-PC, expecting to install OpenSUSE / CentOS on it. Suddenly, I stumbled over a dirt cheap, brand new, 64bit 17” computer, Windows 8 preinstalled – the works!

It was an HP DV6 Pavillion. Learn W8, the computer, install and adapt SW – and investigating how to keep Win8 while dual-booting into CentOS 6.X, OpenSUSE 12.3. After all, this was all new to me: W8, OpenSUSE 12.3, CENT OS, UBUNTU, UEFI, Secure Boot, GPT.

While investigating this, I found that many others were wondering about the same, and I did not find one posting that answered all my questions. So I decided to publish my findings when I had something to report. It seems to have some kind of “magic” connected to it to get things working, and that the results may be unreliable.

I set out to assemble knowledge in order to sort it all out, and to find a way to do it reliably. What is below is the results of my findings. I've tried to make it systematic and easy to read, yet complete. Where I think it isn't complete, I've said so. If you think I've missed something, please say so. There isn't much that is my own thoughts – most of it has been derived by piecing together information found elsewhere on the Internet.

My impression and bold standing on this issue, is that as of now, dual-booting a preinstalled Windows 8 through UEFI Secure Boot is working, and behaves predictable - provided you do the right things, and that you do it right (isn't it always so?). The “only” unknown factor remaining, it seems, is what is being introduced by the firmware vendors – and that is inevitably going to improve as time goes by as well. So – if you've got a fairly new BIOS (which you probably do have, since you have Windows 8 preinstalled), the chances are that you will be fine.

I'll split everything into what I believe are logical parts to make it easy to look up what you need. Except for the troubleshooting part, which you hopefully will not need (I didn't – at least up to now), you'll need to broadly follow the sequence I've listed, though – at least on the “installment” level.

As you will see, I am not fully satisfied with my findings yet, as I want more tools and procedures to aid in the case of problems, although I did not run into any problems when doing as described below. However, please do supply any info you have to add, and be sure to complement, complete or correct any errors of mine. I will continue to investigate the troubleshooting part for some time – and update this thread when/if I find something. If I don't, I'll wait for some more time to go by – then return and update when something interesting has arrived. However, it is inevitable that the relevance of this thread will lessen as the UEFI/Dual-boot scenario matures and better support is offered from everywhere. My bet is that with the next release of OpenSUSE, most (all?) new PCs shipping will be reliable as far as UEFI/DualBoot goes.

Step 2: Getting to know the terminology (BUZZ Words):

First of all: Here are some links I found useful and that can be looked up by those who want more details. You'll find that many of these links point to each other, as they can be seen as references in its own right:

  1. OpenSUSE: OpenSUSE's own UEFI de-mystifier, simple and technically advanced at the same time. Truly a good starting point for further study.
  2. Booting from GPT: Rod Smith's excellent site about everything UEFI/GPT. This link enters somewhere "in the middle" of his site, but holds links to the other parts as well. Truly useful. His tool GPTFdisk (gdisk) is part of the OpenSUSE 12.3 distribution.
  3. EFI System partition: About ESP on Wikipedia.
  4. GRUB/GRUB2:
  5. GUID Partition Table:
Some links from the Microsoft site. Since W8 may disturb dualbooting in its own favour, one can be helped by fixing things from the W8 side. Most of these evolve around Microsoft's BCDEdit.exe, which is a tool that seems to be able to handle almost everything in the UEFI partition, but is terribly documented. "Terribly" in this case means it seems to be documented, but it is so scattered and cluttered, that it really takes time and effort to put it all together – and to get a clear overview of what the terms Microsoft is using really means in practical life. I haven't done that yet, and it will have to wait until I run into a problem I can't resolve in any other way, I am assigned a task that makes that sensible, or a rainy day when I lack other things to do.
  1. Windows and GPT FAQ: with few dos and don'ts.
  2. Windows 8 boot options: Overview of Boot Options in Windows Vista and Later (Windows Drivers).
  3. BCD Boot options reference: 
  4. Editing boot options (Windows Driver)
  5. Using boot parameter (Windows Driver)
  6. BCDboot command line options.
  7. BCDEdit.exe command line options:
What is GPT?
GPT is short for GUID (or UUID) PT which is short for Globally Unique ID Partition Table. This is replacing the old MBR (Master Boot Record) partitioning scheme which we are all accustomed to. This is inevitable due to the limitations of MBR. In practice and for the short term/immediate concequences, the most visible change is that GPT's partitions are what is known in MBR as primary partitions, and that there can be (many) more than 4. (In fact, 128 partitions for a start – you can extend that). I.e my Asus S200E came with 6 primary partitions. The ESP partition is one of these, but this partition is not required on a GPT partitioned disk. On Windows GPT prepared disks, you will also find a small (mostly 128MB in size) MSR (=Microsoft Reserved) partition. As with MBR, only one GPT partition can be the System partition (the one that control is transferred to during the boot-process). In an UEFI-based system, this must be the ESP partition you want to control the proceedings.

What is UEFI?

What is the MSR partition?
MSR (Microsoft Reserved partition) is a Microsoft specific, small, hidden (from within the OSes, but GPT does not allow for hidden partitions in the way MBR did), unformatted partition Microsoft require to be present on all its GPT partitioned disks. The size is 32MB for disk sizes below 16GB, 128MB for the bigger disks. Provided I haven't misunderstood MS, MS (and probably also third-party SW components with the right requirement) will "erode" this partition into more partitions; i.e. if you repartition your drive in certain ways ("Dynamic disks"), thus adding more partitions to your drive. For the time being, there is a limited number of partitioners that can handle this partition. gdisk (included in OpenSUSE 12.3) is one, and Microsoft's DiskPart.exe is an obvious alternative. Beware though, both of these have a different user interface from fdisk, so there is some "getting used to" involved. PartEd Magic's live CD (2013-05-01 edition) will display and delete the MSR partition, but nothing else. So, if you want GPT partitioning and want to access these from both Windows and Linux, be sure to create an MSR partition as well when you first partition it.
See Microsoft's GPT FAQ (see link above) if you want more details.

What is the ESP partition?
In an UEFI system, ESP (=EFI System Partition) is the partition that holds the boot-loaders that in turn loads the OS you want. The UEFI specification does not limit the number of ESP partitions on a disk, nor does it put restrictions on their positions, but only one can be marked System in the GPT at one time. The one marked System, will be the one controlling the boot process. The ESP partitions are FAT formatted (Windows 7 needs FAT32, my Windows 8 preinstallation file set also came with FAT32 formatted ESP partition for Windows 8 – I haven't tried changing that).

The ESP partition: How many are needed, where, and how big should it be?
Different sources on the internet says different things. Microsft only support one such partition – and that partition needs to be on your boot disk. MS also recommends it to be the first partition on your disk. As for size, according to Rod Smith (see link above) Windows installers create 100MB ESP partitions, Macs create 200MB, while Linux utilities gets confused with FAT16/32 setups if partitions are smaller than 520MiB, so he recommends creating 550MiB for the ESP. My system came with a 300MB ESP partition.

A comment of mine on the 128 possible GPT partitions:
As this lifts the pressure from the 4 MBR partitions we have been struggling with for years, I look forward to see how this evolves. The immediate effect is obvious. However, resources available will be used, and I expect to see new and innovative ways of exploiting the now "endless" resource that the number of partitions is. Just see how fast we passed the 16MB limit of the IBM PCAT when we at last passed the 640KB memory limit of Intel Real Mode in IBM PCs. Microsoft's way of using the MSR-partition gives us some pointers: We can expect to see many small partitions for special use. Maybe 128 partitions will end up to be a hurdle after all? No problem – we can just expand that, 128 partitions isn't a limitation of the specification. Doing so, however, does include repartitioning of your disk – and Microsoft says "Windows implementation restricts this to 128 partitions" (see GPT FAQ in link above). So – in a dual-booting Windows/Linux system, 128 partitions may become a serious limitation sooner than we think – simply because nobody sees it as a problem the way 4 MBR partitions (almost) always were, and start creating partitions at a rate we've never seen before.

The BIOS/UEFI Firmware problem:
This is the one problem you and I cannot do much about apart from making the right choice when purchasing the PC. We are stuck with what the vendor provides. My reading on the 'net indicate that there still are some differences here and there, and that some of them will not do in a dual boot Windows 8/Linux setup. 
However, a computer that comes with Windows 8 factory installed, is certified (by Microsoft) to conform with UEFI-standards and secure boot. That should help. Also, OpenSUSE 12.3 64-bit edition do support UEFI-booting, secure-boot incuded.
Make sure, however, that you do upgrade your BIOS to the latest one published – even if you have a brand-new PC! Upgrading (anything) prior to properly starting to use it, has helped me many times over the years. By doing that, I have avoided many problems others have been banging their heads into.
In my case, the computer I bought Tuesday last week, seems to be manufactured in December 2012 (if I read the labels correctly). The latest BIOS (version 202) published, was dated October 26th 2012. I was surprised to see that my BIOS was version 203! As I am writing this, I see that more have happended on Asus' support site: In the period of the last few days, they have been publishing several newer version of my BIOS, the latest one is dated yesterday – version 209. I still have work to do ...
The bottom line is: If you purchase a PC that comes with Windows 8 factory installed, chances are good that your BIOS is up to the task of dualbooting into Linux. Other HW drivers however, is the same game as it has always been.

Secure boot: What is it, do I need it and what exactly does it provide?
Non-technically spoken, and a little inaccurate, this is a way to make sure that no one can modify the files involved in loading an OS without it being detected. If such modification is detected, booting will be interrupted. Such a mechanism makes it more difficult to sneak in viruses, root-kits etc. However, if you do run into problems (or you for some reason don't want it), you can disable secure booting. That will enable booting without the modification-checks, and the OS will be loaded. To do its job, secure-boot involves X509 certificates, encryption and digital signatures, and protects OS-files until the kernel has been read and loaded. This is equal for Windows and OpenSUSE 12.3. If you want more details, see OpenSUSE's UEFI demystifier link and the link to Rod Smith's site above.

Getting to know Windows 8:
I know, this is a Linux site, but bear with me. What is listed here isn't much, and it makes for some shorter text elsewhere in this thread – and it is tidy to keep it in a collection. <Wkey> means the Windows-key present on all Windows PC-style keyboards:<Wkey>-X. If you are like me, this menu will soon be your favourite Windows 8 menu
  • <Wkey>-Q All applications - "The Metro UI"
  • <Wkey>-I Settings shortcut + power off and some more.
  • <Wkey>-C Same as moving mouse-pointer to upper right corner of the screen.
  • <Wkey>-E Start Windows explorer (File Manager).
  • <Wkey>-D Access the Desktop, as close to the old-fashioned desktop style as you gets in W8 for now (without 3rd-party tools).
  • <Wkey> Toggle between the Metro GUI's Start screen and Windows 8 Desktop.
  • <Alt>-F4 still works as you would expect
  • <Alt>-<Tab> (and <Alt>-<Shift>-<Tab>) also work as you expect.
Windows 8.1 is rumored to give you back the Start button...

Step 3: Decisions

Based on the info given in Part 2 above, I made my decisions about how to set up my computer: You should make similar decisions for yourself.
  1. Number of ESP partitions: Due to Microsoft's recommendations in its GPT FAQ (see link above), I am reluctant to have more than one ESP on a disk in a system that will coexist with Windows. However, due to other comments I've read (I am not able to find it back, sorry) making an ESP partition mandatory for any disk may come in handy for Linux type of systems (and Microsoft doesn't advice against it either) so I will put an ESP as the first partition (and an MSR partition as the second partition if it is to be used in combination with Windows) on any data disk i set up with GPT.
  2. The size of the ESP: In spite of Rod Smith's advice, I am going to keep my ESP partition at 300MB. If, however, I were to do partition my disk from the start using GPT, I probably would have followed his advise and set it to 550MiB.
  3. The other partitions: My system came with 6 partitions on its 320GB disk:
    1. 300MB EFI System Partition FAT32
    2. 900MB Recovery Partition NTFS (this is an OEM partition)
    3. 128MB MSR Partition Required. No data, not formatted.
    4. 119GB OS (my W8 drive C: NTFS)
    5. 157GB Data (my W8 drive D: NTFS)
    6. 20GB Recovery Partition NTFS
  • I decided to simply delete partition 5 and 6, and make them available to OpenSUSE. I also tried to delete partition 2 (I could) and move partition 3 onto partition 1 (I couldn't – at least, I didn't find out how without much hazzle) so I kept partition 2 all the same. Not much space wasted anyway. (Don't remove any partitions of yours yet).
  • For OpenSUSE, I decided for 4GiB + 128MB as swap size. As I read somewhere (I have yet to test it) that Linux uses the swap partition for hibernation, the swap partition needs to fit the amount of RAM + a little more. I have 4GB of RAM on my system, and 128MB is a little more.
  • The remaining space I split equally between the root (/) and /home partitions, as I do not yet have a clear picture as of where I need space the most. But I sure want an easy upgrade path to the next release, so I wanted a proper /home partition to keep.

Step 4: Preparation

Preparing your computer for dual booting:

  • You should do a full backup of your harddisk. I used CloneZilla live-CD and saved a full disk-copy onto an external USB-disk prior to booting any OS (Windows 8) the first time. Always download and use a new version of CloneZilla for a new PC. That's the best way to make sure that the technologies supported match the technologies needed. I had to switch off UEFI boot mode (launch CMS), and disable secure-boot to boot the CloneZilla live-CD. See below: “The steps I followed” to see what I did to go through it all.
  • Visit your computer vendor's support-page and check that you have the latest version of BIOS installed. If you do not, upgrade your BIOS. Make sure that you are verifying the right edition of your BIOS, and that you do not pick the wrong one. My computer had two BIOS editions, each with its own set of versions. Asus was very clear about how to pick the right BIOS edition.
  • Boot your PC into Windows 8 and let Windows install itself, if you have not already done so. Make adjustments to your liking.

Preparing Windows 8 for dual-booting:

  1. Do a complete upgrade of Windows 8 using Windows Update.
  2. Also, if your vendor publish any Windows-specific utilities for your PC, upgrade these too – particularly those being BIOS/HW-configuration oriented.
  3. Back up the EFS partition:
    1. <Wkey>-X --> "Command Prompt (Admin)". Confirm.
    2. Create (as you need) and go to a directory where you want to store the contents of the EFS partition.
    3. Enter the command: [$ bcdedit /export .\sysdefault.uefi] to save the contents of the EFS partition in the file sysdefault.uefi in the current directory. This may come in handy if a simple EFS adjustment is all that is needed later on...
  4. To keep Windows 8 from cluttering up the EFI NVRAM (and thereby hiding your soon-to-be important OS from you):
    1. <Wkey>-X --> Control Panel.
    2. Select category "All Control Panel Items"
    3. Select "Power Options"
    4. Click "Choose what the power buttons do"
    5. Click "Change settings that are currently unavailable"
    6. Scroll down to unveil "Shutdown settings"
    7. Make sure that two of these values are unchecked, namely:
      1. "Turn on fast start-up (recommended)" and
      2. "Hibernate"
      3. Uncheck any or both of these as required.
  5. If you did a full Windows 8 backup under "Preparing your computer..." above, you can skip this, but having this one will make it easier to fix problems without having to reset your computer all the way back to factory settings. So, I recommend you to go on and create a Windows 8 recovery drive:
    1. <Wkey>-X --> Control Panel.
    2. Select category "All Control Panel Items"
    3. Select "Recovery"
    4. Choose "Create a recovery drive"
      1. This demands a USB drive (memory stick – Windows will reformat it!), on my system minimum 16GB USB drive was required, I've read someone quoting 32GB being required. I suppose that depends on what the OEM preinstalls. My 32 GB USB drive had 19GB free (of 29GB total capacity) after performing this action, which reflects the contents of partition 6 on my system.
      2. I was offered to delete the recovery partition to free up some drive space. I did. I was going to anyway (see above). This resulted in another drive being made available to Windows 8: Drive G: totalling 20GB of additional free disk space.
  6. Power off Windows 8
    1. <Wkey>-I --> Power --> "Shut down"
This concludes Windows 8 preparations, and Windows 8 should now be ready to cooperate properly in a dual-boot UEFI Secure boot setup.

Some more preparations:

I chose to use the PartEd Magic live-CD once again for this (remember to download the latest version if you do too), but if you feel confident in OpenSUSE's setup partitioner, you can do just the same as shown here from there. If you do not feel fluent in OpenSUSE's disk partitioner, I recommend you to do as I did, and describes here:
  1. Boot using PartEd Magic (latest version - I used the 2013-05-01 edition).
    1. To do that, I had to connect a USB DVD-reader to boot, and needed to switch to BIOS/MBR boot emulation and disable secure boot:
      1. On my PC, that meant power on while holding down F2 until the BIOS setup screen appeared. Your PC may have other demands, e.g. Del (used to be standard on Dell computers), F10, F12 or something else.
      2. From the BIOS top menu, I chose "Boot", then "Launch CSM" and changed that from "Disabled" to "Enabled", Then I selected "Security" in the BIOS top menu, then "Secure Boot Control" and changed that from "Enabled" to "Disabled".
      3. I then pressed F10 to save and exit.
  2. Upon the reboot that followed, I had to wake up the boot-source selection menu. On my computer, this is done by pressing and holding the Esc-key until the boot-menu is displayed. If PartEd Magic is the only non-GPT partitioned, bootable medium available, your BIOS may boot PartEd Magic directly.
    1. I selected my USB DVD-drive and waited for the Parted Magic menu to be displayed.
  3. Since this is a 64-bit computer, and I am not native English, I selected item "2+", and selected my language from the next screen (again, the "64" alternative).
  4. READ THIS ITEM TO THE END BEFORE YOU DO ANYTHING! Start up the disk partitioner from the desktop, and delete partitions you do not want. If no partitions are available for deletion (your Windows 8 C:-partition may span the disk from wherever-it-starts and to the end of the disk, resize it until you have ample disk space available for OpenSUSE.
    1. NOTE: On my PC, the Windows 8 C:-drive's partition is labeled "OS". You should make sure that you know which partition is which, and you should normally NOT need to remove any partitions prior to (and including) the Windows 8 C:-drive's partition. If you are unsure, revert what you did in item 1 above to enable booting Windows 8 again, restart Windows and get yourself aquainted with your disk's layout. Also see "My decisions" item 3 above for a comparison/help at that. When you know your way around in your partitions, go back here and start over at item 1 just above.
    2. On my system (see "My decisions" in item 3 above) I removed data volumes D: and G:, gaining 177GB of free disk space for OpenSUSE to use.
  5. Reboot and revert the BIOS settings you did in item 1 just above, in order to re-enable UEFI/GPT/Secure Boot.
  6. Do a new reboot, and check that W8 is still able to boot. It should work.
  7. Power off Windows 8
    1. <Wkey>-I --> Power --> "Shut down"

PART 5 Installation:

Setting up OpenSUSE 12.3 with UEFI and Secure boot:
This is actually quite simple: Follow the instructions documented by OpenSUSE. After selecting to install from OpenSUSEs DVD image that I had burned to a DVD, here is what I did:
  1. I tried to boot off the USB DVD, and lured the boot-menu to the front by holding down the <Esc>-key. It may be different on your computer.
    1. I got a boot menu, but my USB DVD drive was not among the alternatives. So, I thought I had to migrate the DVD onto a USB-memory stick. However, there was a "Asus UEFI boot"-alternative available. By selecting that, the USB DVD-drive started spinning, and the OpenSUSE 12.3 installation menu was displayed.
  2. I hit <enter> for "Installation" and waited until the Welcome-screen was displayed. There I made my choice of language and keyboard and clicked <next>.
  3. I arrived at the Installation Mode -screen. I selected New Installation and checked kept the prefilled check-boxes (unchecked: Include Add-on Products from Separate Media, checked: Use Automatic Configuration). <Next>.
  4. Clock and Time Zone-screen. I made choices relevant for me by selecting country/time zone on the map. I kept the "Hardware Clock Set to UTC"-check-box unchecked. <Next>
  5. Desktop Selection. KDE. <Next>
  6. Suggested Partitioning:
    1. As I already had 4 partitions left after removing 2 (sd1 through sda4), the first partition available for OpenSUSE would be named sd5. Here, OpenSUSE suggested a scheme that would make use of the free area on my HDD: A swap volume as sda5 (2GB), a root volume as sda6/ext4 (20GB) and a home partition as sda7/ext4 (155GB). The EFI-part was set to: "Set mount point of /dev/sda1 to /boot/efi". That is a perfectly OK, scheme, and I could have accepted that.
      1. However: I want to try out OpenSUSE as a laptop-OS. I've read somewhere that Linux hibernates to the swap volume (I haven't tested that yet, but I intend to). That means swap needs to be a little bigger than the amount of RAM. So, having (only) 4GB RAM, I allocated 4GiB + 128MiB swap volume (=4224MiB).
      2. I also want to start experimenting with compiling stuff - kernels included - which I have experienced on earlier attempts, that sometimes require more space than immediately meets the eye.
      3. Having a separate home volume partition to be prepared for future upgrades makes perfectly good sence.
      4. To make it easy, I split the remaining disk space in two equal halves: 86,7GB each for root (/) and /home partitions.
      5. Thus, I selected "Edit Partition Setup" to that effect and made my adjustments. After finishing my partition-selections, I clicked "Accept".
      6. Then the OpenSUSE installation told me "You chose to install onto an existing partition that will not be formatted. Yast cannot guarantee your installation will succeed, particularly in any of the following cases...". Well. I double checked, and checked again. I had set up all my three, new partitions to be formatted. So, knowing Yast wasn't correct (could it be that ie. the MSR partition triggering this? That one is not formatted.) I answered Yes to Yast's challenging question: "Really keep the partition unformatted?"
  7. Returning to "Suggested Partitioning screen" again
    1. I checked that the partition info did reflect my selections and adjustments. It did. <Next>
  8. Create New User screen: I filled in the vaues as appropriate for me. (I always make the root and user passwords different, and I never use automatic login). < Next>
  9. Finally, I got to the "Installation Settings" screen. Here's the important UEFI part.
    1. I found the "Booting options" portion: Open SUSE did detect the UEFI correct, and correctly selected the GRUB2-EFI option. However, just as the Open SUSE documentation says, it didn't detect Secure Boot. I need that.
    2. I clicked the "Booting" choice.
    3. Boot loader Settings screen. I checked the "Enable Secure Boot Support" check-box. <OK>
    4. Back to the Installation Settings screen again, and read that my secure-boot choice was accepted.
  10. I made my choices for the other options, according to what (I think) I need, and want to experiment with at first. This is no different from any Open SUSE installation, as far as I know. (To be honest, I wandered through the options in detailed layout, but this time I didn't change anything apart from what I have mentioned above! I'm planning to replicate the 12.3 repository to an external drive later, so I can do what I like later without even being online - summer holidays are closing in ...) <Install>
  11. After a while (30+ minutes), the installation finished, and the PC rebooted. I didn't remove the DVD disk (as I didn't receive any instructions about doing so).
  12. After booting (from the HDD), OpenSUSE had automatically pre-selected OpenSUSE for me (I did see Windows 8 there as well!), the installation process continued with automatic configuration - still accessing the DVD during that process. Soon, that came to an end, and I could log in to Open SUSE for the first time - on my HDD, UEFI - Secure Boot - Dual Boot with Windows 8 and all... SUCCESS!

Step 6 Closing adjustments

Adjusting Windows 8 after everything else has been done:
If you boot into Windows 8 after carrying out all the entries above – and start Windows Explorer (e.g. using <Wkey>-E), you will find that the newly created Linux volumes are visible and (almost) ready to be used from Windows 8. They even have their own drive letters, even though they are marked as RAW, and having “no content”! If you click on any one of these drives, Windows 8 will rush to your assistance and offer you to format them, in order to make them useful! We do not want that! These Linux volumes needs to be hidden from use in Windows. You can do that in two ways; through the GUI or command line:
  1. The GUI-method: Press <Wkey>-X and select Disk Management. For each of the (“RAW”) Linux volumes, right-click on it and select “Change Drive Letter”. In the resulting Dialog box, you select the “Remove”-button in order to remove the drive-letter assignment. Confirm that you understand the consequences of the warning being displayed. Click OK. This effectively hides the processed volumes from Windows 8's Explorer.
  2. The Command-line method: Press <Wkey>-X and select “Console – Administrator mode”. Confirm. Enter the following command: mountvol <drive> /D and press the <Enter>-key. <drive> is to be replaced with the drive letters shown for each of the Linux volumes we are to hide from Windows 8, so you need to execute the command once per Linux volume.
An afterthought: When using gdisk under OpenSUSE, I saw that the GUID code used for the Linux partitions I created was the code used for Windows Basic Disk. That being so, it is only natural that Windows 8 displays those partitions as a standard data disk, and offering them to the user. These GUID codes were automatically selected/decided by the OpenSUSE 12.3 partitioner during OpenSUSE installation. I haven't read the GPT specifications, so this may be very reasonable (it may even have to do with secure-boot having to use certificates signed by Microsoft), but – having 64 bits at disposal for classing devices – there should be possible to come up with e.g. a Linux Basic Disk and eliminating this last adjustment to Windows 8, and thereby better protect Linux volumes from Windows' ignorance of other file systems. If this effect is due to OpenSUSE using Microsoft certificates, I am sure that this will change in the future when secure-boot is no longer experimental.
Securing the boot-setup: Repeat the step executed in Step # 4, Preparing Windows 8 for dual booting, item 3, but use a different file name that you did then. You should not overwrite the old file. This will save the modified EFS partition complete with what OpenSUSE added for it (and GRUB2) to do its magic.

Step 7 Troubleshooting:

This is the part that I am least content with. I welcome any contributions here.

There are several fields where you can get problems. For the "I am able to boot, but have problems within Linux (or Windows)" type of problems – and that is not directly related to disk partions/volumes, they are no different than they ever were in either OS, and I have to point you to the normal support channels for the OS in question.

If you get problems with booting or dual-booting, then that is what I aim to cover here. However, so far there isn't many tools available for us to use. And most of the tools that do exist, are fairly technically oriented and not meant for the occasional user. I haven't had any problems yet, so I must guess a little at what kind of problems one can run into, and I lack experience with the tools that do exist, so I cannot offer much details either. I will, however, fill in advice I receive from you all, if you are so kind as to supply me with them.
  1. Nothing is booting any more. This is the worst scenario.
    1. You can try booting from the Windows 8 recovery stick created in part 4 above, interrupt the process and go to the command-line. We will restore the ESP partition data we saved in part 6, Securing the boot-setup. Execute "bcdedit /import <file>" where <file> is the name of the file you used in part 6 above.
    2. If 1.1. above fails, the ESP partition itself is probably destroyed. That can be fixed in several ways. The easiest is probably to recreate it (e.g. using PartEd Magic live-CD), then restore it using the procedure of a) above.
    3. If 1.1. succeeds, but still no boot, I would find me an emergency boot medium (PartEd Magic or the Windows 8 recovery stick), and process the partitions using some disk-analyzing tool. Since Windows is what Windows is, with Windows based tools (at least the original Microsoft tools) you run the risk that the tools will destroy the contents of Linux partition (remember – Windows sees them as unformatted Windows Basic Disk volumes). Linux based tools are therfore my clear favourite here, but I know of no such tools yet, that isn't data destructive too. Sorry. (<Help anyone?>  )
  2. Only OpenSUSE will boot. Frankly, I think this is the least probable alternative.
    1. Look into what efibootmgr (included with OpenSUSE 12.3) can do for you. The link to OpenSUSE's EFI demystifier above, also provides an example of how to use efibootmgr. Try setting –bootnext and point it to Windows 8. If the problem is UEFI NVRAM only, that may rectify it.
    2. Is it only with secure-boot? OpenSUSE documentation says: "Secure boot may stop working in the future. If that happens, simply disable secure-boot – then commence OpenSUSE booting – and do an online upgrade. This will download a new version of shim that will work. After doing the maintenance, re-enable secure-boot and you are up to speed again."
  3. Only Windows 8 is booting – nothing to be seen of OpenSUSE: This is probably the more likely situation because we have to "tame" Windows 8 so it behaves itself in a dual-boot environment. This is probably an NVRAM issue, and can be remedied by using bcdedit and make it set OpenSUSE to "bootnext".
Tools of the trade: As I said, there are not much available, but there are some:
Windows based tools:
  • Microsoft's bcdedit.exe. (Included in Windows 8) Command-line based. It seems to be able to do nearly whatever we would ever want to do with an ESP partition, but terribly documented. Hard to understand because of that.
  • EasyBCD. (EasyBCD - NeoSmart Technologies) GUI based. Should be easy to use for what it can do, but has limited capability when compared to what the other tools have. Its community version is free for private and some non-profit use, but it is reported to silently insert commercial in other components. I haven't used it.
  • Visual BCD (http://www.boyans.net/). Makes use of the Windows WMI interface. Promising. Easy to use, and potentially far more powerful than EasyBCD. Free for personal use. However, the site lacks dates in general, and the license dates suggests there have been no development since 2011. UEFI isn't fully implemented, but is claimed to work. I receive some errors when I tried using it but nothing wrong has been detected. The uninstaller doesn't properly clean up the registry. When saving off the ESP partition, it produces a file of the same size as bcdedit.exe, but their contents are different.
Linux based tools: There is, of course, efibootmgr, (included in OpenSUSE 12.3) and that is all I have on the list for now. I am sure there are more. Please help me compile a proper list. I'll return later myself and fill in more, but I thought it was better to publish this article now and not delay all the other stuff.
Also, if a data disk is the problem: Windows 8 cannot read a newly partitioned GPT disk. Linux can. It has NTFS file system. Did you create the MSR partition?

Step 8 YAHOO!!!! Working for me :)

First impressions:
Everything seems to work well, apart from two things:
  1. I have not been able to find a HW driver for my 100Mbit cable-ethernet card. Since WiFi worked straight off the bat and I have an old USB/ethernet card lying around for service purposes that Linux do provide drivers for, I probably will not bother with it.
  2. The touchpad is misinterpreted and I cannot adjust it – not even in the fields displayed as being editable. I have a clickpad (not two separate buttons separated from the touchpad). However, I am able to use it in ways that shouldn't be possible if I understand the touchpad setup-windows correctly. Obviously, I am missing something. Oh well. I have to dig into that later.
The touch screen could be used to move Windows around when I was using the PartedMagic live-CD, but nothing else. In OpenSUSE, however, I can mark areas and click, drag and move objects as I wish, using the touch screen. However, since the GUI is still mouse/keyboard-oriented (and added to that, I currently have the LapTop scheme active), fields are pretty narrow for my fingers when using the touch-screen for it to be productive. 
However, much to my surprise, I see myself mixing the use of keyboard, touchpad and touch-screen (and mouse, when I have one connected) when interacting with the computer. I never thought it would be that tempting (and natural) to use the touch screen in that way. I thought the ergonomics of that would be terrible. It isn't. (At least not on a laptop computer, where I keep the screen considerably lower and closer to my body than when I use stationary monitors on table tops). You just get another method for interaction, and you use it as you see fit. My guess is that some will like it, and some will not.

Well. That was it. I hope someone will find some of it useful. Please feel free to comment and correct! Bye, now!

Friday, November 9, 2012

Linux / UNIX setup SSH with DSA public key authentication (Password less login)

Q. How do you set-up SSH with DSA public key authentication? I have Linux laptop called tom and remote Linux server called jerry. How do I setup DSA based authentication so I don’t have to type password?
Ans. DSA public key authentication can only be established on a per system / user basis only i.e. it is not system wide. You will be setting up ssh with DSA public key authentication for SSH version 2 on two machines:
#1 machine : your laptop called tom
#2 machine : your remote server called jerry

Command to type on your laptop/desktop (local computer)
First login to local computer called tom and type the following command.
Step #1: Generate DSA Key PairUse ssh-keygen command as follows:
$ ssh-keygen -t dsa
Output:
Enter file in which to save the key (/home/vivek/.ssh/id_dsa):  Press [Enter] key
Enter passphrase (empty for no passphrase): myPassword
Enter same passphrase again: myPassword
Your identification has been saved in /home/vivek/.ssh/id_dsa.
Your public key has been saved in /home/vivek/.ssh/id_dsa.pub.
The key fingerprint is:
04:be:15:ca:1d:0a:1e:e2:a7:e5:de:98:4f:b1:a6:01 vivek@vivek-desktop

Caution: a) Please enter a passphrase different from your account password and confirm the same.
b) The public key is written to /home/you/.ssh/id_dsa.pub.
c) The private key is written to /home/you/.ssh/id_dsa.
d) It is important you never-ever give out your private key.
Step #2: Set directory permissionNext make sure you have correct permission on .ssh directory:
$ cd
$ chmod 755 .ssh

Step #3: Copy public keyNow copy file ~/.ssh/id_dsa.pub on Machine #1 (tom) to remote server jerry as ~/.ssh/authorized_keys:
$ scp ~/.ssh/id_dsa.pub user@jerry:.ssh/authorized_keys
Command to type on your remote server called jerryLogin to your remote server and make sure permissions are set correct:
$ chmod 600 ~/.ssh/authorized_keys
Task: How do I login from client to server with DSA key?Use scp or ssh as follows from your local computer:
$ ssh user@jerry
$ ssh user@remote-server.com
$ scp file user@jerry:/tmp
You will still be asked for the passphrase for the DSA key file each time you connect to remote server called jerry, unless you either did not enter a passphrase when generating the DSA key pair.
Task: How do I login from client to server with DSA key but without typing a passhrase i.e. password-less login?
Type the following command at shell prompt:
$ exec /usr/bin/ssh-agent $SHELL
$ ssh-add

Output:
Enter passphrase for /home/vivek/.ssh/id_dsa: myPassword
Identity added: /home/vivek/.ssh/id_dsa (/home/vivek/.ssh/id_dsa)

Type your passhrase once. Now, you should not be prompted for a password whenever you use ssh, scp, or sftp command.
If you are using GUI such as Gnome use the command:
$ ssh-askpass
OR
$ /usr/lib/openssh/gnome-ssh-askpass
To save your passphrase during your GNOME session under Debian / Ubuntu, do as follows:
a) Click on System
b) Select Preferences
c) Select Session
d) Click on New
e) Enter "OpenSSH Password Management" in the Name text area
f) Enter /usr/lib/openssh/gnome-ssh-askpass in the command text area.

g) Click on close to save the changes
h) Log out and then log back into GNOME. After GNOME is started, a dialog box will appear prompting you for your passphrase. Enter the passphrase requested. From this point on, you should not be prompted for a password by ssh, scp, or sftp.