Upgrading Fedora - Rescue Mode

Posted in How To's by Shafkat Shahzad, M.Sc - Senior Technical Content Manager on September 19th, 2009

Welcome to the tutorial guide. The tutorial will provide you with guidance and instructions on rescue mode.

If you would like to know how to use Fedora Installation CD, to gain root user access then please:
-insert Fedora CD #1 into the CD-ROM and boot from it
linux rescue

If you would like to change root user or main user password if forgotten then please run following command:
# passwd root
-now, to change main user password, please type following command:
# passwd system_main_username

If you would like to change GRUB menu password if forgotten then please run following command:
grub
grub> md5crypt
Password: ****** (Fedora)
Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password)
grub> quit
su -c ‘cp /boot/grub/menu.lst /boot/grub/menu.lst_backup’
su -c ‘gedit /boot/grub/menu.lst’
-now, please find this line
..
password –md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/

-replace it with the following line
password –md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)
-finally save the edited file

If you would like to restore GRUB menu after Windows installation, then please run following command:
# su -c /sbin/grub-install /dev/hda’

(we assumed that /dev/hda is the location of /boot partition

If you are interested in adding Windows entry into GRUB menu, then please run following command:

su -c ‘cp /boot/grub/menu.lst /boot/grub/menu.lst_backup’
su -c ‘gedit /boot/grub/menu.lst’
(we assumed that /dev/hda1 is the location of Windows partition

-now, please append the following lines at the end of file
title Microsoft Windows
root (hd0,0)
savedefault
makeactive
chainloader +1
-finally save the edited file

I hope that you found this guide helpful.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

Leave a Comment