System crash - what is root password?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

System crash - what is root password?

Postby davidshane on 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
davidshane
Level 1
Level 1
 
Posts: 28
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri

Linux Mint is funded by ads and donations.
 

Re: System crash - what is root password?

Postby miket on 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
miket
Level 5
Level 5
 
Posts: 524
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France

Re: System crash - what is root password?

Postby davidshane on 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
davidshane
Level 1
Level 1
 
Posts: 28
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri

Re: System crash - what is root password?

Postby miket on 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
miket
Level 5
Level 5
 
Posts: 524
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France

Re: System crash - what is root password?

Postby proxima_centauri on 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
proxima_centauri
Level 11
Level 11
 
Posts: 3968
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: System crash - what is root password?

Postby davidshane on 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
davidshane
Level 1
Level 1
 
Posts: 28
Joined: Sun Oct 28, 2007 8:24 pm
Location: University City, Missouri

Re: System crash - what is root password?

Postby miket on 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.
User avatar
miket
Level 5
Level 5
 
Posts: 524
Joined: Tue Mar 04, 2008 5:50 am
Location: UK & France

Re: System crash - what is root password?

Postby CYYC on 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! :)
CYYC
Level 1
Level 1
 
Posts: 5
Joined: Sat Jul 05, 2008 12:23 am
Location: Calgary, Alberta, Canada

Re: System crash - what is root password?

Postby tomk@hawks on 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
tomk@hawks
Level 1
Level 1
 
Posts: 6
Joined: Mon Apr 14, 2008 7:32 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 21 guests