Linux

Have you heard about Virtualization and dual boot concepts? Some people confuse about what exactly is a dual boot? To be clear Booting is the process which loads operating system into the main memory (i.e. RAM). And Dual-boot or Multi-booting is installing multiple operating systems on a computer, and choosing which one to boot when starting the computer. If you have ever seen a screen like below while starting a computer, it means that the computer has multiple OS installed on it and it is asking the user to select one of the operating system to boot. But you have to know about the future technology of Virtualization and dual boot concepts.

Virtualization and dual boot concepts

What are Virtualization and dual boot concepts ?

Virtualization is the creation of a virtual operating system, a server, a storage device (hard disk) or network resources. A software commonly called Virtual Machine can be used to create such virtualization. We shall discus more about virtualization and dual boot in the article below.

Virtual Machine vs Dual-boots.

We often get into situation when we have to use multiple operating systems. For example if you are a computer student who like to use windows & you get a project work or assignment to do on Unix/Linux or just you are tired of using windows and want to enter into the open source world. Most of the people use dual boots probably as they don’t know about Virtualization. Instead of using dual boots you can install OS like Linux in Windows using Virtual Machine.

Installing an operating system on a virtual machine inside of other operating system has a lot advantages over a dual-boot:

  1. You can switch between your host OS(your main OS) and the guest OS without rebooting the computer.
  2. You don’t need different hard disk or partitions for different operating system.
  3. The size of the installation doesn’t have to be predetermined. It can be a dynamically re-sized virtual hard drive.
  4. Uninstalling the guest OS becomes so easy and a matter of few seconds.
  5. You can save the Virtual Machine state and if your guest OS gets corrupted, you can get back to that state without re-installing the OS.
  6. You can even share files between Guest OS and Host OS using a shared folder.
  7. The virtual machine will set up its own video configuration, so you don’t have to worry about installing proprietary graphics drivers to get a reasonable screen resolution.
  8. You can install suspicious software in Virtual Machine and check it’s behavior and then install it in your main OS.

Virtualization also has some disadvantages or limitations:

  1. Virtual Machine runs little slowly than your host OS. This is because host OS has direct access to the physical hardware.
  2. In order to get any kind of good performance, you need at least 1 GB of RAM.
  3. If you are a gamer, virtualization may be disappointing for you.
  4. Every time you want to use Guest OS, you have to wait for two boot times (the time it takes to boot Host OS, and then the time it takes to boot Guest OS within Host OS).

I think by now you got some idea on Virtualization and dual boot concepts. And it is clearly seen that advantages of virtualization overrides it’s disadvantages. So I would recommend virtualization instead of dual boots unless the multiple operating systems you are going to use are equally important for you. If you are going to use an OS once in a while, it makes lot of sense to use that OS as a guest OS inside your main(host) OS. If you want a free Linux Ubuntu CD To Your Home, we can send you one. Just leave your address. Please let me know if you any queries on this above article on Virtualization and dual boot.

We all know that Linux is a open source and used to send a free Linux CD when ever we request them. But from past few days, Linux has stopped sending the free CD’s to home delivery. So people who want to learn the operating system must have to download from Internet directly. If you are still searching for a free Linux Cd and want it to delivered to your home for free, Then this is it, we want to give 200 free Linux CD’s  to those students who really want to learn  this professional open source operating system at home for free. You are most welcomed to get a free Linux CD here.. We are only sending to the students for this time. Please read below steps to get more info on this.

Get a Free Linux CD :

free ubuntu cd

You can request a free Linux Ubuntu CD with a home delivery service. Coolpctips in association with Enjay IT Solutions Ltd. is giving 200 free Linux Cd’s to our readers on the occasion of Independence day. We are giving the free Linux CD only to the students who want to learn Linux. If you live in India and still a student., you can apply for a free Linux CD. We will send the CD within 10days in within India. All you have to do is to submit the form with your Name, Email, Phone Number and Address. Make sure you give your correct address so that the Linux CD will reach safe.

Free Linux CD Request Form :

