From Fedora Project Wiki
How to Reset Boot-loader Password
This document provides a method for resetting boot-loader (GRUB) password in Fedora.
Method-1
* Boot from Fedora CD or DVD (or any other Linux Live or Rescue CD). * * * Open a Terminal (or Konsole or a Shell)
#mkdir /media/abc #mount -t ext3 /dev/sda2 /media/abc
* Open the file /media/abc/grub/grub.conf in a text editor like 'gedit' or 'kate' * Delete the line that goes like 'password -md5 blah...blah' * Save file
Method-2
* If you have the Super Grub Disk, then boot your PC from that. * Let it install GRUB to the MBR (Master Boot Record). * Reboot
If your PC cannot boot after this operation, then follow Method-1 or Method-3