Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new at ubuntu. It is on my laptop and seldom in use. So I forgot the password. I saw threads about recovering (restart, press SHIFT - did'nt work but ESC did) now I got a GRUB page without the options to choose from. I ask for advice.[/SIZE][/FONT]
I am new at ubuntu. It is on my laptop and seldom in use. So I forgot the password. I saw threads about recovering (restart, press SHIFT - did'nt work but ESC did) now I got a GRUB page without the options to choose from. I ask for advice.[/SIZE][/FONT]
You may be able to boot from the Ubuntu install CD in LiveCD mode, mount the drive, chroot into the drive, and run passwd to change the password. There are how-to pages on the web about doing this.
If you seldom use this device and have had time to forget the password since using it last I must ask: "is there any data on it worth preserving?". If the answer is "no", why not install a newer version atop of, and blowing away, the old version? This will provide you with the latest software, and allow you to establish a new account and password.
Thank you Wpeckham for your answer. I accept your reasoning and am now downloading the latest ubuntu (16.04.2) and burning it to a DVD.
The laptop does not boot from the CD, and I have no access to the GRUB page where I can set the laptop to boot from CD.
Thank you Wpeckham for your answer. I accept your reasoning and am now downloading the latest ubuntu (16.04.2) and burning it to a DVD.
The laptop does not boot from the CD, and I have no access to the GRUB page where I can set the laptop to boot from CD.
Booting from the media drive is not in the grub setup (although there IS a way to set that up IN grub, that is not really what you want). You are looking for system setup menu options at the BIOS level (or UEFI? on new systems). This is usually reached by hitting F2 (or F-10, or ESC) during the boot process but before anything (including grub) can load from the hard drive. Once in that setting menu system ther should be a boot options submenu where you can allow booting from the optical drive.
Alas, more specific I cannot be as there are more differences than there are different manufacturers and I do not know them all.
1. Goto GRUB
2. Press e over the first line
3. Find kernel line (starts with linux) and append init=/bin/bash
4. Press ctrl+x
5. Change the password using passwd command
example: passwd root
6. Done
Thank you.
I can not apply your suggestion.
I have re-installed windows 8.
I have also unsubscribed to this thread.
Sorry to have caused inconvenience.
Jacob.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.