sábado, 23 de agosto de 2014

Steps for installing Linux and Windows 8 with a multi boot manager.

Tested on a notebook  with the following characteristics:

MOTHERBOARD 

[DEBIAN] To see this info write in terminal:  
1. sudo apt-get install demidecode 
2. sudo demidecode --type baseboard

Manufacturer: Sony Corporation

Product Name: VAIO
                     
PROCESSOR 
[DEBIAN] To see this info write in terminal: 
1. cat /proc/cpuinfo

Manufacturer: GenuineIntel 

Model: Intel(R) Core(TM)2 Duo CPU P754  @ 2.13 Ghz  

MEMORY

[DEBIAN] To see this info write in terminal:
1. free

Installed: 4 GB RAM 

HARD DRIVE

[DEBIAN] To see this info write in terminal:
1. lshw -class disk 

Description: ATA Disk

Product: WDC WD3200BPVT-0
Vendor: Western Digital
Serial: WD-WXS1E62NUKZ7
Size: 298GiB (320GB)

LINUX DISTRIUTION NAME AND VERSION 

[DEBIAN] To see this info write in terminal:
1. cat /etc/*-release

DISTRIB_ID=LinuxMint [KDE]

DISTRIB_RELEASE=17
DISTRIB_CODENAME=qiana
DISTRIB_DESCRIPTION="Linux Mint 17 Qiana"

STEPS FOR INSTALLING WINDOWS 8 AND LINUX. 


Windows 8 Installation 

Instructions for installing Windows 8 are taken from the following source. All rights belong to: 
http://www.buildeasypc.com/sw/windows_8/install_windows_8.htm

1.  Install Windows 8 OS following the above steps


* with the windows 8 operating system already installed


2. Enter to Windows Disk Management 

* There are several ways to access. I will explain 2 only


Step 1 of 2

» Press Win button + R  write 'diskmgmt.msc' and press ENTER





Step 2 of 2


Open the "Control Panel" over:
» Press Win button + R  write 'control panel' and press ENTER  
» »  in Windows 7 System "Control Panel"
»»» Windows 7 Administrative "Administrative Tools"
» »»»  Windows 7 Computer "Computer Management"
»»»»» "Disk-Management"


* Disk-Manager looks like:


3. Select the hard disk [Single Partition] where it was installed the windows 8 operating system and press right click.

4. Click on Shrink Volume  



5. In the box where says 'Enter the amount of space to shrink in MB ' specify the size of the space you want to use for linux. 



* in this example I will use  29944 MBs for my unpartitioned space that will serve to install my distro of linux* Disk-Manager looks like:

6. Click Shrink

* Disk-Manager looks like:


7. Restart Windows 


Ubuntu Linux Installation 

8. Insert the DVD or memory with Linux

9. Boot into Ubuntu installation media. CD or USB stick

* There are 2 ways to install ubuntu.

a. Install ubuntu alongside Windows 8

In this case (a) select this option and follow the steps. 


b. Manual 

10. Select 'Something else'




11. Creating partition for swap.

Select free space and click +
select the following parameters:

Size: 512 MB
Type of new partition: Primary
Location for the new partition: Beginning of this space
Use as: Swap Area

Click 'OK'.



12. Creating partition / (root filesystem). 

Size: 20000 MB (*This is an Example. This size depends on the size of the hard drive)
Type of new partition: Logical
Location for the new partition: Beginning of this space
Use as: Ext4 journaling file system
Mount Point:



13. Creating partition /home.  

Size: 65368 MB 
Type of new partition: Logical
Location for the new partition: Beginning of this space
Use as: Ext4 reiserfs file system
Mount Point: /home 



13. Click 'Install Now' and follow the instructions. 

14. The system boots as follows:


15. Select the OS of your preference and press ENTER.


CONFIGURATION OF GRUB BOOTLOADER WITH GRUB-CUSTOMIZER

* GRUB CUSTOMIZER is a graphical settings manager for GRUB2 and BURG. With this program we can tell the system which OS you want to load by default.

To install and use this program follows these steps: 

16. Boot in the installed linux 

17. Open Terminal 

18. sudo add-apt-repository ppa:danielrichter2007/grub-customizer

19. sudo apt-get update

20. sudo apt-get install grub-customizer 

21. grub-customizer




List configuration: Allows you to change the position of the operating system on the boot menu. 




General settings:  Allows you to set the sequence of execution of the operating systems installed on the system.


Appearance settings:  Used to configure the appearance of boot loader.




Configure and enjoy the two operating systems!

jueves, 31 de julio de 2014

How to retrieve a Windows Vista / 7 / 8 boot with GRUB (Grand Unified Bootloader) defective

When we have a computer with 2 operating systems installed (Windows + Linux) with a multi-boot manager GRUB, we can present problems to remove linux and just stay with windows.


To resolve this problem follow these steps:

1- Insert the installation CD of the operating system installed on your computer

2- Press F12 to select the CD Rom as first boot device

3- Press any key on the menu says "press any key to boot from cd or dvd" to enter the installation CD/DVD

4- From the CD select Repair your computer

5- Click next on the language selection screen

6- Locate the option of entering the command line and press ENTER

7- Write in the command line :
                                                 a) bootrec /FixMbr
                                                 b) bootrec /FixBoot
                                                 c) bootrec /RebuildBcd
8- Restart the computer

9- Press F12 to select the CD Rom as first boot device

10-  From the CD select Repair your computer

11-  Locate the option  Automatic repair /  Startup repair  and press ENTER

12- Restart the computer

Note that the location of the command line and startup repair can vary depending on whether you use Windows Vista, 7 or 8.


EXAMPLE

WIndows 8.1 Pro    






For command line option: 


For automatic / startup repair option:



Now your computer will boot into windows automatically








        



viernes, 25 de julio de 2014

Steps to install the drivers of NVIDIA GeForce GTX 650 graphics card in Lubuntu & Xubuntu

Tested on a desktop pc with the following characteristics:

Motherboard: GIGABYTE GA970DS3P
Processor: AMD FX-4130 Quad-Core 3.8GHz Socket AM3+
RAM: 8GB


FOR LUBUNTU (driver version 340.24)  

Log into the operating system

0) Download the drivers file from NVIDIA website
http://www.nvidia.com/download/driverResults.aspx/76884/en-us  for x64 Operating System
http://www.nvidia.com/download/driverResults.aspx/76881/en-us for x32 Operating System

1) CTRL+ALT+F1

2) sudo apt-get install gcc 

3) sudo apt-get install make

4) sudo service lightdm stop

5) sudo init 3

* Join to the downloaded driver directory




6) sudo sh downloaded_file.run

7) sudo service lightdm start

8) sudo reboot


If the Lubuntu boot displays an error message at start-up follow these
steps to resolve a conflict of drivers:


1) sudo apt-add-repository ppa:ubuntu-x-swat/x-updates

2) sudo apt-get update

3) sudo apt-get dist-upgrade

4) sudo reboot


* After Reboot


5) CTRL+ALT+F1

6) sudo service lightdm stop

7) sudo init 3

* Join to the downloaded driver directory

8) sudo sh downloaded_file.run

9) sudo service lightdm start

10) sudo reboot


FOR XUBUNTU (driver version 304.117) 

Log into the operating system

1) CTRL - ALT + T

2) sudo apt-get purge xorg*

3) sudo apt-get install xorg

4) sudo apt-get install nvidia-current-updates

5) Reboot 

 
Done!