This giveaway will be for 3days (i.e) till August 18th 2011 and from August 19th 2011 we will deliver the CD’s to your home within India. And Sorry the giveaway have been completed now and also we have sent the 200 cd’s to our users. If at all you want personally, you can always request one in our forum which is given below.

Request Form For Free Linux CD (Sorry We have Closed The Request Here. This will redirect you to Forum. Leave you address there.)

We will accept only one request per single address. Hope you all will utilize this giveaway. Stay connected to Professional Monday and Technology Blog Coolpctips.com.

Lot of companies now-a-days offer Linux as pre-installed operating systems in their equipments like Laptops, Desktops or net-books. But most of the people do not use it rather they remove Linux and install another desired OS. There are many reasons for this but the foundation of all those reason is as discussed below.Before some 15-20 years, In India, computer education was made available by various Institutes which was then followed by many Schools, colleges and other institutions. Right from the age in child hood people are given Microsoft Windows as their only way of computing.

linux is ready

Resulting to which we can see that most of the people do not know the term Operating System but they do know Microsoft Windows. Most of the people do not know that as an operating system there are lot of other options available in the world of computing.Even Microsoft Strategies for Licensing encourage this in India. They charge a very small amount for Licenses in Educational institutes. But as and when a student grows up and if they want to use MS Windows or in that matter any MS products they have only two ways out. Number 1 is Piracy and Number 2 is huge investments on Software Licensing.

A very small number of people are really aware about capabilities of Linux. Those people really have the capabilities of selecting or not selecting Linux for their own working environment. But we can see that even people who are not aware of Linux also some how decide for not selecting Linux or Open Source for their computing. Or rather we can say that people who dont know Linux would only decide for not selecting Linux

Mr. Richard Stallman, of gnu.org, who has seen ups and downs of software in both the world of Licensed and Free software made hard efforts for offering freedom to people as far as software usage is concerned. Following him there came many other communities who really put some hard, smart and intelligent efforts on creating great software applications for people.

Today we are able to see a huge no. of communities working on different open-source projects to create some really great software. We have around 100s of Linux distributions available at various projects run by different group of people.

Talking about Software Programming Linux has got a huge potential on offering almost any type of programming support. Same is the case with server OS technologies. Linux offers a safe and stable environment. And now since last 4-5 years Linux has been evolved to the highest potential as far as desktop computing is concerned. OSes like Ubuntu, Fedora, Suse and many more offer a huge set of applications for people to select. Even in the area of Gaming Linux has a great support in both 2D and 3D games. Linux also has a good support on new and old generation graphic cards to encourage gamers and people who love to work with animation and video graphics.

On the other hand getting support for Linux and other open-source software seems to be tougher for newbies which in reality is very easy but only when they adapt to getting support in the way they get. There are lot of forums run by various communities to get support. There are lot of commercially operating companies that provide support for organisations and enterprises that are seeking Linux support. People just need to go thru various websites, forums and blogs available for Linux and OSS (open-source software) both Free and commercial.

Direct Benefits of Linux for different category of people

Direct benefits for Desktop Users :

  1. They do not have to be a software pirate neither have to make huge investments of software licensing
  2. They get a dynamically fantastic desktop
  3. A huge set of desktop applications.
  4. Best support for almost all of their hardware devices on usb, serial etc. ports
  5. A huge set of Multimedia Applications
  6. Very Good support for Web cam and Audio/Video chat with gtalk, msn and skype is available
  7. Very good support for Internet applications like Web browser, email clients, chat clients, social site clients, etc. is available
  8. With A huge set of Games

Direct benefits for Software programmers :

  1. Software Developers can have a selection out of various programming platforms available in the world because almost all the programming platforms are supported by Linux.
  2. They get A great set of IDEs. Example Netbeans, Eclipse and many more.
  3. Very Important Point to note
  • Software applications created with Windows and its native programming support are all limited to windows users. So that means if you want to use such applications you will have to pay for the software and also for Windows. This means that if a windows software developer is charging at the rate of Rs. 5,000 Per user, then the user ultimately pays Rs. 15,000 per user, because he will have to buy a copy of windows for 10,000. But imagine if the software is made for OS like Linux they can rather charge more for their software say Rs. 8,000 people won’t mind as they are saving Rs. 7,000.

