Skip to main content

Posts

Showing posts from July 20, 2010

How to fix grub loader when its not loading at the boot

When you installed or restore a Microsoft Windows after the Linux installation you won't see the grub loader is loading at the boot. This is not a error of grub or Linux. But you couldn't load Linux at this situation. There are few ways of fixing this issue. One way is using super grub disk. Here I will tell you an another way of fixing this issue. You just have to boot using any type of Linux CD/DVD Now Open the terminal and type sudo grub and type the password to enter the kernel mode. Now you have to find out few things. First find the hd number of the hard disk. This is normally zero since we are using one hard disk only. But if we are using more of them we have to find out the hd number of the hard disk. Then find the sd number of the partition which contains grub. If you are not partitioned a separate /boot partition at the Linux installation this is same as the

Customize your grub loader by just editing a file

You can find a file called menu.lst in the path /boot/grub. By editing this file you can customize your Grub loader easily. First we can set the time out amount of the grub. Go to Section ## timeout sec and set timeout value to an amount of seconds as you like. Then you can Customize the view by changing the colors. It is under # Pretty colors. Then comes the most important thing of the Grub menu list. Find out the kernel list in the File. Normally it is in the bottom. Sample section for one kernel is given below. title        Linux Mint 7 Gloria, kernel 2.6.28-16-generic root       faaab6f9-539b-4f1a-82fc-b5a18887d28d kernel    /vmlinuz-2.6.28-16-generic root=UUID=6a2a464d-bf70-4b4a-8c8e-8dad3ccafe2c ro quiet splash initrd      /initrd.img-2.6.28-16-generic quiet You can always change the title as you wish. root is the UUID of the boot partition. If u don't have a separate boot partition then it is same as the partition con