5er 0 Report post 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 Share this post Link to post Share on other sites
ianw1974 11 Report post 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 Share this post Link to post Share on other sites
5er 0 Report post 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 Share this post Link to post Share on other sites
ianw1974 11 Report post Posted April 2, 2010 Glad you got it sorted Quote Share this post Link to post Share on other sites