Jump to content

Reinstall grub [solved]

Recommended Posts

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

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

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...