Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't find anywhere on the internet that has this specific question.

The problem for me is I forgot my pass for Ubuntu 13.04 and now I can't use sudo commands. So now I need to change the boot and I cant do it. I want to make the default boot Windows on grub2.

Any ideas? If worse comes to worse can i delete the ubuntu partitions from windows then repair the grub so it will only show the windows os.

Ideas, anyone?

share|improve this question

if I'm correctly understanding, you've forgot your own password in Ubuntu (I suppose you set up automatic login) so you can't run commanda as superuser: am I right?

In this case, what about starting Ubuntu in single-user mode and change your password? (take a look here)



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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