How to dual boot Windows 7 and Ubuntu 12.04 on Lenovo G480
Tech-Today

How to dual boot Windows 7 and Ubuntu 12.04 on Lenovo G480


Finally after trying out several configurations that didn't work I am now able to successfully boot a Windows 7 and Ubuntu 12.04 OS on a Lenove G480 laptop.

First here's what didn't work:

1.) easyBCD doesn't work, Windows 7 will just boot as default.
->http://thpc.info/dual/win7/dualboot_win7+ubuntu1204_bcd_on_win7.html

2.) The process wherein you need to copy linux configuration on c: drive of Windows and edit boot.init.

What worked for me:
1.) Install Windows 7.
I have 500 GB (sda) and I divided it into 4 partitions:
sda1->Reserved partition
sda2->NTFS, Windows 7 partition
sda3->ext4, Linux partition
sda4->NTFS, Another logical extension for back up files

2.) Install Ubuntu 12.04.
->Follow the link in what didn't worked #1.
 Things you should take note, I install Ubuntu in my ext4 partition and the boot loader in the main drive: sda without any number.

3.)  Now when you reboot your computer you will notice that grub2 loader from Ubuntu is not loading. Why? Because Windows 7 has overriden it and we have to reconfigure it in the main hard drive for it to work again.

3.1) You need to create a bootable Ubuntu CD or in my case a bootable USB drive:
->http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

3.2) Setup your BIOS to boot from USB or normally you can press F12 to select the drive to boot.

3.3) Once booted in USB, click try Ubuntu (without installing, because we already did earlier).

3.4) Execute the following commands in terminal:

//update Ubuntu
>sudo apt-get update

//list the partitions that we have, as I stated earlier I have an ext4 file system in sda3
>sudo fdisk -l

//create a folder where we can mount the sda3 drive
>sudo mkdir /media/boot

//mount the drive
>sudo mount /dev/sda3 /media/boot

//install grub (note without 3 suffix in sda)
//just disregard the error message and take note of --force option (we need this)
>sudo grub-install --root-directory=/mnt/boot /dev/sda --force

//update
>sudo update-grub

If you want to know more about grub2 loader, look at this link: http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:Cannot_Find_A_Device_For_boot/grub




- Install And Configure Mariadb On Ubuntu
I. Installation In your terminal execute the following commands: sudo apt-get install software-properties-common sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 sudo add-apt-repository 'deb [arch=amd64] http://mirror.zol.co.zw/mariadb/repo/10.3/ubuntu...

- How To Enable Wireless Lan In Ubuntu 11.10
This page contains a set of bash commands that will enable a wireless interface on ubuntu 11.10. List all network interfaces with wireless extensions sudo iwconfig Enable wlan0 interface sudo ip link set wlan0 up Scan for available access point sudo iwlist...

- How To Install Jdk 1.6 Update 32 On Ubuntu 11.10
Currently Oracle prohibit the community from adding java to the linux repositories. So it needed to be manually download from oracle website and installed. Java can be downloaded from: From: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/...

- How To Start/stop An Application On Boot On Ubuntu Like Services.msc In Windows
There's an easy way now to configure what application runs on ubuntu's startup like services.msc in windows. Rather than adding/modify some configuration, we can install a simple GUI that can do the job. sudo apt-get update sudo apt-get install...

- One Or More Files From The Emulator For Windows Ce Installation Is Missing
Deployment of a Pocket PC application on a desktop emulator. The problem is addressed by this site. http://support.microsoft.com/kb/891667 Basically, you have to edit the boot.in, make sure you have a line like this: multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft...



Tech-Today








.