System crash - what is root password?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
davidshane
Level 1
Level 1
Posts: 27
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri
Contact:

System crash - what is root password?

Postby davidshane » Mon Jun 30, 2008 1:27 pm

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?

User avatar
miket
Level 5
Level 5
Posts: 523
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France
Contact:

Re: System crash - what is root password?

Postby miket » Mon Jun 30, 2008 2:38 pm

Hi !

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?


This is an interesting issue ... with your root account not set for login you are pretty stuck.
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


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.

User avatar
davidshane
Level 1
Level 1
Posts: 27
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri
Contact:

Re: System crash - what is root password?

Postby davidshane » Mon Jun 30, 2008 3:10 pm

OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.

User avatar
miket
Level 5
Level 5
Posts: 523
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France
Contact:

Re: System crash - what is root password?

Postby miket » Mon Jun 30, 2008 3:13 pm

Hi !

davidshane wrote:OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.


I must admit, I "Always" enable the root account at installation time as there are a number of occasions when you
have to log in as user root as you have found :)

Mike.

User avatar
proxima_centauri
Level 11
Level 11
Posts: 3971
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: System crash - what is root password?

Postby proxima_centauri » Mon Jun 30, 2008 4:51 pm

davidshane wrote:OK, will try. It wasn't something I anticipated. Makes me wonder why Linux Mint defaults to not create a root account.


I believe MintAssistant asks you directly if you would like to set up a root password after installation.

User avatar
davidshane
Level 1
Level 1
Posts: 27
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri
Contact:

Re: System crash - what is root password?

Postby davidshane » Mon Jun 30, 2008 8:45 pm

Success! And as an added bonus, my computer is no longer running 10 degrees hotter than normal.

User avatar
miket
Level 5
Level 5
Posts: 523
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France
Contact:

Re: System crash - what is root password?

Postby miket » Wed Jul 02, 2008 2:56 pm

Hi !

davidshane wrote:Success! And as an added bonus, my computer is no longer running 10 degrees hotter than normal.


That's great !
I have no idea why it's running cooler though :)

Enjoy Mint !

Mike.

CYYC
Level 1
Level 1
Posts: 5
Joined: Sat Jul 05, 2008 12:23 am
Location: Calgary, Alberta, Canada
Contact:

Re: System crash - what is root password?

Postby CYYC » Sat Jul 05, 2008 12:26 am

AvanceIT wrote:Hi !

davidshane wrote:Success! And as an added bonus, my computer is no longer running 10 degrees hotter than normal.


That's great !
I have no idea why it's running cooler though :)

Enjoy Mint !

Mike.


well it's because mint is getting cooler and cooler hehe,
great info here my pal had the same root pword issue - solved by reading the forum post here.. Cool! :)

tomk@hawks
Level 1
Level 1
Posts: 6
Joined: Mon Apr 14, 2008 7:32 am

Re: System crash - what is root password?

Postby tomk@hawks » Thu Jul 10, 2008 10:43 pm

Thanks for posting the original query. I had what turned out to be the same problem and when I read your post and the solutions i tried it and it worked. Very happy as the problem had been bugging me.

Thanks,
TomK


Return to “Installation & Boot”

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests