Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Windows overwrote my Bootsector. How can I reinstall Grub?

0
Posted

Windows overwrote my Bootsector. How can I reinstall Grub?

0

We assume there are 2 harddiscs in the PC: windows is installed on the first harddisc, and KANOTIX is installed on a partition on the second hd, e.g. on hdb5. Now boot the Live-CD: Open a Terminal and become root with $ sudo root. Mount the partition where Kanotix is installed (in our example hdb5) # mount /media/hdb5 Now rewrite Grub to MBR: # grub-install –recheck –no-floppy –root-directory=/media/hdb5 /dev/hda (for KANOTIX’s version 2005-03 or older use mnt instead of media) That’s it!

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123