0

I'm quite new to linux and I'm trying to boot into single user mode to reset my root password, but whenever I manage to boot up my keyboard doesn't work. I'm using a laptop so there's not much I can do on the hardware side. I've tried plugging in a USB keyboard but that doesn't fix the issue.

Is there any way I can fix this issue, or go about it another way to reset my root password?

  • What model of laptop is it? As there might be a bios setting that would allow a usb keyboard to work. – fcbsd Nov 1 '17 at 18:43
  • What is the effect of the non-working keyboard? What are the last lines during boot? – Ipor Sircer Nov 1 '17 at 18:44
  • @fcbsd I'm using a Razer Blade. I can poke around in the BIOS in the meantime and look for an option to enable a keyboard – McFizz Nov 1 '17 at 18:44
  • @IporSircer how would I be able to freeze/pause the boot log so that I have time to read it? It disappears too quickly for me to see – McFizz Nov 1 '17 at 18:46
  • @IporSircer The non-working keyboard has no effect. The laptop doesn't recognize it at all – McFizz Nov 1 '17 at 18:49
1

Based on the comments and your answers to them, your best bet is to boot from an external USB drive and then run 'chroot' to get yourself into your laptop's environment and then change your laptop's root password there.

If you cannot get your BIOS to recognize USB drives, then you will have to remove the hard drive, connect or install it to another system, and run the 'chroot' (or even a single user mode if you can boot from your laptop's drive from there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.