How to set Windows as default Operating System in Linux Grub Menu

GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project. GRUB is the reference implementation of the Multiboot bootloader program that allows you to select from different operating systems installed on your computer, in order to boot any one of them. If you followed our previous article of How to install Ubuntu Linux on your computer, you’d have noticed that Ubuntu installs a menu that shows up at the start, when you turn your computer on.

Grub Boot Loader Screen

This menu has set ‘Ubuntu’ as default operating system with a time out of 10 seconds. Which means that if you don’t do anything (select any other OS by pressing up/down arrow keys), it will boot you into Ubuntu Linux. If in any case you want ‘Windows’ to be your default operating system, then follow the steps below.

 

What you need?

A program called startup manager. This small program will allow you to select your default operating system. With this, you can also tweak some other setting like, changing the time out and resolution of the boot menu.

 

Install Startup Manager

  • To install startup manager, go to Applications > ‘Ubuntu Software Center’.

Ubuntu Software Center

  • Type ‘startup’ without quotes in the search box and you’ll be shown the ‘Startup Manager’ application. Just click on it and press ‘Install

Install Startup Manager

  • Enter the ‘user password’ when prompted, and you’re application will be installed in your computer.

Downloading and Installing Startup Manager

Opening ‘Startup Manager’ and changing boot menu

  • Go to System > Administration > and select ‘Startup-Manager’

Run Startup Manager

  • It will analyze your system and then you’ll be shown the program screen

preconfiguring

Default Menu Entry in Startup Manager

  • Just select your operating system from the drop down menu of ‘Default Operating System’, you can also change the resolution and the ‘time out’ in seconds too.

Selecting Windows as default OS

  • Restart your computer and you’ll see ‘Windows’ set as default OS in GRUB menu.

Grub Boot Loader Windows as Default OS

 

Manual Editing

Since the release of Grub2. The configuration entry for GRUB menu is no more in ‘menu.lst’. It has now shifted to ‘grub.cfg’ file.

  • Open it with your favorite text editor by the following command and entering the ‘user password’,
:~$ sudo gedit /boot/grub/grub.cfg

 

 

gedit command

 

  • Select the Windows entry (you can find it by Ctrl+F, you can see that ‘Windows’ is highlighted) and cut/paste it above the ‘Ubuntu’ entry. Save it and restart your computer.
Caution: Make sure to save a backup of this file before doing any kind of editing.

 

Manual Editing

These steps should help you change the default operating system on your dual OS computer from Linux to Windows.

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook  and Google + for more.

 

How to install Ubuntu Linux on your Computer

Before you proceed further, I hope you’ve read the previous parts of this series of ours ‘Going Open Source’. We started with ‘Why you should use Linux systems’ and then told you some ‘basics and pre installation steps’ about Ubuntu Linux. In this post, we’ll go through the steps that are required to install Ubuntu Linux on your computer. Everything is very simple and I tried to explain these steps as much as I could. Installing Ubuntu Linux was a dim and distant job in the past, it was sometimes very difficult, but the developers now have it down to a fine art, so it should take only 30 minutes or so on a modern PC. But if you still have a confusion at any step, you can reach me in the comments at the end of the article and I’ll be happy to help you in any way.

 

Overview

Before we proceed further, you need to download the latest Ubuntu Linux ISO Image file. ISO image files of the 32-bit and 64-bit versions of Ubuntu 11.04, which you can burn to a blank CD-R/RW disc by following How to burn an ISO image on CD/DVD or better, you can write these images on your USB Flash Drive which is 40 to 60 % faster than a CD/DVD. If you are a novice user, just download the default version of Ubuntu Linux that comes with ‘Unity’ desktop environment (see other available desktops variants here).  The installation program of Ubuntu is a little different from that of Windows. After you’ve booted from the DVD-ROM or USB Flash Drive, a menu will appear. You can choose the Install Ubuntu option, and the CD/DVD will continue booting to a graphical installer. Alternatively, you can choose the ‘Try Ubuntu without installing’ option. This allows you to run Ubuntu from the DVDROM or USB Flash Drive, in which you are actually trying it out without making any changes to your computer. Running Ubuntu Linux from a CD/DVD or a Flash Drive is often referred to as ‘Live mode’. This will be the exact duplication of Ubuntu Linux as you’d have installed it on your computer, just with some minor draw backs. Your performance won’t be the same as it won’t be running from the hard disk so there would be a little delay in data read/write and any changes made to the system (except in case of partition) will be forgotten once you reboot your system. This is where the persistent file comes in handy if you’re trying Ubuntu Linux live from a USB Flash Drive.

 

Step 1.

If you are installing Ubuntu Linux side by side with your Windows operating system then you should make sure that you perform this step. Scan the disk for errors….

To scan the disk, open Computer, right-click your Windows drive (usually C:\) and select Properties. In the window that appears, click the Tools tab and then click the Check Now button under the Error Checking heading.

Check a partition for errors - Scan Disk

Ensure that there’s a check alongside Automatically Fix File System Errors, and click the Start button. You will then be prompted to schedule the disk check the next time your computer restarts. Select to do so and reboot your computer, so the disk check can take place. (Scan disk will start right away, if its not a C:\ drive)

Check a partition for errors - Automatically Fix Errors

  • Make sure that Windows is shut down correctly. (Do not hibernate.)

 

Step 2.

Now when you’ll restart your system, you need to boot it from the CD/DVD OR the USB Flash Drive of Ubuntu Linux . If you don’t know how to write a USB Flash Drive with bootable Ubuntu Linux and then booting from it, then please refer to our previous article on ‘How to create a bootable USB Flash Drive of Ubuntu Linux’ because that is what we’ll be following in this article.

 

