0

How do I install Ubuntu on my computer (Lenovo with Intel N3700 1.6GHz X4 64b) with its 17.04 Ubuntu where passwords have been forgotten? I have tried several times to create a new password using online instructions without success. Please answer, if there is any hope of ever using my PC again. If the answer is that I cannot, then I am forced to take my PC to the dump! Your response will be appreciated.

David

5

1 Answer 1

1

You can just re-install Ubuntu but your question is rather unclear as it's missing details.

Re-installation doesn't require the old passwords, as your new passwords will replace the old (system directories get erased so old passwords will be deleted), HOWEVER if you used encryption all data will be lost.

You can install without loosing any data; just manually select existing partitions (ie. use Something-else/Manual/Manual Partitioning), ensure they are not selected for format, and the install process will

  • note packages you have manually installed
  • erase system directories
  • install new system
  • add back the additional packages you had added to your system (if available for your new release from Ubuntu repositories)
  • ask you to reboot

No user file is touched unless you selected 'format'.

This assumes a desktop system (server programs often store config files in system directories; those are lost), and no encryption is involved. This process can be done with encrypted disks too, however you'll need to know the keys or else format (thus loosing data).

This will allow you to use a supported system, instead of your EOL 17.04 system

3
  • FYI: I last QA-tested this install on an impish or what will be 21.10 install only yesterday; I rotate my QA-test passwords & had no idea what password I had used on the prior install (about 5 days prior), but the password doesn't matter to re-install, or in your case upgrade via re-install. (My install was Lubuntu, but that makes no difference as the install works with Ubuntu and flavors of Ubuntu too)
    – guiverc
    Sep 11, 2021 at 22:43
  • I have tried many times to reinstall my Ubuntu 17.04, so that I could create new passwords, but I have been unable to get detailed information on how to actually perform the operation. If I try the terminal, I am asked for a SUDO password which I have lost years ago. If I try the Firefox browser, it asks for a password to install new software. I am not learned enough to proceed.
    – user632717
    Sep 13, 2021 at 19:48
  • Ubuntu 17.04 is EOL so we cannot answer questions about it sorry (EOL, ESM or development releases are off-topic here). This answer is about replacing it with another on-topic release such as 20.04, or 21.04
    – guiverc
    Sep 13, 2021 at 21:48

You must log in to answer this question.

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