Direct benefits for Server Users :

  1. They do not have to pay heavy costs on server OS licensing.
  2. They get a Safe and Stable server environment.
  3. A huge set of server applications for Web Server, Email Server, File Server, Proxy Server, DNS and many more are easily available. While services for them are also eaisily available
  • Total Cost of Ownership is much lower if at all we count the deployment cost as it reduces downtime, licensing cost and maintenance.

Direct benefits for PC Gamers :

  1. A huge set of Free Open-Source Games is available at various sources
  2. A huge set of online game clients are available
  3. Good support for Graphics Card is available with Linux
  4. Open Source alternatives for some commercial games can be found using google

So it is time to finally change the questions in our mind for Linux and give it a try whole heartedly as the new question that comes is…..

Linux is ready but are we ready for Linux ?

Hi Guys, Today we are posting a different versions of Linux in Professional Mondays. There are all sort of different versions for Linux for you to consider. These versions of Linux are often referred to as flavors. Here are a few of the most popular flavors for you to consider when looking for Linux.

Ubuntu

Ubuntu is a great flavor to review if you are new to Linux. This works with a tutorial that can help you to make the transition from Windows to Linux a little easier to handle. It also includes support for most types of operating systems without any substantial problems involved. Ubuntu works very well with desktop applications.

Debian

Debian is another option to review. This flavor features tens of thousands of different modules and packages that can be supported on it. It also features support with all sorts of different software options. This is one of the smartest options to consider if you ever want to get Linux to work for your needs.

Fedora

Fedora is one of the most popular flavors to consider. Fedora is a type of Linux program that works with web server applications in mind. It is recommended for more advanced users who might have a better idea of what they are doing. This is especially if you have a larger site to work with.

OpenSUSE

OpenSUSE is a flavor that works with administrator tools in mind. It can also handle graphical interface creation processes. This is recommended if you are looking to build a vibrant website for business or marketing purposes.

Mint

The next option to review is Mint. Mint is a version of Linux that works with data management solutions in mind. It uses an interface that is somewhat similar to what works on Ubuntu. It is better suited to those who have businesses or other websites with special needs in mind.

Slackware

Slackware can also work for your Linux needs. This is a type of Linux system that is used to make it look and feel as close to Unix as possible. The biggest point abut Slackware is that it is amazingly stable and can work with ease on most types of computers and can be integrated among a variety of different servers that you might use.

A great thing about all of these Linux flavors is that you can find them with all sorts of convenient features in mind. You can find easily to handle wiki and forum pages for each flavor. Also, you can download different versions of each flavor if needed. This includes versions that might be considered obsolete but can still be useful for whatever it is your site has to work with.

Be sure to consider these Linux flavors when you are looking for a great Linux application for your computer. These Linux flavors all work with their own special features and can be appropriate for different types of users based on the features that they have to work with.

This Post is written by Gareth who is a tech enthusiast and an experienced SEO at Manuallinkbuilding and Outsourcing work with his firm.

 

Linux Command Line Made Easy

by Chaitanya Parekh on March 10, 2011 · 3 comments

Though the Graphical Interface in Linux now-a-days is getting better and better to become more and more mature, more of the flexibility in Linux over other Graphical Operating Systems is still more easily gained using Command-Line. Desktop users are generally annoyed or afraid (may be) of using command line for their purposes. But this article may help them to make Linux Command Line more easier.

