Thursday, 6 November 2014

HOW TO CHANGE GRUB BACKGROUND IMAGE

GRUB is abbreviation of GNU GRand Unified Bootloader. GRUB is a program by GNU that let the user choose the operating system if there are multiple operating systems installed on a single system. So if you have installed ubuntu or other distribution of linux then you must have seen the GRUB screen. On ubuntu, usually it is a purple colored screen. If you got bored from that simple, old purple background or you want to impress your friends, then read on. So in this post, I am telling you about changing the background image of GRUB.
#STEP 1
Its better to paste the image first in this folder using terminal:
sudo su
cd /usr/share
mkdir image
cp <---your image path like /home/navi/Desktop/ubuntu.jpg---> image/ubuntu.jpg
1
You can see the above screenshot. In this I have image in my /usr/share/image folder and the image is ubuntu.jpg . Firstly, my image ubuntu.jpg was in /home/navi/Desktop folder. Then I copied it to image folder in /usr/share.

#STEP 2 (Using Command-line)
In terminal type:
sudo su
Then goto the directory:
cd /etc/default
Then open the file “grub” using any editor. You may use vim, nano, gedit. So just change nano by any other:
nano grub
Then type the following command with absolute path of your image:
GRUB_BACKGROUND="/usr/share/image/ubuntu.jpg
2

#STEP 3
Then save the file.
In terminal type following command to update GRUB for the changes to take place:
update-grub
3You will see the above output.
You can reboot now and skip next steps if you don’t want to change the text colors.
#To change the text color and highlight color of GRUB
In terminal type:
gksu gedit /etc/grub.d/05_debian_theme
Then locate:
if [ -z "${2}" ] && [ -z "${3}" ]; then
                echo "  true"
        fi
Or just type Ctrl +f to find it write in it :
if [ -z or simply ‘z’.
Then replace the above paragraph with this one:
if [ -z "${2}" ] && [ -z "${3}" ]; then
        echo "  true"
        echo "  set color_highlight=red/green"
        echo "  set color_normal=light-cyan/black"
    fi
Then save the file.
In terminal type following command to update GRUB for the changes to take place:
update-grub
Then reboot the system.
grub background
Change the color accordingly or choose from the below list:
black, blue, brown, cyan, dark-gray, green, light-cyan, light-blue, light-green, light-gray, light-magenta, light-red, magenta, red, white, yellow
Read more ...

Wednesday, 5 November 2014

How To Install Linux If It Is Not showing The Partitions



Do follow all procedures needed to install ubuntu such as back up data and should have empty space or unallocated space to install ubuntu.
The Following Method SHow You To Install(Dual Boot) Ubuntu,If it is not showing you the partitions ie only showing whole hard disk as free space.
1.Boot your ubuntu live cd or usb.
2.Click on try ubuntu without installation.
3.Now Open terminal and type sudo fixparts /sda/dev. Press Enter.
4.Then type ? for help
5.Now it shows you the commands,press p to print the partition table.
6.You will see the all partions now.IF it shows the all partitions then press w to write the partitions.Press enter.
7.Once the partions are wrote go to install ubuntu.
8.Choose the something else option.
9.There you will see your partitions.as 
10.Click on free storage space and make a partition known as root (/)
11.GIve space accordingly to this partition.
12.Make another partition for swap area,give space to it.
13.install ubuntu in the root partition.
14.Finish installation and reboot.

Now if after rebooting it show the dual boot option its fine if it boot directly to ubuntu then boot from windows8 live cd and click on advanced options then open command prompt type following commands in command prompt
1.bootrec /fixmbr then enter
2.bootrec /fixboot press enter
3.bootrec /scanos enter
4.bootrec /rebuildbcd press enter if it further asks press y nad enter done.
5.Reboot
NOW if it shows only windows or boot into windows then go to ubuntu by live cd oen terminal then type following commands
1.sudo mount /dev/sda5/mnt
sda5 is location where ubuntu is installed it may be different on your computer.so find.
2.sudo grub-install /dev/sda –root-directory=/mnt
This install grub
Now type sudo update-grub
Reboot Finished.NOw you will see both the options.
This works 100% i also have the same problem and now i have dual boot options.I strongly recommend to back up data.
Comment if you still facing problem
Read more ...