Choose style:

Author Topic: PM boot hangs after progress bar has finished. [SOLVED]  (Read 2046 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
PM boot hangs after progress bar has finished. [SOLVED]
« on: February 15, 2016, 06:31:06 pm »
Hi, my Peppermint Six 64-bit installation won't boot.  It progresses to just after the progress bar has finished loading.  There is then a "Scanning for Btrfs file system" notification.  It then changes to a flashing white cursor in the the top left hand corner of the screen  That's all she wrote.  After a few minutes, there's still no change.  It was working fine a few hours ago and no modifications have been made.  Any help is much appreciated  ;)
« Last Edit: February 16, 2016, 04:52:31 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished.
« Reply #1 on: February 15, 2016, 06:42:59 pm »
Can you drop to a console ?

if so, try running:
Code: [Select]
sudo touch /forcefsck
then rebooting:
Code: [Select]
sudo shutdown -r now
it should run a disk check on the next boot
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished.
« Reply #2 on: February 15, 2016, 07:18:06 pm »
Can you drop to a console ?

if so, try running:
Code: [Select]
sudo touch /forcefsck
then rebooting:
Code: [Select]
sudo shutdown -r now
it should run a disk check on the next boot
I can drop to the console with: Ctrl+Alt+F2.  It won't allow me sudo privileges and I obviously can't drop to root  :-\.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished.
« Reply #3 on: February 15, 2016, 07:50:00 pm »
What do you mean it won't allow you ? .. what error do you get ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished.
« Reply #4 on: February 15, 2016, 08:05:40 pm »
What do you mean it won't allow you ? .. what error do you get ?
After dropping to the console and logging in. I try to run the following command:
Code: [Select]
sudo touch /forcefsck
Instead of being asked for my password, I get this return:
Code: [Select]
sudo: /usr/bin sudo must be owned by uid 0 and have the set uid bit set
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished.
« Reply #5 on: February 15, 2016, 08:17:01 pm »
From the console what's the output from:
Code: [Select]
ls -l /usr/bin/sudo

[EDIT]

for future reference:
https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set
« Last Edit: February 15, 2016, 08:19:37 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished.
« Reply #6 on: February 15, 2016, 08:31:53 pm »
From the console what's the output from:
Code: [Select]
ls -l /usr/bin/sudo

[EDIT]

for future reference:
https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set
Okay, here's the output:
Code: [Select]
-rwxr-xr-x 1 andy andy 155008 aug 27 21:26 /usr/bin/sudo
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished.
« Reply #7 on: February 15, 2016, 08:37:46 pm »
Hmm .. wonder how that happened  :-\

Okay, do you know how to boot to a recovery mode root prompt, then remount / read/write ?

[EDIT]

It's covered here:
http://www.psychocats.net/ubuntu/resetpassword
(though you're obviously not doing the password part)

Follow those instructions, and once you've remounted / as read/write, run:
Code: [Select]
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
after doing that...

a) check if all the other files in /usr/bin are owned by root:
Code: [Select]
ls -l usr/bin
and
b) that
Code: [Select]
ls -l /usr/bin/sudo
returns:-

-rwsr-xr-x 1 root root 155008 Aug 27 20:26 /usr/bin/sudo

Obviously the date and time may be different, but it's the permissions and ownership that matter.
« Last Edit: February 15, 2016, 08:48:48 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished.
« Reply #8 on: February 15, 2016, 08:47:38 pm »
Hmm .. wonder how that happened  :-\

Okay, do you know how to boot to a recovery mode root prompt, then remount / read/write ?

[EDIT]

It's covered here:
http://www.psychocats.net/ubuntu/resetpassword
(though you're obviously not doing the password part)
Beats me too, as I said everything was working just fine  :-\.  I'm going to check the link out in the morning with fresh eyes.  Thanks for the help and the link for my bookmarks.  I'll let you know how I get on  :).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished.
« Reply #9 on: February 15, 2016, 08:53:16 pm »
Okey dokey .. good luck, and goodnight :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished.
« Reply #10 on: February 16, 2016, 04:50:49 am »
Okey dokey .. good luck, and goodnight :)
Hi, I tried dropping to /root in Recovery Mode.   I mounted it without a problem and ran the command:
Code: [Select]
touch /forcefsck
It ran and I exited out of Recovery Mode and back to normal boot.  Still nothing.  Ran it again with the same result.  I now, threw my toys out of the pram and reinstalled the /root partition.  I'm so happy I also made a /home partition.  In this scenario, it's made life really easy.  I just had to remount the /DATA partition and take ownership.  I didn't even have to remake the symlinks.  All my SSBs are there and working.  The SSD is re-tweaked and optimized.  I just have to reinstalled some programmes.  That's it - very cool.  I still can't figure out why this happened - It's a mystery  :-\.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: PM boot hangs after progress bar has finished. [SOLVED]
« Reply #11 on: February 16, 2016, 04:59:12 am »
OK nuclear holocaust option chosen .. did you try just changing the ownership/permissions of /usr/bin/sudo ? .. or were there other files in /usr/bin owned by the andy user ?
« Last Edit: February 16, 2016, 05:06:16 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: PM boot hangs after progress bar has finished. [SOLVED]
« Reply #12 on: February 16, 2016, 05:22:47 am »
OK nuclear holocaust option chosen .. did you try just changing the ownership/permissions of /usr/bin/sudo ? .. or were there other files in /usr/bin owned by the andy user ?
After touch /forcefsck did nothing twice.  I figured everything important is backed up and I also have the /DATA and /home partitions.  Rather than messing with permissions that were obviously flaky for some reason or another.  I figured I'd bung a fresh /root partition on the system and have done with it.  It was very quick to do and everything is fresh and working now.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.