5er Posted March 29, 2010 Report Share Posted March 29, 2010 Hello, I have recently reinstalled Windows XP and that bastard overran my grub bootloader as usual. I tried to reinstall grub from a live cd, but I get the following error: "Bad file or directory type" What I typed: grub> root (hd0,4) grub> setup(hd0) What I got: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1"exists... no Error 15: File not found find command does not find it either and I don't see any stage1 in /boot or /boot/grub with any file manager. /boot/grub only contains menu.lst.example or something like that. hd0,4 (sda5) is the / partition, but it is a logical partition. Could that be the problem? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 29, 2010 Report Share Posted March 29, 2010 No, the logical partition is not the problem. Did you chroot into all your partitions once you booted from the rescue CD? Quote Link to comment Share on other sites More sharing options...
5er Posted March 30, 2010 Author Report Share Posted March 30, 2010 I fixed the problem by using supergrub and booting into my Mandriva installation and then reinstalling the grub bootloader from there. Thanks for your reply anyway and sorry for wasting time. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 2, 2010 Report Share Posted April 2, 2010 Glad you got it sorted Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.