Step 3. Install Ubuntu

When you’ll boot your Ubuntu Linux from USB Flash Drive, you’ll be taken to the UnetBootIn menu. By default, it would be on ‘Default’, there are options like ‘Try Ubuntu Without Installing’ and ‘Install Ubuntu’ too.

UnetBootIn_Default Option

Try Ubuntu without installing: This option lets you run Ubuntu “live” from the USB Flash Drive, so you can try out its features, albeit in a slightly limited state. If you’ve never seen Ubuntu up and running, choose this option and play around. To install Ubuntu Linux once you’ve booted into ‘Live Mode’, just double click on the ‘Install Ubuntu 11.04’ icon on the desktop.

UnetBootIn_Try Ubuntu Without Installing

Install Ubuntu Icon

Install Ubuntu: This will start Ubuntu’s installation routine. Choose this if you want to get straight on with installing Ubuntu on your PC now.

UnetBootIn_Install Ubuntu

 

Step 3. Choose your language

Choose ‘Install Ubuntu’ and hit ‘Enter’. It will show you the booting screen of Ubuntu Linux 11.04.

Booting Ubuntu

 

Next it will boot you into the main screen of Installation procedure. It will automatically connect you to the internet (via LAN or WIFI) it will . Choose your Language, often ‘English’ and press ‘Forward’.

Installation Procedure - Select Language

 

Step 4. Preparation

This next step will prepare you for the installation.

  • You have to have at least 4.7GB space available but as we discussed in our previous article, it’s better that you have at least 10GB space available.
  • You are plugged into a power source, if you are using a laptop. In case, you run out of battery during the installation process, you’ll have to start over again and you might loose some important data too if you are in the middle of partitioning your hard drive.
  • Connection to the internet is required if you check the option ‘Download Updates while installing’. In case you’re not connected to the internet, updates can always be downloaded when you are done with the installation.
  • Next up, do check the ‘Install Third Party Software’, this will allow you to play some proprietary media files like mp3s.  Click ‘Forward’ in the end.

Installation Procedure - Preparation

 

Step 5. Choosing and partitioning your hard disk

On the next screen, you’ll be given the option to Partition your hard disk. If you have no operating system installed on your machine, you’ll see a screen like the following. You can safely choose ‘Erase disk and Install Ubuntu’ If there is no data on your hard drive because choosing this option will erase your entire hard disk and will create partitions that are suitable for Ubuntu Linux. So be careful at this step.

Installation Procedure - No OS Detected

but if you have a Windows operating system installed you’ll see a screen as below. It will detect your operating system be it ‘Windows XP Professional’, ‘Windows Vista’ or ‘Windows 7’.

Installation Procedure - Windows Detected

 

  • You can choose ‘Install Ubuntu alongside Microsoft Windows (whatever your version is), this will calculate the free space and will install Ubuntu alongside your current operating system and you don’t have to worry about the partitioning your hard disk.
  • Second option, ‘Replace Microsoft Windows with Ubuntu’ will of course, delete your Windows Installation.
  • Third option is a little bit advanced, it allows you to repartition or resize your hard disk and we’ll cover that in another article.

Installation Procedure - Install Alongside

Choose the first option and click ‘Forward’, it will calculate the space and will come up with best configuration possible. In my case, I had a 40GB hard drive with Windows XP Professional installed on it. It detected my Windows operating system and size of the hard disk and showed me the best configuration. Now it will automatically resize the Windows partition to 21.8GB and then make another 21.2GB partition for Ubuntu Linux. This process is seamless and you don’t have to do anything here. (The installer will take as much space as Ubuntu needs, without shrinking the existing partition too much.)

In case you want to give your Windows partition more space, you can drag the divider to the right side and it will allocate that space to the Windows partition.  If you think there is not enough space on your hard disk, you can reboot your computer, go into Windows and remove some files, see our previous article on how to free up some space. You can also resize your Windows Partition inside Windows if you are using Windows 7 or Windows Vista. Keep in mind that at this stage, it is not committing any changes to the hard disk. This is just an visual overview. Once you are done with the changes, click on ‘Install Now’ button. This will ask you to confirm your changes, click ‘Continue’ to move forward or ‘Go Back’ to make the changes again.

Installation Procedure - Committ Changes

 

Warning: Once you click on ‘Continue’, it will commit the changes, partition your hard disk and you’ll not be able to undo that.So double check your changes and then click on ‘Continue’.

Step 6. Keyboard Layout and Location

Now that the installation is underway, Ubuntu will next ask you to choose your time zone and then keyboard layout. (They’ll be in separate screens but I’ve put ‘em in one step to save space and time.) If your PC is already connected to the Internet, Ubuntu may already have detected your location correctly. You can select your time zone manually by clicking your location on the world map that’s displayed or by selecting the nearest city from the dropdown lists at the base of the page.

Installation Procedure - Where are you

Similarly, your keyboard layout should correspond to your language and locale settings, and will be automatically selected, so you can just click the Forward button.

Installation Procedure - Keyboard Layout

 

Step 7.  Setting up a user

Next you’ll be prompted to say who you are and choose the name you want to use to log in. In answer to the question Your Name? you can enter the name by which you’ll be formally identified on

the system to anyone who uses it. Next is your computer’s name by which it would be identified on the network. Give it something understandable so that you’ll be able to identify it, if you are accessing it from another computer in a network. Next, you’ll be asked for the name you want to use to log in. This username needs to be unique; users on the same computer cannot have the same username. Also, it must follow these rules:
• The username should be one word without any spaces in it.

• You can choose any username consisting of uppercase and lowercase letters and numbers, but not symbols or punctuation.

