5er Posted March 29, 2010 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] Link to comment Share on other sites More sharing options...
ianw1974 Posted March 29, 2010 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? Link to comment Share on other sites More sharing options...
5er Posted March 30, 2010 Author 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. Link to comment Share on other sites More sharing options...
ianw1974 Posted April 2, 2010 Share Posted April 2, 2010 Glad you got it sorted Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now