Blog Archive
About Me
- Pankaj Biswas
- By occupation I'm a web developer, currently running my own company Webspades Technologies Private Limited at Kolkata, India. This blog was not updated a long time - You can read my current blog at http://ipankaj.net
Friday, September 11, 2009
Linux Or Windows Rescue!
Hi!
Lets do something else!
Whenever we delete some operating system from our computer we face a major problem is that the other existing OS is not booting! :( This may happen in the case of Linux or Windows both! Actual case is, when we delete an OS from our PC it also deletes the Boot Loader (Incase of Linux) or the MBR (Master Boot Record) (In case of Windows)! So its clear that if we need to rescue the existing OS, we need to re-install the MBR or The Boot Loader!
So, Now if you have deleted or formatted Windows XP from your PC and you have an existing LINUX, so you need to re0install the boot loader or the GRUB! [I'm telling you about the case of Red Hat or Fedora type Linux!] So, for reinstalling GRUB, you need to boot your PC with the Linux's disk, which one is intalled on your PC! Then choose "LINUX RESCUE MODE" Now, Run this commands -
chroot /mnt/sysimage
grub-install /dev/sda
Use this two command one after another as mentioned!
Now, If you have deleted Linux from your PC permanently you need to repair MBR of Windows! So boot you pc with Win XP's Disk or the disk of your Windows Version's! Then go to Windows Repair option! Then use he command "fixmbr"! This will rescue your PC!!
;-)
Thanks!
Don't Forget To Leave A Comment!
Lets do something else!
Whenever we delete some operating system from our computer we face a major problem is that the other existing OS is not booting! :( This may happen in the case of Linux or Windows both! Actual case is, when we delete an OS from our PC it also deletes the Boot Loader (Incase of Linux) or the MBR (Master Boot Record) (In case of Windows)! So its clear that if we need to rescue the existing OS, we need to re-install the MBR or The Boot Loader!
So, Now if you have deleted or formatted Windows XP from your PC and you have an existing LINUX, so you need to re0install the boot loader or the GRUB! [I'm telling you about the case of Red Hat or Fedora type Linux!] So, for reinstalling GRUB, you need to boot your PC with the Linux's disk, which one is intalled on your PC! Then choose "LINUX RESCUE MODE" Now, Run this commands -
chroot /mnt/sysimage
grub-install /dev/sda
Use this two command one after another as mentioned!
Now, If you have deleted Linux from your PC permanently you need to repair MBR of Windows! So boot you pc with Win XP's Disk or the disk of your Windows Version's! Then go to Windows Repair option! Then use he command "fixmbr"! This will rescue your PC!!
;-)
Thanks!
Don't Forget To Leave A Comment!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment