System crash - what is root password?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- davidshane
- Level 1
- Posts: 27
- Joined: Sun Oct 28, 2007 8:24 pm
- Location: University City, Missouri
- Contact:
System crash - what is root password?
My computer, after an fsck failure, is booting to a prompt that only allows me to either enter the root password, or restart. But I didn't create a root account, and my user password doesn't work. What do I do?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: System crash - what is root password?
Hi !
However, like most things in the UNIX world there is a way around this !
So, boot your computer from the Linux Mint Live CDROM, when you are at the desktop open a terminal and run the following command :
Where /dev/yourdisk is the device name of the disk you need to run fsck on, for example /dev/sda1
Once this has run and made any repairs necessary, just logout of the liveCD desktop and reboot your machine, hopefully
it will come back up OK.
Let us know how you get on ...
Mike.
This is an interesting issue ... with your root account not set for login you are pretty stuck.davidshane wrote:My computer, after an fsck failure, is booting to a prompt that only allows me to either enter the root password, or restart. But I didn't create a root account, and my user password doesn't work. What do I do?
However, like most things in the UNIX world there is a way around this !
So, boot your computer from the Linux Mint Live CDROM, when you are at the desktop open a terminal and run the following command :
Code: Select all
fsck -y /dev/yourdisk
Once this has run and made any repairs necessary, just logout of the liveCD desktop and reboot your machine, hopefully
it will come back up OK.
Let us know how you get on ...
Mike.
- davidshane
- Level 1
- Posts: 27
- Joined: Sun Oct 28, 2007 8:24 pm
- Location: University City, Missouri
- Contact:
Re: System crash - what is root password?
OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.
Re: System crash - what is root password?
Hi !
have to log in as user root as you have found
Mike.
I must admit, I "Always" enable the root account at installation time as there are a number of occasions when youdavidshane wrote:OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.
have to log in as user root as you have found
Mike.
Re: System crash - what is root password?
I believe MintAssistant asks you directly if you would like to set up a root password after installation.davidshane wrote:OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.
- davidshane
- Level 1
- Posts: 27
- Joined: Sun Oct 28, 2007 8:24 pm
- Location: University City, Missouri
- Contact:
Re: System crash - what is root password?
Success! And as an added bonus, my computer is no longer running 10 degrees hotter than normal.
Re: System crash - what is root password?
Hi !
I have no idea why it's running cooler though
Enjoy Mint !
Mike.
That's great !davidshane wrote:Success! And as an added bonus, my computer is no longer running 10 degrees hotter than normal.
I have no idea why it's running cooler though
Enjoy Mint !
Mike.