• The username cannot begin with an uppercase letter, although you can use uppercase in the rest of the name.

Next choose a good password, a combination of Upper and Lower case letters with numbers. For example, ‘W3bsc0p1A’. This password is ‘Good’ and easy to remember.  You can also use special characters in your password too, to make it stronger. You can also choose to encrypt your ‘Home Folder’, in that case it won’t be accessible from outside without giving a password.

 

Installation Procedure - Who Are You

 

Step 8. Import documents and settings from Windows Operating System

The next step is to migrate accounts by importing documents and settings of existing user accounts from your Windows partition to Ubuntu. (This screen won’t come if you’re installing Ubuntu on a fresh hard disk or have chosen to overwrite your Windows partition.) This is certainly a handy feature to be offered by the installer but then again, there is no point in importing if you have a large amount of data, such as music and video, stored on your Windows partition. You would be merely duplicating large amounts of data on the same disk, which makes no sense given as your Windows partition will be accessible from your new Ubuntu system.

Installation Procedure - Importing Windows Account

 

Click ‘Forward’ after every step and by the time you are done with these screens, your installation procedure should be finished. All this time it was busy ‘Resizing your partitions’, ‘Copying files’, ‘Updating your system’ (if you were connected to internet), ‘Configuring Hardware’ and ‘Installing System’. At the end, it will install GRUB, the boot loader on your hard disk, that will allow you to choose between ‘Windows and Ubuntu Linux’ to boot from. Ubuntu Linux in the meanwhile will be showing you some introductory screens.

Installation Procedure - Finalizing Installation Screens

Once the installation is complete, it will show you a dialog box asking you to restart your computer. Remove any installation media (in this case we had a USB Flash Drive) and click on ‘Restart’.

Installation Procedure - Complete

 

Step 9. Bootloader Screen

Upon the reboot you’ll be greeted with the GRUB screen. This is a bootloader which detectes all the operating systems in your hard disk and displays them accordingly and as you can see there are options for ‘Ubuntu Linux’ and ‘Windows XP Professional’. Choose the first default option ‘Ubuntu, with Linux 2.6.38-8-generic’ to start Ubuntu Linux. (2.6.38-8 is the version of Linux kernel)

Grub Boot Loader Screen

 

Step 10. Login Screen

You’ll be presented with a login screen, just click on the username that you created during the installation procedure, enter the password, and click on ‘Login’

Ubuntu Linux Login Screen

By following the steps in this article, you should now have Ubuntu installed on your computer.

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook  and Google + for more.

How To Create a Bootable Ubuntu Linux USB Flash Drive

Carrying forward on our Linux tutorial series for new users, here is part two. This short tutorial will tell you how you can create a bootable Ubuntu Linux USB Flash Drive so that you can install Ubuntu Linux from it.

Installing Ubuntu Linux from a CD or a DVD can be quite a hassle, from burning the .ISO image to the DVD to an old DVD ROM in your computer trying to ‘read the contents of the DVD’ . USB Flash Drives on the other hand are fast (fastest actually, from boot to live desktop in 20 seconds) and handy solution to this problem (No need to worry about the scratches). If you’re going to install Ubuntu Linux on your computer, I’d suggest use a USB Flash Drive instead of  ’wasting’ a DVD or a CD. This method will also come in handy if you have a netbook that doesn’t have any CD/DVD ROM  in it and it also works on any Ubuntu Variants (Kubuntu, Edubuntu, or NetbookRemix), that you might wanna try.

 

What You Need?

  1. Ubuntu Linux installation image, also called an ISO file with an extension of ‘.iso’ (An ISO image is an archive file (also known as a disc image) of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system.). You can download it directly OR from a torrent. (for most desktop systems, i386 or 32 bit would be good)
  2. The software that will enable us to write the above downloaded image to the USB Flash Drive. UnetBootIn. This software will enable you to write not just the Ubuntu Linux image, but also any other Linux Distribution that you might want to install. Download it for your operating system (Windows or Linux). Download UnetBootIn.

    UnetBootIn Drop Down Menu

  3. A USB Flash Drive, of course. A 1GB disk will be sufficient enough to install the normal Ubuntu Linux image, downloaded using the links from above.

Steps To Follow

Follow these simple steps and you’ll be ready to boot-up from your Ubuntu Linux USB Flash Drive.

Step 1.

Connect the USB Flash Drive to your computer. Download ‘UnetBootIn’ and save it some place where you’ll remember. I suggest desktop. Since there is no installation required for this software, you can just double click the executable file and it will run. (Press OK, if you see the User Access Control warning from Windows)

You can see that in the default screen, the ‘Distribution’ radio button is already selected. This is used to download the ISO image file of your favorite Linux Distribution, if you already haven’t downloaded it. Select your distribution and then select the version, and it will download the image file ready to be used.

Distribution Download Option - Select Distribution

Distribution Download Option - Select Version

For this tutorial though, we have already downloaded the Ubuntu Linux image file. So we’ll,

  • Select the second option of ‘DiskImage’ and browse for the Ubuntu Linux disk image / iso file

DiskImage Browse for the ISO File

Next option is to preserve the files across reboots,  since your Ubuntu Linux Flash Drive will also work as a Live Operating System that will run directly from USB, you might wanna use this option if you want to save files while working in that live session. If you are using a 1GB flash drive, I recommend using at least 128MB preserve space, just in case you want to browser the internet and save some files.

Persistent Space Option

Step 2.

 

  • Formatting the USB Flash Drive

WARNING: If you have any data on your Flash Drive, save it before proceeding with this option.

Since you have already connected your Flash Drive to your computer, you’ll see it in your ‘Windows Explorer’. Right Click on it and select ‘Format’. This will open a dialog box. You don’t need to change any settings on here. Just click ‘Start’ and it will format your Flash Drive.

Disk Format Option in Explorer

Disk Format Dialog Options

 

 

 

 

 

 

 

 

 

 

 

 

  • Selecting the USB Flash Drive

In this step you’ll choose the USB Flash Drive inside UnetBootIn, make sure that in the ‘Type’ drop down menu, you’ve selected ‘USB Drive’, NOT the ‘Hard Disk’. You just formatted your Flash Drive, so you’ll know what was the drive letter of it, ‘Drive’ option would and should be showing your Flash Drive’s drive letter. It might be different in your computer but in my case, it was H:

Selecting Flash Drive and Drive Letter

WARNING: Double Check the drive letter of your USB Flash Drive before going to the next step.

Step 3.

 

  • Click OK when ready and the process will continue. It will take 5 to 10 minutes depending on the speed of your computer and USB Flash Drive.

 

Bootable USB Creation Process 01

Bootable USB Creation Process 02

Bootable USB Creation Process 03

Bootable USB Creation Process 04

Setting Up Persistence File

Bootable USB Creation Process Finished

  • Click on ‘Reboot’ when the process is finished.

Step 4.

Reboot your computer from your newly created Bootable Ubuntu Linux USB Flash Drive. Many newer computers detect the USB device as a hard drive (USB-HDD0) and some even name the device name such as Flash Voyager (Removable Disk). In either case, you can press a specific key [F2, F10, F11 or ESC] (depending upon your BIOS settings), during system post to access the “Boot Menu“. Select your USB Flash Drive from the Boot Menu and resume with the process.

You can read part one of our Linux Basics series here:

Installing Ubuntu – Basics and Pre Installation Steps

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook  and Google + for more.

7 Reasons Why You Should Use Linux Systems

The entire discussion behind which is the best operating system has been going on since the first one arrived on the market which was, incidentally, a Unix System.The usual hesitations regarding Linux are: It is too difficult to use. One has to be a programmer/advanced user to use it, not user friendly enough and my current applications won’t work etc.

These are myths and insufficient information regarding Linux and I am going to give you 7 reasons to why you should use linux systems and clear up some of these myths to give you a better understanding of Linux.

1) No Viruses, Spyware or Malware

Well I won’t say Linux is the most secure system in the world as nothing is 100% secure but when it comes to computers and operating systems it is more secure then Windows. How you will ask? There are built in security features that prevent a user from damaging their own system and the frequency of updates that significantly mitigate the potential threat. In Linux environment, a user is notified of the problem when a problem occurs through the quick and robust system of package management

2) Hardware Independence and Support

It doesn’t matter how low your computer specs are, you’ll find a Linux distribution (flavor) that best suits your hardware. Linux has the broadest compatibility when it comes to hardware support (Linux Hardware Compatibility List), in fact a lot of PC makers are certifying Linux distributions like Ubuntu (Ubuntu Certified hardware | Ubuntu) and Novell  to be used as a preloading desktop environment for their netbooks and laptops. (Preloaded by Leading Partners)

3) Less freeze / Crashes

Websites such as Google, Quroa and Facebook use Linux OS as their server OS. In high – profile and high – end companies such as these Linux systems has proven itself to be very reliable as it has been running for ten years in many cases without a single reboot. Even if a single application misbehaves or freezes, you don’t need to restart the whole system. Just close it, and re-open it again. Unlike, ofcourse Windows where generally, when a component of windows fails it effects the whole operating system and you get what is famously known as the BSOD or Blue Screen Of Death. This fact in itself makes Linux some of the most reliable operating systems on the market.

4) Applications Support

Microsoft has an active partnership with Novell SUSE Linux to create compatible applications for Linux Systems.  Nearly all major distributions come equipped with latest Office suites that are compatible with Microsoft Office. Gimp is a free and open source alternative to Adobe Photoshop. But you are not limited to these options. Linux gives you freedom of space and choice; you can always choose which application you want to run. For instance you can also run almost all of Windows applications using ‘ Wine ‘ and you can also run video games that are only made for Windows using ‘Cross-Over‘  on your favorite Linux System. You can use Alternative To to find out about the alternative software to be used with Linux Systems.

5) Cost

An Important aspect of Linux Systems when it comes to economics is that as a normal user, you’ll be saving thousands of dollars in terms of software and operating systems cost. HOW?

For small business corporations, Linux education is less expensive and Linux Systems are more reliable, faster and easier to use. Another fact is that you pay quite a lot of money for the Windows OS that comes with your laptop. Whereas a Linux system is free and easy to download on the web. That is $219 saved right there while you just installed your Linux System, not to mention the cost of Microsoft Office and other propriety software. For large corporations the cost of open source desktop maintenance is by far the lowest it experienced and can help you save millions just by switching to Linux Systems from your old Windows XP.

6) Ease of install and Usage

Unlike Windows, a normal Linux install name it Ubuntu will take less than 15 minutes on a modern desktop computer, without a single reboot and you’ll be up and running with a working desktop environment in virtually no time. No need for searching and installing drivers and the very frustrating ‘install important applications’. When it comes to desktop environment, you have the freedom of choosing between Gnome3, Unity, KDE, XFCE and many more. This ranges from the simplest to graphically the most beautiful desktop environments in Operating Systems.

7) User Community.

Linux has the most vast online user community always willing to help. Unlike Windows Linux is a joint global community effort, whether it comes to developing a Linux System or using one. It’s the passion that motivates a Linux user to enjoy the operating system. (Linux Pakistan) is an example of Linux User Groups formed by individuals who are passionate about Linux Systems and love to help others.

