View Full Version : HELP: Lost Grub Linux Booter
kevingpo
11-06-2005, 04:26 PM
I used knoppix-install to install Knoppix on my machine. Then I reinstalled Windows XP and it overrided my Knoppix grub loader. How can I restore my grub loader?
kevingpo
11-06-2005, 04:47 PM
It's not easy as that, since Knoppix uses Debian, and it has grub set up totally differently.
I used to be able to boot up RedHat/Fedora rescue CD on a RedHat/Fedora system, then typing grub-install /dev/hda and woilia! it's done.
But this doesn't work on Knoppix/Debian...
kevingpo
11-06-2005, 04:48 PM
It's not easy as that, since Knoppix uses Debian, and it has grub set up totally differently.
I used to be able to boot up RedHat/Fedora rescue CD on a RedHat/Fedora system, then typing grub-install /dev/hda and woilia! it's done.
But this doesn't work on Knoppix/Debian...
UnderScore
11-06-2005, 09:21 PM
I assume that your C: drive is partition hda1 & your Linux install partition is hda2 is using the ext3fs filesystem.
Boot the up Knoppix & when it is has completed loading the KDE desktop, then in a konsole window command prompt, mount the hda2 partition.
sudo mount -t ext3 /dev/hda2 /mnt/hda2
We should probably make sure the grub boot menu.lst file exists.
ls -l /mnt/hda2/boot/grub/menu.lst
You will chroot into the /mnt/hda2.
sudo chroot /mnt/hda2/ /bin/bash
If that is successful then then run grub-install & apply grub to the MBR.
grub-installer /dev/hda
If that is successful, type exit:
exit
Then unmount the /mnt/hda2.
sudo umount /mnt/hda2
Then reboot knoppix via the GUI or with the command:
sudo init 6
if you have any problems with this, then please leave detailed info & questions.
I hope this helps.
James
kevingpo
11-06-2005, 11:25 PM
Thanks man.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.