Senin, 07 Mei 2012

Fix Linux Boot Loader

Problem often occurs when a user re-install Microsoft windows, after windows OS install was completed in linux previously installed boot loader is not detected by windows, in other words the grub loader (grub boot loader is often used popular linux distro) affected by the windows boot loader. It is very common among my friends which a newbie or still try to use linux. These problems are quite confusing to the point that one of my friends are willing to call me at midnight in order to overcome this problem. Actually solve the problem one is quite easy and simple, just capitalize the linux live cd. In this paper I use ubuntu live cd and live cd linux mint.

  1. First booting linux via live cd, restart / turn on the computer, insert the CD into the disk drive, and change the bios settings to boot first via cd / dvd rom.
  2. Having made it into the linux GUI display, open a terminal, and run the command: sudo mkdir /mnt/recover_grub ;sudo fdisk-l press enter, it will show information about the disk and its partitions installed in it  
  3.  based on the information shown, mount the root partition recover linux grub loader will in its. This stage is necessary for request help from people who proficient in linux. To check whether the partition is a linux partition, can be tried with mount partition one by one. Method for mounting a partition is to run the command: sudo mount [linux partition] [folder mount point] for example: sudo mount / dev/sda2 / mnt / recover_grub
  4. Start the installation process grub after the linux partition is mounted in a predetermined folder, run the command: sudo grub-install - root-directory = [folder mounnt point] [install device] for example: sudo grub-install - root-directory = / mnt / recover_grub / dev / sda
In addition to using the live cd, you can also use a flash disk that is installed live cd.
by: alvin  

Tidak ada komentar:

Posting Komentar