If you’re convinced, here is a list of some Linux Systems (Distributions/Flavors)

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook  and Google + for more.

Linux Terminal – Basics

If you have gone through the seemingly endless process of hardware upgrades, either to meet the requirements of certain software or just to enhance the performance of the system, you most probably know that they are not only expensive but a pure waste of time and energy. Moreover, file sharing within multiple systems is another misery especially for workplaces where multiple stations go through these hardware upgrades. The Linux Terminal Server was designed to resolve both these problems. It not only allows multiple users, through individual terminals, to connect to the same server to access the same computer, but also one software copy installed on the server will do the trick for the rest of the terminals. Thus, it creates multiple diskless workstations that can access the same computer from anywhere in the world.

What? Did you say Linux is too complicated? Is that the reason why most people don’t use it? Well, that is just about it! You see, the Linux Terminal Server Package is often misunderstood by beginners as not being user friendly, which certainly isn’t the case. Learn a few basic commands and understand how to use them and every newbie is good to go.

One of the first things to know is the ‘sudo su’ command through which you can make yourself the super user or in windows terms administrator for the system. This will give you all the access rights to install all the programs you want. Each time a user logs into a terminal there is a base root folder under the name of the user.  By using the simple dir command (like in windows) the files and folders contained for the user will be displayed. Now in order to access the server folder you need to use the command ‘cd(space).. ‘And once you’re in the home folder the simple dir command can be used to access the files and folders on the server. Once you’ve spotted the file you want to access in directory you can use the ‘file(space)(file name)’ command to access that file. In order to return to your own terminal base root folder you can use ‘cd(space)(user name)’ command.

Basic terminal to server and server to terminal access is as simple as this. Furthermore, from a server operators side commands such as ‘adduser’ & addgroup’ can be used to add user or add another group. Another useful command is ‘chmod’ command which is used to change access permissions. Other simple commands such as ‘date’ and ‘dc’ can help with changing date and time and accessing desk calculators respectively. Managing disk space can be done by commands such as ‘free’ to display memory usage and ‘ format’ to format disks or tapes. ‘ls’ is another important feature to list information about files. Accessing manuals can be done through the ‘man’ command and new folders can be created through ‘mkdir’, though files and folders can be deleted through ‘rm’ and ‘rmdir’ respectively.

The understanding of these basic commands can make any beginner sail through the not so complex world of Linux. We shall cover more basic commands later on in this series so stay tuned. If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook for more.

 

Free Online Backup Service – 100% Free Online Storage For You!

Free online backup service was something unheard of a few years ago and storing your data online was a privacy issue. Times have changed, now with almost everything going on to the Internet cloud, backup too has evolved.

100% Free Online Storage is a reality today. 100s of companies have sprung up, offering free online storage for you to safe keep your files. Premium services offer  larger storage, version control, incremental backup (also known as continuous data protection), multiple logins, etc.

Well that’s all good, but this article is really about free online backup service. So here is a list of the most reliable names out there for free storage.  We have included links to the blogs of these companies – do read them, they offer unique insight as to the current service levels, what’s in the pipeline and some tips and tricks.

We did not review any free online backup service that was offering space less than 2GB.

Important Note: As with all online storage services, be very sure to read their EULA / TOS.
Almost every service will basically this – if things go wrong – you can’t legally blame us.
If we lose your data, we are not responsible for it. 
So, if you are going to keep a backup on the Internet, as cliché as it may
sound, make sure you have a backup of it.

IDrive

IDrive Free Online Backup Service

Website: http://www.idrive.com/ -  [Sign-up] – [Features of the Free Plan] – [Blog]

Platforms Supported:  Windows, Mac

Free Space for Backups: 2GB

Highlights:  The 100% free plan from IDrive gives you 2GB of online backup space. This free plan supports all features of IDrive. To sign up, there is no need for a credit card.

Dropbox

Dropbox Free Online Backup Service

Website: http://www.dropbox.com/ – [Download Client] – [Blog]

Platforms Supported:  Windows, Mac, Linux, and Mobile (iPhone, Android, iPad and Blackberry)

Free Space for Backups: 2GB (bonus space of 250MB for maximum of 8GB is offered via various incentives)

Highlights: Probably the most simplest and widely used online backup service. It is simple, its intuitive, it works with almost all the devices you have. Multiple computers are included in the free-setup and works like a charm. Even the free service offers an “undelete” option. If your Dropbox folder has a file – it will keep 30 days worth of revisions on it. No sign-up page, you are required to download client, and then sign-up, a process which takes about 10 minutes. The best part about Dropbox is the ability for it to sync your files across multiple devices, especially support for mobile devices.

ADrive

ADrive Free Online Backup Service

Website: http://www.adrive.com/ – [Sign-up] – [Blog]

Platforms Supported:  Windows, Mac and UNIX Operating Systems

Free Space for Backups: 50GB (that’s right! 50GB!)

Highlights: Probably the only service that offers such a large free storage space of 50GB. You are allowed to have one account for personal use only. The downside is many bells and whistles are missing in the free (Basic) version, but hey, 50GB you can’t go wrong.

Spideroak

Spideroak Free Online Backup Service

Website: https://spideroak.com/ –  [Download Client] – [Blog]

Platforms Supported: Windows 2000 or later, CentOS/RHEL, Debian Etch, Debian Lenny, RPM-Based (Fedora, etc.), Mac OS X, Slackware 12.1, OpenSUSE, Ubuntu Gutsy Gibbon, Ubuntu Hardy Heron, Ubuntu Intrepid Ibex, Ubuntu Jaunty Jackalope, Ubuntu Karmic Koala, Ubuntu Lucid Lynx, Ubuntu Maverick Meerkat