Due to more flexibility offered by it, Command-Line, in Linux, is made available in different ways.

  1. In Current generation Linux we have access to command line in various ways. we can either open command line console or open a command line terminal being in Graphical console it self. lets see how
  2. In Linux there are different consoles running at different tty which can be accessed using Ctrl+Alt+F1………………..Ctrl+Alt+F12
  3. On most Linux Distributions including Ubuntu, Fedora, CentOS, Redhat, Suse, etc. Graphical console is by default available on 7th Console which means if we press Ctrl+Alt+F7 from any console we can get back to Default Graphical Console.

  1. In above example we can see tty3 that is 3rd console which can be invoked by pressing Ctrl+Alt+F3. By default tty1 to tty6 are command-Line consoles. we can log into command line console with any username and password that we use at graphical login screen. We can login with different users on different consoles.
  2. To access command-line from Graphical Console in any Gnome based Linux Distribution like Ubuntu, we can open Gnome Terminal from using menu which is generally available in Applications (Menu) → Accessories → Terminal. Or in any Linux Distribution we can press Alt+F2 to invoke Run Dialog box and type gnome-terminal and press enter to start command-line terminal in Graphical console.
  3. Those Command-Line Terminals are also known as pseudo terminals and we can open more than 1 pseudo terminals at a time. Those terminals are named pts1, pts2 subsequently.

 

There are several commands that can be used in Linux for different purposes but before that lets see how using command line can be made easy so that any user can use command-line very easily. For many people command-line on Linux becomes very complicated, especially when they need to write long commands and repeat those commands them at some point of time. Below we will see some shortcuts and you might also come across some commands that you are not aware about but you need not worry about that as we will discuss many commands in the due course of time.

 

Here are some shortcuts available in Linux Command-Line :

Tab Key : is used for different purposes. Pressing it for 1 time or twice have two different purposes to serve.

  • Tab key for completing the command
    • When we are typing any command we can just type starting letters of the command and press tab key to complete those commands. Now if there are more commands starting with same letters then pressing the Tab key twice we can get a list of all commands starting with the character that we have typed
    • See example as below : In below example I am trying to invoke firefox (web-browser) and I want to type firefox. But instead I will type fir and press tab key.

    • After pressing the Tab key you will see that firefox command is completed automatically.
  • Tab key for Listing all available commands starting with same letters
    • In the same way If I press f and then the tab key it will not do any thing but if I press Tab key twice it will display all the commands starting with f. We can short list by typing more and more initial letters of the command.

 

History command - using previously used commands

  • This command can be used to display last 1000 commands that we have issued till now.

  • In the screen below we can see the out-put of history with several commands listed. All of those commands are starting with a number which is command no.

  • These command nos. can be used to invoke specific command. Eg. if we invoke no. 1245 it will execute command ping google.com.

  • To invoke any previously used command we can write it starting with ! (exclamation) mark. Eg. !1245 with execute command no. 1245 that is ping google.com.

Ctrl+r – Command-line shortcut

  • Ctrl+r can be issued from command line this will help us to repeat any command that has been issued in past very easily.
  • For using it at command line press Ctrl+R
  • This will change your command prompt as below

  • Then start typing the letters of any word in the command that was issued previously. The command will be displayed at the command prompt.
    Here I am finding a command where I used “del”

  • The command displayed in above example is “route del default gw 192.168.5.1 which I previously used to delete default gateway.
  • At this stage if we want to find other command containing same letters just press Ctrl+r again and it will take to commands issued even more previously.
    Like in example below you may notice the change in IP address. This command was given even more previously than the command that was first displayed.

Alias – Defining shortcuts for long commands

  • Alias command can be used for creating shortcuts of long commands.
  • In example below we can see that a shortcut with name “delgw” is to be created for a long command like “route del default gw 192.168.5.1”. Press enter and continue the creation.

  • Now when I want to use a command “route del default gw 192.168.5.1” I can use delgw instead.
  • This way every command that makes command-line complicated can have a defined alias.
  • Note : Commands created with alias command are only for current session that means if you reboot your OS all those aliases created will be deleted.
    There is certainly a way out to make aliases permanent. We can add our commands to a file from where our system will execute all those alias commands whenever the system reboots.
  • The file that can hold your alias command for permanent use is available at /home/<username>/.bashrc
  • To edit this file we can issue following command
    • gedit /home/<username>/.bashrc
    • Note :
      • <username> here stands for current user with which you are logged in.
      • if you want to make permanent aliases for root user replace /home/<username> with /root. i.e. you will have to edit the file at /root/.bashrc
      • gedit is a text editor.
      • Between gedit and /home/<username>/.bashrc there should always be a space.
  • Example below shows how to edit /home/enjay/.bashrc

  • here enjay is the user in whose .bashrc I want to make permanent aliases

  • alias delgw=’route del default gw 192.168.5.1′ is the line added at the end of the file
  • Finally save the file and permanent alias will be activated at the next boot.

