Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, July 22, 2012

Installing 64 bit OS inside 32 bit OS using Virtual BOX

One day i was trying to install Ubuntu 64-bit inside my windows XP 32-bit in virtual box but i found that with normal settings it was not getting install . I searched for the solution but i could not get proper solution at one place. So i thought to make one post about this.That is in front of you --->
Few Steps you need to follow -->

Notice: This settings and images are from LENOVO SL400 having intel core2 duo processor. Your settings may slightly differ from this. 

  • Does your processor supports 64-bit hardware virtualization or not, for that see your processor documentation. (see https://www.virtualbox.org/manual/ch03.html#intro-64bitguests ).
  • If it supports then go in bios setting and enable it by using following steps(Lenovo SL 400, it may vary in others):
      • Restart your PC, open bios setting by pressing F1 or F2.
      • Go to Security->Prevention execution -> disable.
      • Next go to CPU -> Intel(R) Virtualization Tech  -> enable.
      • Again go to Security -> Prevention execution -> enable .
      • Now restart your system and open Virtual box, look on the bottom if it's showing amd-v and vt-x is enabled then it's done if not then keep your system turned off for few minutes then restart it.
  • Now install your operating system in virtual box by selecting a 64-bit operating system for the particular VM.
 Few images to help you ->
Image 1: Check AMD-v & VT-x Settings.


Image 2: Select Proper version of OS(64 bit) ->



Image 3: Check that have you enabled your VT-x/ AMD-V or not??


Now follow the simple steps to install your virtual OS and enjoy it..

Sunday, July 15, 2012

Installing IDM in UBUNTU using WINE

I searched a lot for a download manager for Linux and also found many but no one could compete with IDM , especially with the speed and parallel downloading of a file. So for running IDM in Ubuntu i installed wine and inside that installed a newer version of IDM but it was not running and after searching, i found that it's a bug of wine for newer versions of IDM so i downloaded an old version of IDM and installed it and now it's working fine. How to do :

  • Install wine using command : sudo apt-get install wine
  • now download some old version of IDM(below 5.18) and open it with wine windows program loader
 now follow the general instructions and install it.

Tuesday, December 6, 2011

Installing VLC in BackTrack 5 R1


There  are only 4 easy steps to install VLC and run in BackTrack --->

Step 1. Open Terminal type -
                   apt-get install vlc

Step 2. Now Open VLC with hexedit -
                   hexedit /usr/bin/vlc

Step 3. Now press 'Tab' and search for 'geteuid' and replace that with 'getppid'

Step 4. Now press 'Ctrl+X' to save that file.

Now you can run VLC .

Wednesday, November 16, 2011

GRUB2 REINSTALLATION


Using Live CD :>>>

This is one of the simplest method for restoring a broken system's GRUB 2 files. The problem partition is located and mounted from the LiveCD. The files are then copied from the broken system's /boot/grub directory to the proper locations and MBR. There are many other methods also...
  1. Boot with the LiveCD and go to Try Now.
  2. Mount the partition with your Ubuntu installation.
    1. From the Places menu, select and click the partition containing your Ubuntu installation to mount it.
      • grub2.places.devices.png
      • If the partition isn't recognized, look for one of the appropriate size or label.
      • Once mounted, the user should see Ubuntu system directories such as /boot
  3. Open a terminal.
  4. Run the grub-setup -d command as described below. This will reinstall the GRUB 2 files on the mounted partition to the proper location and to the MBR of the designated device.
    1. Determine the mount point by referring to the location box in Places. Replace XXXX in the command with the UUID, or replace /media/XXXX with the correct location if the partition is not mounted in /media. The designation may be a UUID, or a label, if the user has created one.
    2. If the location window is not in the format shown, click on the icon to the left to change the presentation.
      • grub2.places.location.png
    3. When ready to copy the UUID/location, by highlighting it with the mouse. Paste it into the terminal.
    4. The device/drive is designated by sdX, with X being the device designation. sda is the first device, sdb is the second, etc. For most users the MBR should be installed to sda, the first drive on their system.
      sudo grub-setup -d /media/XXXX/boot/grub /dev/sda
      Example:
      sudo grub-setup -d /media/7848138a-41a0-4eba-8aed-d1b625ac8759/boot/grub /dev/sda
    5. If the user gets a "error: Cannot open /boot/grub/device.map" message, add the -m switch and path to the device.map to the command as follows:
      sudo grub-setup -d /media/XXXXX/boot/grub -m /media/XXXXX/boot/grub/device.map /dev/sda
      Example:
      sudo grub-setup -d /media/7848138a-41a0-4eba-8aed-d1b625ac8759/boot/grub -m /media/7848138a-41a0-4eba-8aed-d1b625ac8759/boot/grub/device.map /dev/sda
    6. Other switches are available for use with the grub-setup command. In a terminal, type grub-setup --help for a list of available options.
    7. You may find you get a repeated "error: Cannot open /boot/grub/device.map" message. If this happens try rebooting. The UUID method may actually work but throws an error message falsely. Using the label name does not seem to evoke the same repeated error message.
  5. Reboot