Spiga

Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

[ Tutorial ] Nandroid Backup and CWM (ClockWorkMod) Recovery for S2 i9100

This tutorial is for starters who are looking to dig deep into their android devices.
Well Nandroid is a safe bet, as if something goes wrong one can restore the state at which they created a backup (just like restore point in windows).

So the problem arrives when we reboot our system into recovery (because every where it is written that we can create our backup (nandroid backup) in recovery mod). Stock recovery does not provide the options of backup and restore.

Read more!

[ Tutorial ] Rooting S2 i9100 (int). Simple, Fast and shortest method.

It has been a little less than a year since I got my first android device and it is still in warranty, and I have started experimenting on it (did nandroid backup of stock incase anything goes wrong).

Well this post is about rooting the i9100 device without increasing Flash counter and showing Yellow Triangle and I did a lot of research before doing it (as 1st time is the scariest). But thanks to XDA community, it was made easier for me. It provided me many ways to root the Samsung's 1st famous android device.


Read more!

Sharing a folder between Windows host and linux guest

If you are a Linux user and have Linux installed in the Virtual Machine (Virtual Box) then you preferably want to share a folder between your windows host machine and the Linux guest machine. This tutorial will guide you how you can share a folder and your data between two systems.

First you need to have GuestAdditions installed on your guest machine.




1. Go to settings in VirtualBox.



2. Now select Shared Folders and click on the Add Shared Folder (or press Ins)



3. New window will open.



Select other and select the path for the folder to be shared with the linux guest machine. (let us say we have shared a folder named sharedhost and check the box auto mount in present.

All this has to be done in the host side.

4. Now start the Linux machine.

5. Open terminal, get root access and type:



#mkdir /mnt/sharedguest


sharedguest will be present in the mnt folder.

6. Now type:


#mount -t vboxsf sharedhost /mnt/sharedguest


This line you have to enter every time you login into the system. Else we can add this line to rc.local file so that it initializes on every restart.
For that type:


#gedit /etc/rc.local


now add

#mount -t vboxsf sharedhost /mnt/sharedguest


before

touch /var/lock/subsys/local


it should look like this



now restart the machine and check the mnt > sharedguest.

Read more!

Installing VBoxGuestAddition in Linux

These days i have been working on Linux and found some difficulties in installing VBoxGuestAdditions on the Linux guest machine. So this tutorial will help out the starters who has installed the linux on their virtual machines.


Few features i have noticed after installing the GuestAdditions are:


  • It enables the mouse pointer integeration in the virtual machine, ie, you do not have to click on the screen of the virtual machine to capture the mouse.

  • It enables the full-screen mode.

  • Using the following steps one can easily setup the GuestAdditions

    1.open the Linux VirtualMachine (Redhat Linux in my case)

    2.Go to devices and select Install Guest Additions.



    3. Now you will see a CD like folder on the desktop.



    4. Now open terminal from Applications > Accessories > Terminal ( Applications > System Tools > Terminal (in some linux ))



    5. Now type
    for Ubuntu type : sudo su - or sudo -i
    for Fedora and redhat type : su -


    6. Enter the root password.

    7. Type
    cd /media/VBOXADDITIONS_4.0.0_69151/


    VBOXADDITIONS_4.0.0_69151 is the name of folder in step 3

    8. Type for redhat : sh ./VBoxLinuxAdditions.run

    it will look like this :
    [root@localhost VBOXADDITIONS_4.0.0_69151]# sh ./VBoxLinuxAdditions.run


    Type for fedora : ./VBoxLinuxAdditions.run

    9. It will now install the GuestAdditions

    Verifying archive integrity... All good.
    Uncompressing VirtualBox 4.0.0 Guest Additions for Linux.........
    VirtualBox Guest Additions installer
    Your guest system does not seem to have sufficient OpenGL support to enable
    accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
    system). This Guest Additions feature will be disabled.


    Building the main Guest Additions module [ OK ]
    Building the shared folder support module [ OK ]
    Doing non-kernel setup of the Guest Additions [ OK ]
    You should restart your guest to make sure the new modules are actually used

    Installing the Window System drivers
    Installing X.Org 7.1 modules [ OK ]
    Setting up the Window System to use the Guest Additions [ OK ]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.

    Installing graphics libraries and desktop services componen[ OK ]
    [root@localhost VBOXADDITIONS_4.0.0_69151]#


    Exit the terminal and restart the system to see the changes.

    Read more!

    Red Hat Enterprise Linux 5.3 Released

    Red Hat has announced the release of Red Hat Enterprise Linux 5.3.

    The company has posted details about the latest version of their Linux-based operating system, noting that the latest version has been delivered to customers with a Red Hat subscription, via Red Hat Network.

    Updated features, provided to customers through subscription model, deliver enhanced virtualization scalability, OpenJDK functionality and Intel Nehalem processor support to enable customers to run the most demanding workloads on more affordable platforms


    Red Hat Enterprise Linux 5.3 has many improvements over previous version, which include:

    -- Virtualization enhancements: The number of physical CPUs supported has been increased to 126, whilst the maximum memory supported has been increased to 1TB.

    -- Improved power management: Red Hat Enterprise Linux 5.3 has improved handling of low-level power management sleep states, which is an important feature as "green computing" is becoming very popular.

    -- Security: Red Hat Enterprise Linux 5.3 has support for hard drive encryption, very important for today's laptops, but also important for desktop computers and servers.


    Sources: 1 2 3

    Read more!