How to Migrate From Home windows to Linux

Introduction

As most people today do,when I began using Linux, I made independent partitions for Linux and utilised Lilo or Grub to boot either into either Windows or Linux, according to the diverse job requirements.

I ordinarily employed my laptop computer Laptop for the duration of the day in a company that utilised Home windows apps in a Windows dependent LAN and as a result I ordinarily had to boot in Home windows through the day to operate with my colleagues while at home I would boot largely into Linux. This technique has a few disadvantages as follows:

My do the job e-mails were in Microsoft Outlook and I experienced to boot below Windows to entry them.
I applied KMail (and afterwards Mozilla Thunderbird) for my personalized e-mails and I experienced to boot below Linux to access them.
I could access Window folders from Linux and duplicate facts from Home windows, but I could not entry any Linux listing from Windows.
I attained the summary that there really should have been a improved way to use my Laptop and I appeared for a remedy that would enable to access both of those Linux and Home windows purposes without rebooting.

I investigated some of the out there goods. I found that the wine or CodeWeavers Crossover supported most widespread Windows programs, but some other ones would not operate. VMWare looked appealing, but I chosen to use till just lately Win4Lin (originally developed by Netraverse to assist only Windows ninety five, ninety eight or ME and afterwards upgraded by Virtual Bridges to aid also Home windows 2000 and Home windows XP) but this product is no longer upgraded and supported,

I experienced to obtain a substitution and eventually determined to put in Virtual BOx, a virtualization system originally made by Solar Micro Devices and later on supported by Oracle, immediately after its acquisition of Sunshine.

Some superior pros that I identified in Virtual Box are the pursuing:

VirtualBox 3 is a desktop digital device application employing a “Type 2” hypervisor that needs a compatible host working process (Linux, Windows, Macintosh, or OpenSolaris) and computer components based on x86 or AMD64/Intel64 to perform
The installation of Virtual Box is pretty straightforward, but there are a handful of challenges that I will describe afterwards.
You can easily install lots of different Running methods and the effectiveness is really excellent. You can read a listing of the supported Running Devices at virtualbox.org/
Producing a VM is rapid and effortless, thanks to a VM development wizard that requires you stage-by-phase as a result of creating your guest VM.
Setting up Virtual Box
Virtual Box can be downloaded from virtualbox.org, but I did not have to obtain it because the application is bundled with my Linux distribution (OpenSuSE 11.3).

You will find plenty of documentation at theVirtualBox.org Technological Documentation web page.

The installation is rather uncomplicated, but you need to bear in mind to manually increase the buyers who will obtain Virtual Box to the unique consumer group vboxusers. This can very easily be done in OpenSuSe by utilizing the protection and buyers possibility of Yast.

Making use of Home windows beneath Virtual Box
I installed underneath Virtual Box only Windows XP mainly because my most important purpose was to generate an built-in Desktop setting exactly where I could conveniently accessibility equally Linux and Windows programs

One particular significant necessity for a good integration is to have the likelihood to obtain from Windows also Linux directories due to the fact this allows to transfer information amongst the two environments.

However this is not really simple to realize. Digital Box enables to declare Shared Folders which can be accessed from both of those Linux (host working process) and Home windows (guest operating programs). I declared my Linux household directory as a shared folder, but when I started out Windows the shared folder was not noticeable in the explorer. This problem and its remedy will be much better defined in a different level.

The primary advantages of setting up Home windows below virtual box are the next:

The Virtual Box Home windows set up is absolutely significantly superior built-in with Linux than a indigenous Windows installation and you will have at your disposal the electrical power of Linux and Home windows programs with out any will need to reboot. For more information on windows 10 activation key visit our webpage.

Windows under Digital Box provides bigger virus security than a stand-by yourself Home windows set up. You can conveniently save your Windows directory as a tar archive and quite a few viruses will not have any outcome
There is no Windows boot sector and thus boot sector or other boot time viruses are ineffective.
Virtual Box installs Windows information in subdirectories of the host Linux filesystem and thus FAT32 or VFAT connected viruses are ineffective.
Executable documents and macro viruses can continue to attack, but will not have an impact on the Linux method until you transfer to the host filesystem an infected file. To lessen the threats, you may possibly make a decision to declare a listing as a shared folders only when necessary
Digital box Limitations and Peculiarities
Virtual box does not guidance copy and paste between the Linux and Windows environments.

