Skip to main content

Posts

Showing posts with the label boot loader

How to reset root password

1. Boot the machine and wait until GRUB Boot Loader comes up. Select recovery mode  and then press e  to edit. 2. Change the permission mode from ro  to rw and modify boot loader file in  init=/bin/bash  and then F10  make the changes and reboot the system. 3. Once the system reboot, shell prompts you for the password to manage the system. Type passwd root   and then type the desired password   of your choice. Confirm the password   and then hit enter. If new password  and retype new password  matches correctly, then you will get the message password updated successfully . Type shutdown -h now  to press power button to shutdown the system and then boot the system again. 4. Type root   and the new password . If you type the new password correctly, then you will desktop screen of Kali Linux .

A brief tutorial on GRUB boot loader

A boot loader is a software program that runs when a computer boot. It's responsible for loading and transferring control to an operating system kernel software. The kernel, in turn, initializes the rest of the operating system.  GRUB  ( GR and U nified B oot-loader) or GNU GRUB is a very powerful multi-boot loader, which can load a wide variety of free operating systems, as well as proprietary operating systems with chain-loading. GRUB is designed to address the complexity of booting a personal computer. One of the important features in GRUB is flexibility; GRUB understands filesystems and kernel executable formats, so you can load an arbitrary operating system the way you like, without recording the physical position of your kernel on the disk. Thus you can load the kernel just by specifying its file name and the drive and partition where the kernel resides. When booting with GRUB, you can use either a command-line interface or a menu interface . Using the command-line in...