Easy installation sequence for installing 2 operating system between Windows and Linux is to install Windows first and Linux because Linux is the next in charge of installing the Multi Boot Menu in the MBR (Master Boot Record). Discussion on Windows and Linux installations I will not explain here since a lot of tutorials in a virtual world that already explained about it. What I want to discuss is what if there is damage to the windows and forcing us to reinstall our windows. Will have to reinstall Linux as well? Hohoho there is no problem that there is no way out: D This is the case of my own experience. Previously there were two operating systems that I use is Windows XP and Ubuntu 10:04.
One time my computer up to viruses, more precisely, my windows: P that forced me to reinstall. After I did reinstall my windows turned out to multi-boot menu to choose whether you want to go Ubuntu or Windows has been missing since the installation of Windows earlier. Ok follow these steps will we do to recover GRUB2 (multi boot menu):
Booting using your ubuntu live cd and go into terminal and run command
$ sudo fdisk –lSee where the ubuntu system partition you are! For example on my hard drive system, Ubuntu is available at
/dev/sda4Mount your ubuntu partition with the command
$ sudo mount/dev/sda4/mntMounting all the existing partition with the command
$ sudo mount-bind /dev/mnt/devCome into the system that we have had with the mount command
$ sudo chroot /mntAfter our position in the root then we will not need to run the next command with the sudo prefix command
If you want to make changes to parameters in GRUB, edit the file / etc / default / grub with the command
# nano /etc/default/grubRun update-grub to automatically generate configuration files
# update-grubThe latter is GRUB2 installation into the MBR (Master Boot Record) with the command
# grub-install /dev/sda
Once completed, restart your computer and see the menu you have returned GRUB2
* NB: Ubuntu is already using a version GRUB2 9:10 (Karmic Koala) upwards
0 comments:
Post a Comment
Don't forget to comment
Thank's