There are certainly other ways to make command-line easy especially for those who are new and afraid of Linux command-Line. If you have or find any more ideas to make command-line easy then you can suggest them in your comments.

Happy Migration

Enjoy

People use different proprietary software for cloning complete hard disk. Here is a free and open source software which very easily provides you the solution for creating clones or ghosts of hard disk partitions or entire hard disk.

Clonezilla can be easily used for cloning your hard disks and using them for another machine to boot or as a backup of your completely prepared system. Clonezilla offers two different ways of working. Number 1 it can create clone of any hard disk which can further be used in some other computer or Number 2 with clonezilla we can create a server with which multiple desktop deployment can be done using a server.

Here in this article we are going to discuss how clones are created on single disks which are futher used as a primary disk in some other computer. Server based multiple desktop deployment is out of scope as on this article. We may some other time discuss the topic.

So now lets get ready for cloning our existing hard disk. In this case we will not clone single partitions rather we will clone the entire hard disk.

Requirements :

Clonezilla Live CD image : Download it from here.

Second Hard Disk : of same capacity or more. (This will be the clone after completing cloning)

And of-course the tutorial that follows….

Scenario :

I have done this tutorial on a computer which has “Ubuntu 10.10 Linux” loaded with 4 of its partitions. All the Partitions I have on my disk are /boot, /, swap and /home. Since clonezilla operates from its own bootable media you can make clones of hard disks with any other operating system as well.

I have used Virtual Machine in which I have two hard disks of 8 GB each. First Hard disk is the Primary Master on which my original operating system is installed, I have updated the system and I have installed all required software. Now I want to clone this hard disk so that cloned hard disk can be used on some other desktop PC as a primary master. You can follow these steps for a real machine as well.

Step 1 :

Download Clonezilla live CD image from the location mentioned above. And burn the image on a CD which can be further used to boot the system that you want to create a clone of.

Step 2 :

Attach the second hard disk as Primary Slave to your computer. This disk will be used as the target disk for cloning.

Step 3 :

Prepare your system BIOS to boot from CD. Insert Clonezilla Live CD in the drive. Boot the system with Clonezilla Live CD. Which will lead you to the first screen of clonezilla as shown in Step 4.

Step 4 :

Follow the steps given below to operate in Clonezilla Operating System Environment.

Select first option to proceed the boot process

Clonezilla live (Default settings, VGA 800×600)

Select Default for language selection

en_US.UTF-8 English

on next screen proceed with

Don’t touch keymap

On next Screen select

Enter_shell Enter Command Line Prompt

and press enter to select [2] for entering the command line prompt

Note : here we can also directly proceed with Start_Clonezilla option. But since we need to check if both the hard disks are detected properly we are doing some extra steps.

On the next screen lets use fdisk to check all the detected disks and partitions. To do that type the following command and press enter.

sudo fdisk -l

The command will display the output as follows

Note : as per the screen shown below we have 2 hard disks available here. Sda and sdb. On sda we can see there are five partitions in all namely sda1, sda2, sda5, sda6 and sda7. Out of these 5 partitions one is the extended partitions so there are in all 4 main partitions as discussed earlier in this tutorial.

Now we can proceed further by starting clonezilla again. To do that we need to be root (user) and issue the command as follows

sudo su – (to enter in to root’s shell)

clonezilla (to once again start clonezilla)

on the first screen after re-starting clonezilla select

