First login, sudo password not working, trying single user mode - keyboard not giving any input.
by daniel272 from LinuxQuestions.org on (#5E788)
Hi,
If I'm asking question that's already solved then I'm sorry and redirect me please.
The problem is like in the title. I have just installed debian 4.19.171-2
[img]file:///C:/Users/chupito/Desktop/Temp/ver.JPG[/img]
Installed it on hyper-v. As with my previous installations I couldn't access root - the password I'd set up on install didn't work. But previously I was able to work it out by pressing "e" at the start and writing "init=/bin/bash" at the end of "linux" line:
[img]file:///C:/Users/chupito/Desktop/Temp/grub.JPG[/img]
Then by typing "mount -o remount,rw /" and "passwd".
My problem is that this time after getting command line in single user mode, after adding "init=/bin/bash" my keyboard doesn't give any input. It works on windows, obviously works in the grub while adding line, works in debian if I log in as standard user.
Can anyone help me out with this?
Thx.


If I'm asking question that's already solved then I'm sorry and redirect me please.
The problem is like in the title. I have just installed debian 4.19.171-2
[img]file:///C:/Users/chupito/Desktop/Temp/ver.JPG[/img]
Installed it on hyper-v. As with my previous installations I couldn't access root - the password I'd set up on install didn't work. But previously I was able to work it out by pressing "e" at the start and writing "init=/bin/bash" at the end of "linux" line:
[img]file:///C:/Users/chupito/Desktop/Temp/grub.JPG[/img]
Then by typing "mount -o remount,rw /" and "passwd".
My problem is that this time after getting command line in single user mode, after adding "init=/bin/bash" my keyboard doesn't give any input. It works on windows, obviously works in the grub while adding line, works in debian if I log in as standard user.
Can anyone help me out with this?
Thx.