Free Space for Backups: 2GB

Highlights:  Spideroak offers all the bells and whistles of their professional (paid) plans, in the freeware version. Setup is a breeze, simply download the client and then proceed on to making an account. Offers the highest desktop platform availability as far as OS are concerned.  However, no support for Mobile devices yet.

Mozy

Mozy Free Online Backup Service

Website: https://mozy.com/ –  [Sign-up] – [Blog]

Platforms Supported: Windows 7, 2000, XP, and Vista (32 & 64 bit), as well as Mac OS X 10.6, 10.5, & 10.4

Free Space for Backups: 2GB

Highlights: Mozy has been around for a while. Their offering is pretty much like anyone else. It too like Dropbox offers the very important Version (snapshot) system, which will allow you to go back and look at a document how it was up to 30 days prior. It even backups a ‘locked’ files, which some programs do not do. A good example of a locked file is PST file of Outlook which is locked when in use.

SugarSync

SugarSync Free Online Backup Service

Website: https://www.sugarsync.com/ –  [Sign-up] – [Blog]

Platforms Supported:  Windows 7, XP, and Vista,  Mac OS X 10.5 or greater, iPhone, iPod touch, iPad, BlackBerry firmware version 4.2 or greater, Android, Windows Mobile 5 and 6, Symbian S60 5th Edition and Symbian^3

Highlights: SugarSync’s backups system on the cloud is fast becoming a competition to many, especially Dropbox.  Though SugarSync doesn’t support Linux (yet), it does have a very across the range coverage, especially in the mobile space.  SugarSync also supports file versioning (snapshots).

The companies listed above are the most ‘safe’ and reliable when it comes to free online backup service. Albeit, the field is vast, from ZumoDrive (a Silicon Valley Startup), to  JungleDisk which is a Rackspace company (but does not offer any free backup service).  Carbonite is another name, rock-solid, but they too don’t offer free trial. Humyo is a Trend Micro company, they offer a free version for up to 10GB but is accessible via the web only.

One other promising (paid) company that we must highlight is Backblaze which offers unlimited storage for home users at a price of $5/month.

Online storage is the way forward, no doubt about it. Do your homework before selecting on any one company. As we cited earlier on, some even prefer to have dual backups, to be 200% sure against disaster.

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook for more updates.

DDoS Attack? How To Stop DDoS Attacks

DDOS Attack – Now What? How to Stop DDoS Attacks?

When you are hit with a distributed denial of service attack, your options can be very limited to mitigate it.

First of all relax. No one is dying. No need to get panicky. Yes, you’re under attack, but like I said, no one is dying. When you get panicky and edgy, your ability to think clearly is hampered. So try to relax.

DDoS attacks don’t just happen randomly, they are done for a purpose. Either someone is being paid to take your down (an attack instigated by your competitor) or you (or your site/organization) did something to piss someone off and hence you are on the receiving end of the DDoS attack.

Very few sites actually get hit with a DDoS for no apparent reason. Sometimes, even the reasons are not apparent at all to you.

The message is however, very clear…you are being taught a lesson.

Many-a-times, after the attack has long ceased, you may not even be able to figure it out and be pulling your hair “Why me? What did I do?” – Don’t waste time on that question. If you have not already figured it out, then might as well ponder on that thought later…right now you have a website that is down and you need to focus on that.

So before we discuss the options you have, let us talk a little bit about the attack themselves.

DDoS attacks mostly happen to web/application servers. Mostly! They can be targeted to other type of servers, like mail servers, gaming servers, etc. but predominantly web/app servers.

Datacenter Scenario

Web/app servers are mostly hosted in datacenters by web hosting companies. Chances are your server, switch, router, bandwidth, etc is being shared amongst 100s of other clients. Sometimes, even your IP address itself.

So when you get DDoS’d – others get affected.

This is what datacenters do not like.

Just because of ‘you’ others are getting inconvenienced. You can be in one of the following scenarios:

(a)          If you are on a shared IP address, this can be a problem, the datacenter will then try to find out which specific website is being targeted and will then try to nullroute that web entry via the DNS and then try to assign all the remaining websites to another IP, and nullroute (de-advertise) the original IP under attack. Someone will inadvertently have to pay for all this effort.

Datacenters usually don’t run websites, they are in the business of selling servers and bandwidth. The hosting company that rents servers from a  datacenter are the ones who usually assign (couple) all the hosting clients on a single IP.

The hosting company – would most likely  be the one who would be scrambling to save its other clients from the DDoS nuisance that you are weathering.

(b)          In the event that your website is hosted on a separate (dedicated) IP by itself, then the datacenter will simply nullroute your IP until the attack has ceased. There is a caveat to this statement:

  1. If the attack is low in bandwidth utilization (mbps) and pps (packets per second), and well under the ceiling that has been provided to you, then they might not necessarily nullroute the IP and will let the attack traffic continue on to you, unless you specifically request for the nullroute to happen.
  2. However, if the ingress (incoming) attack traffic is greater than what you have been provisioned for and paid for, then most likely they will nullroute, unless you are specifically willing to pay them additional to let the traffic through.

Datacenters do have protection gear (of some sorts). Not every datacenter can afford to invest in the expensive DDoS mitigation equipment and expect to provide this as a free service to all its clients. Those that do have mitigation equipment use it to protect their own network and their client base on the whole.

The equipment is predominantly used to gain insight (read: visibility) into their network traffic and to immediately single out malicious traffic that can cause their network to degrade, which can result in dissatisfied clients and expensive SLAs.