When you simply click the mouse in the Windows screen, the system captures the mouse in Windows and it will not transfer outdoors of the Windows monitor. To use the mouse outside the house, you need to have to press a key to n-capture it.

Solution of the Shared Folder accessibility trouble
I introduced the problem right before and I observed it quite irritating since it is a critical limitation to the integration between Linux and Home windows. I was ready to uncover a alternative in the Ubuntu Boards. I summarize the steps desired to remedy the challenge under:

Get started up Digital box and then commence up Windows xp
Go to the major panel of the Virtual Box and simply click Products–>Install Visitor Editions
Obtain and put in the Guest Editions. This will trigger a Home windows reboot.
Set up your shared folders in digital box. For example declare share folder dwelling/documents
Start off up Windows, go to Commence–>Run, enter cmd and press
once in the dos console, style internet use t: vboxsvrdocuments. See that you really should set in only the past folder title on the end of the command for illustration if you picked a folder underneath dwelling/mario1/documents the command would be internet use t: vboxsvrdocuments
If you search in the Windows explorer, you will see the new t travel as a shared folder and you will be ready to access its content material.
Eradicating the authentic Window partition
One negative stage of getting equally an first Home windows partition and the guest Home windows set up is the waste of place (for instance I experienced MS Place of work programs put in on each partitions). This setup could offer you greater safety, in circumstance of problems to possibly the Home windows or Linux set up, but, at some point, I decided that I could use better the disk house and get the job done with no double booting with Linux and Home windows underneath Home windows.

To avoid dropping beneficial data, I performed next functions:

I discovered the Outlook mail bins by using the Windows Come across choice with “*.pst” and copied them to the Windows environment.
I discovered the Outlook Express maild containers by making use of the Home windows Discover option with “*.dbx” and copied them to the Home windows natural environment.
I identified my Eudora mail packing containers (employed for my private mail) by utilizing the Windows Locate solution with “*.mbx” and copied them to the Windows environment.
I discovered the ‘Favorites’ folders made use of by Online Explorer and I copied it and its sub-folders to the Windows ecosystem.
I copied the ‘My Documents’ folder and all other folders that I used in my Home windows setting
Making the higher than copies in the Digital Box setting is relatively uncomplicated, because Linux can entry the mnt directory. You can mount the unique Home windows partition in the Linux /mnt listing by applying a ommand such as:

$sudo mount /dev/sdb3 /media/windows -t vfat -o umask=000

As soon as the partition is mounted, you can declare mnt as a shared folder and entry it in the Virtual Box Windows session..

The moment I was contented that all crucial knowledge existed in the Home windows setting, I made the decision to reformat the Home windows partition and copy my Linux /residence listing, that was bundled in the main root hierarchy, to a different partition. This exercise is explained in depth underneath.

Using the freed partition for Linux, A great description of how to move /household to a unique partition can be found in a fantastic tutorial by Daniel Robbins at IBM DeveloperWorks

The key actions are as next:

Build a filesystem in the new partition by applying a command these kinds of as mkfs /dev/???
Mount the new filesystem in /mnt with a command such as mount /dev/??? /mnt/newhome
Fall to one user method (init one)
Modify to the latest house directory and enter a copy command this sort of as cp -ax * /mnt/newhome. The ax option results in cp to duplicate in recursive mode by preserving all file attributes.
Rename the outdated /residence to /property.aged by employing the command mv /dwelling /household.old and mount the new a person with mount /dev/??? /household.
When you are guaranteed that every little thing functions appropriately, you can get rid of the /home.old directory.
Conclusions
I imagine that the strategy explained over will allow an best use of the two Linux and Windows sources.
It is frequently difficult to use only Linux, due to the fact usually men and women want to work in Windows based mostly LANs, interact with other Windows people or just simply because just one is too lazy to understand new programs as an alternative of people usually made use of in a Home windows ecosystem.
A double boot method is inconvenient to use. An built-in resolution like that described above allows a substantially more satisfactory usage of your laptop or computer assets and time.

Leave a Reply

Your email address will not be published. Required fields are marked *