Kumpulan Game Mobile Device

Rabu, 26 Oktober 2011

How to fix Linux Booting Problem?

We often find Linux Booting error, beacause of several reasons. Distro installers are pretty good at identifying an existing Windows installation and setting up dual booting, but should you have to reinstall a spyware-riddled Windows install you'll find that your machine boots straight into Windows and that your Linux installation is gone! It's interesting, we have two operating system in one computer. What should we do if any booting problems are detected?

Don't panic: all Windows has done is overwrite the Grub bootloader with its own equivalent, removing your boot menu. All your data is still there – you just need to reload the bootloader configuration into the disk's master boot record (MBR). You'll need to boot from a Live CD to do this, this, then open a terminal and type:

#grub-install /dev/sda

This assumes you have everything installed on the first (or only) hard drive. Grub-install will usually make a good job of detecting a Grub installation and set things back to rights. If it doesn't, you'll have to do it manually, which is a lot easier than it sounds. Run sudo grub to enter the Grub shell. Then run

find /boot/grub/stage1

to determine which partition holds the Grub files. If Windows is on the first partition Grub is likely to be on the second, in which case this command will return something like (hd0,1). Now set Grub up with

root (hd0,1)
setup (hd0)
quit

The first command identifies the boot partition, the second writes the bootloader to the MBR and then you leave the Grub shell. Grub is only concerned with the location of /boot, so if you have a separate /boot partition, omit the /boot part from the find command.

For more solutions, please visit Here


Tidak ada komentar:

Posting Komentar

Leave your Comments here, please!

Gamez Mobile BlogTM Copyright © 2011 | Template created by O Pregador | Powered by Blogger