Almost every datacenter with mitigation equipment in place will charge for countering DDoS attacks. As equipment, subscriptions, training, human resources and bandwidth all cost money, so is the service for protecting you against it. Don’t crib that it is the datacenters ‘right’ to provide you with protection. It is not. Go reread your ToS/SLA / AUP (Terms of Service / Service Level Agreement / Acceptable Usage Policy) documents provided by the datacenter and the hosting provider and you will understand better.

Many “small” attacks (emphasis supplied) can almost be mitigated by merely having a proper dedicated hardware based firewall installed in front of your server. Not all attacks, but almost all.

Web Servers that have to serve web traffic and act as application servers as well, do not perform well when you add on the additional burden/task of a software based firewall on them. Albeit the market has improved considerably on the types of web servers that can now be installed (nginx and lighttpd are two that come to mind) are the new breed of web servers known for their speed in serving request and the different array of modules and patches that can be applied on these servers for freeing resources and serving content faster on existing hardware. They perform fairly well in environments where such servers are used for Reverse Proxy and on the whole are much faster / better than your  traditional  ApacheIIS environments.

However, as cited, they are no substitute for a hardware firewall itself. Many will cite that FreeBSDPacket Filtering is the way to go, Yes, it is indeed! but that again means a separate dedicated hardware in front of your web/app server. End result – more costs and more management.

Today, even these ‘slow’ or ‘small’ attacks can wreck havoc with your hosted infrastructure. SYN Attacks and HTTP GET Attacks can come in the 1000s and only utilize a small portion of your bandwidth, yet be crippling for your server’s resources and bring your website down.

Okay, enough of the datacenter scenario, the other scenario where you might get DDoS’d is the Enterprise.

Enterprise Scenario

The enterprise scenario is that you are a large company, where you are not utilizing a datacenter, but have opted that the web/app server be hosted on premises. You will presumably have a large enough internet bandwidth connectivity from your service provider. In which case, your options will be discussed later on.

So, having said this when a DDoS attack happens what can you do? Here are your options (in no particular order):

Wait it Out!

Let your site be down, and wait, anywhere from a few days to 2-3 weeks and hopefully the DDoS will stop in its entirety.

Most DDoS attacks cease after 72 hours. Most. This is not a golden rule or a yardstick to go by.

It takes resources and money for a DDoS attack to happen, and the longer it sustains itself, the more exposed the whole botnet becomes towards detection. Waiting it out is not an options for many, especially those who earn a living from their websites. Downtime, means no sales, and no one likes that. But if your budget does not allow, there is nothing much you can do here. If you have decided not to spend money, this is your option.

Your ability to spend money will directly translate to the amount of sales you get from the website. If you earn $500 per day from it, you will invest in a better hosting infrastructure or service of 1-3 days worth of sales to protect your business. If you don’t make any money out of the website,  chances are you will not be putting much in to stop the attacks. Better to wait it out.

Thousands of website owners who fall prey to DDoS attacks each year, fall under this category. They have paid anywhere from $2/month to $25/month for their website hosting on some shared hosting platform or on a small VPS and cannot afford to hire services of a anti-ddos mitigation company, which can easily run into $100s per month (and that’s just the starting price) let alone buy DDoS mitigation equipment which can run in $100,000s.

Upgrade Hosting

If you are on a shared environment or perhaps on a VPS, you might want to reconsider the existing platform.

By upgrading your existing hosting setup, you have a relatively better chance of thwarting a DDoS attack, as opposed to your existing hardware platform (that might be shared with many or is weak).

Besides getting an upgrade, see if you can get a hardware based firewall in front of your server which is highly recommended.

Consider hiring a management company to harden & lockdown your OS as well as speed up / fine tune your TCP processes and your Web Server.

Whilst such a setup will not necessarily stop a large DDoS attack, it will ensure that under small/mid-sized attack your server and network gear can withstand it all.

DDoS Mitigation – Proxy Scrubbing Services

This is perhaps the new cottage industry. Most businesses who are seeking DDoS protection, have already gone the route of upgrading their servers, etc. but simply do not have the money to mitigate a 1Gbps or say 200,000 packets per second DDoS attack.

Enter Proxy based DDoS protection. Or Scrubbing Services.

Specialist companies have 10Gbps+ bandwidth connectivity from multiple providers, their network is poised to pass on extremely large volume of DDoS traffic to their ‘scrubbing’ devices. These devices for those in the business are somewhat of an industry secret – not the devices themselves, but the configuration itself. Consider it to be the secret sauce, that separates each one of them.

Most of these companies utilize a ‘farm’ of servers, (some running FreeBSD and Packet Filtering) with some form of a deep packet inspection on the ingress traffic. They are able to reasonably remove malicious traffic by known signatures or practices like malformed TCP IP packets, or excessive (recursive) requests from a single IP, or malformed HTTP GET Requests, etc.

There is quite a mix-and-match of equipment, from off-the-shelve DDoS mitigation appliances like that of Arbor Networks, TopLayer, TippingPoint, RioRey, CiscoGuard mixed with home grown solution and specific appliances that excel in DPI and traffic rerouting and scrubbing.

Their systems are setup as such to take the full frontal assault of the attack and filter out  immediately tagged traffic that is deemed malicious by signature, and then further work on the remaining traffic, filtering it, and then parsing the traffic to a reverse proxy server. The IP that takes the brunt of the attack traffic is not yours, or of the reverse proxy server, but that of the company’s scrubbing farm. The IP of your origin server and the reverse proxy server (if utilized) is never known to the attacker nor is it published on your DNS Records.

The relatively cleansed traffic then arrives at your reverse proxy server where it can be further analyzed and cleansed before being passed on to your origin server.  While this may seem too many hops, it is not.

The added delay is hardly noticeable.

