0

how can I reset a lost administrative password ,considering that Ubuntu and windows7 are both installed on the computer , considering also that "Boot up the machine,and after the BIOS screen, hold down the left Shift key." didn't logged me to any thing, just continue the loading of the system as normal??

3
  • Did you loose your Ubuntu or Windows password?
    – s3lph
    Nov 5, 2013 at 18:09
  • 2
    askubuntu.com/questions/24006/… should take care of it, but I suspect that the user lost the bios password... he/she is saying that he can't get to the boot menu.
    – Rmano
    Nov 5, 2013 at 18:13
  • If you are using Ubuntu and windows7 dual boot you can select recovery mode from the grub menu (most probably the 2nd option from top). To press and hold "shift" is not required for you. Then follow the link given by Rmano.
    – sourav c.
    Nov 5, 2013 at 18:30

1 Answer 1

3

"Boot up the machine,and after the BIOS screen, hold down the left Shift key." Did indeed NOT log you into the machine. That is correct. You are seeing a menu instead. If not, then don't read any further and try again.

If you do see the menu: Choose "Advanced options", then choose (recovery) from the menu. Then you see a lot of text passing upward on the screen. Do nothing. Then you see a colored menu. Choose "root".

Type:

mount -o remount,rw /
passwd your_username_here

change your password

then type:

reboot
3
  • I meant that I didn't see the menu after holding the shift key,it had logged to the machine as normal(seem it didn't respond to the shift holding )."and this is the problem here>> I cant arrive to the menu to make settings". I tried to reboot the system and hold shift many times, nothing changed; system continue the loading as normal
    – user211699
    Nov 5, 2013 at 19:59
  • are you the only user on that system ? and can you login as a normal user ?
    – thom
    Nov 5, 2013 at 20:10
  • If you are really struggling to get to the grub menu you can force it to show. Comment out the GRUB_HIDDEN_TIMEOUT=0 line help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2 Nov 6, 2013 at 8:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .