Enterprise Advanced SONiC: Additional Resources Figure 7-2. GRUB Editor 5. In the line that starts with linux /image- , type init=/bin/bash between rw and console=tty0 as shown in the output below. To undo any text you have typed and return to the GRUB menu without saving, press the Esc key. Note: This text insertion does not persist across reboots; you do not have to re-edit GRUB after you recover your password and use it to log in again. Figure 7-3. init=/bin/bash Location 6. Reboot by pressing the F10 key or Ctrl+X . 65