If the filters ever were to not function properly, and excessive traffic comes through – it will not bring down your origin server but the reverse proxy server, so it an added layer of protection for you.

Some prefer to have a reverse proxy server (using Squid) or some other RP variant, some prefer to do packet-filtering and then routing packets (traffic) to the origin server, it all depends on how at ease you are with the setup and the technologies involved.

Today, by some estimates, 80% of the attack traffic that is filtered against DDoS for small and medium businesses is done so by using such providers and their unique solutions.

Billing for such solution is simple. It is a mix-and-match of both the bandwidth and the pps (packets per second) arriving at the scrubbing farm.

Most providers will have slabs like or a combination close to this:

1,000Mbps &/or 100,000pps – whichever comes first.
1,500Mbps &/or 150,000pps – whichever comes first.
2,000Mbps &/or 200,000pps – whichever comes first.
3,000Mbps &/or 300,000pps – whichever comes first.

…And so on and so forth.

When you reach the limit and cross it – the IP that is bearing the frontal attack is then automatically nullrouted, till such time that your attack traffic falls below the ceiling (slab) you have subscribed to, or if you opt to upgrade your protection package. There are one-time setup fees associated with such setups that are usually $500 or so or x1.5 your monthly bill – whichever is greater.

No two solutions are alike. Each provider like I cited has their own secret sauce and each will claim to be better than everyone else. It is a very cut-throat industry and every client counts. There is more money when the economies of scale kick in.

Pricing is usually based on the month-to-month. You can get decent discounts if you subscribe / commit to long term contract. However, in this business, the client tend to use services for a month, pay for it, and when the attack has subsided altogether, they revert back to their original setups they had before the attack – to save money.

Companies that specialize in this arena are propping up all over the place. Trusted names worth looking into are ProlexicGigenetStaminus and Blacklotus.

You will probably also need to set aside some money for server administration costs. Unless you are absolutely fluent in the OS / App server you intend to work on, set aside some money for specialized remote server administration companies that will do the setup for you and manage it.

Dedicated DDoS Mitigation Equipment

Now if you are an enterprise or a large company and are hosting on your own, this is where you will look at investing in equipment and infrastructure that is specifically designed to counter DDoS attacks.

Companies like Arbor NetworksTippingPointJuniper NetworksCisco (CicsoGuard), RioReyTopLayerIntelliguardIntruGuard, etc. come into play. I have even found that Foundry Network’s line of products are also very good in mitigating DDoS attacks, though Foundry (now Brocade) is not a specialist in this area per se.

The real players are Arbor Networks, Cisco (with their CicoGuard), Toplayer and RioRey. These companies have specifically focused on DDoS protection and have worked with datacenters and service providers (large and small) and understand the DDoS space quite well.

DDoS mitigation equipment is not as plug-and-play as the OEM would like you to believe. Believe me I say this from experience and interacting personally with folks who have had a chance to play with different OEM solutions in their network. You need to have a thorough understanding of networking and a bit in the Layer 4-7 space to be able to really put these appliances to use. Enterprise customer don’t act on impulse. Despite the ongoing attack, they will adequately weigh the pros and cons of each solution, the price tag and the ROI.

Solution can start from as low as US$ 30,000 to as high as US$ 1,000,000 for high-end multiple 10G  DDoS mitigation and scrubbing appliances.  Add to this training, subscription, support costs and it all adds up. Not to mention the time it takes to evaluate, short-list and then deploy a solution.

In the longer run, investing in such technologies is the only way out. If you are going to house servers and have large pipes feeding to your servers, it is only sensible that you plan now and invest in these appliances. Attacks are inevitable.

Choosing the right appliance can be a tough one. Because the market is so small and competitive, Sales Managers have added pressures to meet quotas and will make you believe their solution is the best. Sure enough their solution is good. Is it the best? That is a highly debatable topic. One solution will approach a specific attack from a particular angle, whilst the other solution will tackle it from a different perspective, the end result may or may not be the same.

Very rarely, have I seen a solution that is pure plug-and-play. False positives are a huge issue in this business. Especially when you are talking about HTTP GET Attacks.

HTTP GET attacks are slow HTTP GET requests (genuine requests) from compromised computers (aka Zombies), which are part of a much greater botnet.

With say 2,000 bots in a botnet requesting HTTP GET requests at the rate of a few 100 per second, your Web server’s TCP sockets will be inundated and fill up in no time, which will result denial of service. How to differentiate between a genuine request and a non-genuine is not so straight forward. Remember each TCP connection has a specific time-out value on the server – so whether the connection is genuine or not, it has to stay on as a valid connection in the server – until it times out. I hope you can get a sense of the added complexity.

Network Behavior Analysis (NBA) is one way of tackling the issue, but that again is debatable and one-sided perspective of a specific solution provider (in this case, Arbor Networks). Don’t be fooled by the words ‘surgical precision’. There is surely nothing surgical in real life and precision is misnomer.

If this were the case, DDoS HTTP GET attacks would be child’s play to mitigate. Try explaining that to real-life customers who get blocked from a website due to being flagged as false positives, or coming from behind an ISP proxy or company proxy, where too many requests from the same IP were made and thus blocked. It is not a hand-in-glove fix.

So, concluding, if you are under a DDoS attack, you do have options – that much is clear. It is how much you are willing to spend to defend yourself against such options that you much weight and decide.

Remember in the Internet world, there are no freebies, which reminds me of this quote on which I will end.

“To let the world treat you fairly in return because you are a nice guy, is somewhat like asking a bull not to attack you, because you’re a vegetarian.”

Article published under permission from DoS-Attacks.com

If you find this article helpful, you can always subscribe to our RSS Feed or follow us on TwitterFacebook for more updates.