device-device work directly from a disk or partion to a disk or partition

Note : First option i.e. (device-image work with disks or partitions using images) can be used to create images of single partitions. eg. if we want to create images or /boot, /, swap or /home individually we can do it with this option. Those images can be written to partitions in future with help of restore option available in clonezilla. But for now select the second option.

On the next screen select

Beginner Beginner Mode : Accept the default options

As we want to make a copy of a local disk on another local disk, select first option

disk_to_local_disk local disk to local disk clone

Note : We can also select remote disks to create clone. Process of working with remote clones and single partitions (all other options) will be discussed in another post on some other day. Till than continue with first option.

On next screen you would be able to see both of the disks available. Select the target disk (the disk that we want to copy or create a ghost of).

First option

Note : First option is always Primary Master. Which in our case is the hard disk that we create a clone of.

After selecting the source disk clonezilla will identify all the partitions available on the disk and finally display the screen as shown below.

Press enter to proceed with selected option

After selecting the option as shown above, clonezilla goes in to the process of cloning Primary Master to Primary Slave.

It will warn you that all the partitions on source disk will be deleted

type y and press enter to continue

again it will give you a final warning

type y and press enter to continue

Then it will ask you clone boot loader or not

type y and press enter to continue

It will finally ask you to proceed for cloning complete hard disk

type y and press enter to continue

after pressing y and proceeding it will create clones of all partitions of primary master on primary slave disk. After cloning it will also reinstall grub to successfully boot with newly cloned disk.

Press enter to complete the process

And now since the process is completed

Press Enter key (this will bring you back to the root’s shell)

after getting on to the root’s command line prompt

Type init 0 command to shut down your machine (that is not o it is zero)

Detach your Primary slave (newly cloned hard disk)

Attach it to some other machine

And finally boot with your newly cloned hard disk

Have a happy migration.

Have fun

Your comments and feedback are welcome

People use different proprietary software for cloning complete hard disk. Here is a free and open source software which very easily provides you the solution for creating clones or ghosts of hard disk partitions or entire hard disk.

Clonezilla can be easily used for cloning your hard disks and using them for another machine to boot or as a backup of your completely prepared system. Clonezilla offers two different ways of working. Number 1 it can create clone of any hard disk which can further be used in some other computer or Number 2 with clonezilla we can create a server with which multiple desktop deployment can be done using a server.

Here in this article we are going to discuss how clones are created on single disks which are futher used as a primary disk in some other computer. Server based multiple desktop deployment is out of scope as on this article. We may some other time discuss the topic.

So now lets get ready for cloning our existing hard disk. In this case we will not clone single partitions rather we will clone the entire hard disk.

Requirements :

Clonezilla Live CD image : Download it from here.

Second Hard Disk : of same capacity or more. (This will be the clone after completing cloning)

And of-course the tutorial that follows….

Scenario :

I have done this tutorial on a computer which has “Ubuntu 10.10 Linux” loaded with 4 of its partitions. All the Partitions I have on my disk are /boot, /, swap and /home. Since clonezilla operates from its own bootable media you can make clones of hard disks with any other operating system as well.

I have used Virtual Machine in which I have two hard disks of 8 GB each. First Hard disk is the Primary Master on which my original operating system is installed, I have updated the system and I have installed all required software. Now I want to clone this hard disk so that cloned hard disk can be used on some other desktop PC as a primary master. You can follow these steps for a real machine as well.

Step 1 :

Download Clonezilla live CD image from the location mentioned above. And burn the image on a CD which can be further used to boot the system that you want to create a clone of.

Step 2 :

Attach the second hard disk as Primary Slave to your computer. This disk will be used as the target disk for cloning.

Step 3 :

Prepare your system BIOS to boot from CD. Insert Clonezilla Live CD in the drive. Boot the system with Clonezilla Live CD. Which will lead you to the first screen of clonezilla as shown in Step 4.

Step 4 :

Follow the steps given below to operate in Clonezilla Operating System Environment.

Select first option to proceed the boot process