Hi
If anybody can add the steps to reset if the boot loader is password protected as well, feel free to do so.
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
Rahul
Rahul Sundaram wrote:
Hi
If anybody can add the steps to reset if the boot loader is password protected as well, feel free to do so.
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
Rahul
It needs to be fleshed out, but for a password protested boot loader, you can do it as long as you can boot from a CD/DVD. Boot the install media in the rescue mode, chroot to the mounted root file system, and run passwd to change the root password. (You can probably grab most of the text from an explanation on how to re-install Grub.)
I am not sure how the rescue mode handles an encrypted file system. Will it mount one if you supply the password?
Mikkel
Mikkel L. Ellertson wrote:
Rahul Sundaram wrote:
Hi
If anybody can add the steps to reset if the boot loader is password protected as well, feel free to do so.
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
Rahul
It needs to be fleshed out, but for a password protested boot loader, you can do it as long as you can boot from a CD/DVD. Boot the install media in the rescue mode, chroot to the mounted root file system, and run passwd to change the root password. (You can probably grab most of the text from an explanation on how to re-install Grub.)
I am not sure how the rescue mode handles an encrypted file system. Will it mount one if you supply the password?
If you want to help, do test and document the method that works.
Rahul
I have the steps, an old one, can someone verify if it's still applicable. Sorry I don't have a test system to try it out:
1. Using an Install CD, put into the CD drive and boot from it 2. At the "boot:" prompt type "linux single" 3. Now you need to mount the partition where your grub configuration file is stored. From the "# " prompt type "fdisk -l" and from the "Device" column the line that have an asterisk is your boot partition where grub is located 4. Mount your partition "mount /dev/sda1 /mnt" (assuming /dev/sda1 is the device that has the asterisk) 5. Afterwards do: cd /mnt/boot/grub vi grub.conf 6. Find the password line and remove it 6. Save the file then do: sync; sync cd / umount /mnt reboot
On Sun, Mar 29, 2009 at 10:18 PM, Rahul Sundaram sundaram@fedoraproject.org wrote:
Mikkel L. Ellertson wrote:
Rahul Sundaram wrote:
Hi
If anybody can add the steps to reset if the boot loader is password protected as well, feel free to do so.
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
Rahul
It needs to be fleshed out, but for a password protested boot loader, you can do it as long as you can boot from a CD/DVD. Boot the install media in the rescue mode, chroot to the mounted root file system, and run passwd to change the root password. (You can probably grab most of the text from an explanation on how to re-install Grub.)
I am not sure how the rescue mode handles an encrypted file system. Will it mount one if you supply the password?
If you want to help, do test and document the method that works.
Rahul
-- fedora-docs-list mailing list fedora-docs-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list
Rino Mardo wrote:
I have the steps, an old one, can someone verify if it's still applicable. Sorry I don't have a test system to try it out
Changed significantly and added to
https://fedoraproject.org/wiki/Reset_Bootloader_Password
Thanks
Rahul
Rahul Sundaram wrote:
Mikkel L. Ellertson wrote:
Rahul Sundaram wrote:
Hi
If anybody can add the steps to reset if the boot loader is password protected as well, feel free to do so.
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
Rahul
It needs to be fleshed out, but for a password protested boot loader, you can do it as long as you can boot from a CD/DVD. Boot the install media in the rescue mode, chroot to the mounted root file system, and run passwd to change the root password. (You can probably grab most of the text from an explanation on how to re-install Grub.)
I am not sure how the rescue mode handles an encrypted file system. Will it mount one if you supply the password?
If you want to help, do test and document the method that works.
Rahul
Well, I can not edit it directly, but here is the text for an un-encrypted file system. I hope to have time to create a virtual machine with an encrypted file system sometime this week.
============================================================
Boot the install CD/DVD Select "Rescue installed system" Answer the prompts for language and keyboard. Starting the network is optional and probably not needed. Let the rescue mode mount your file systems in the r/w mode. Hit enter to get the shell prompt.
sh-3.2# chroot /mnt/sysimage (Change to your disk file system.) sh-3.2# passwd (Change the root password.) sh-3.2# exit (Exit the chroot environment.) sh-3.2# exit (Exit the rescue mode.)
The system will now unmount the file systems and reboot.
============================================================
Mikkel
Mikkel L. Ellertson wrote:
Well, I can not edit it directly, but here is the text for an un-encrypted file system. I hope to have time to create a virtual machine with an encrypted file system sometime this week.
Added to
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
If you find the steps to recover from a encrypted hard disk, let me know. IIRC, the rescue mode handles it very well. Thanks
Rahul
Rahul Sundaram wrote:
Mikkel L. Ellertson wrote:
Well, I can not edit it directly, but here is the text for an un-encrypted file system. I hope to have time to create a virtual machine with an encrypted file system sometime this week.
Added to
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
If you find the steps to recover from a encrypted hard disk, let me know. IIRC, the rescue mode handles it very well. Thanks
Rahul
I am sorry it took so long to get back to you. The only difference with an encrypted partition is that it asks you for the pass phrase after it asks you if you want to mount the file systems. If you have more then one encrypted partition, you have the option of checking the box indicating that it is the global pass phrase, or entering a pass phrase for each encrypted partition.
Mikkel PS - I like the updated directions.
On 04/18/2009 07:34 AM, Mikkel L. Ellertson wrote:
I am sorry it took so long to get back to you. The only difference with an encrypted partition is that it asks you for the pass phrase after it asks you if you want to mount the file systems. If you have more then one encrypted partition, you have the option of checking the box indicating that it is the global pass phrase, or entering a pass phrase for each encrypted partition.
I have added a note. Thanks for confirming.
Rahul