Choose style:

Author Topic: Not turning on since update  (Read 3429 times)

0 Members and 1 Guest are viewing this topic.

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Not turning on since update
« on: February 07, 2015, 02:01:56 pm »
I had an update last week. It said I didn't have enough boot space and have me a clear command. Ran this but didn't make a difference. It then reminded me again today so I accepted update and this time it went however when it finished it said update failed. I didn't take any note of this as I assumed it was due to the boot space again however now the laptop has been rebooted it won't turn on I just get a page of errors and can only force shut down. Tried again and I was given option to try safe mode but don't load either and had to be force shut down.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25500
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not turning on since update
« Reply #1 on: February 07, 2015, 03:27:41 pm »
Hmm, this is going to be a complex fix
(but then again you've put it in the "Advanced" forum)

First we're going to need to boot to a Peppermint LiveCD/LiveUSB
then we'd need to set up a chroot environment
then we'd need to clear some room in your /boot partition by uninstalling some old kernels
then we'd have to complete the updates whilst still in the chroot environment
then exit chroot and reboot to the hard drive.

The problem here is "why did you have a separate /boot partition in the first place ?

did you elect to use full disk encryption during the Peppermint installation ?

If so, this is going to be impossible to fix unless you know the encryption passphrase .. and even then it'll add another layer of complexity.

Might be easier to just reinstall.

So can you answer the above questions and let us know if you'd like to attempt the fix or just reinstall



Link for future reference:
https://help.ubuntu.com/community/LiveCdRecovery
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #2 on: February 08, 2015, 06:32:42 am »
Hi it might have said root space rather than boot space. I can't fully remember the message. I just installed peppermint according to the default on screen instructions nothing fancy.

I'd prefer to fix rather than re-install but if it is going to be a lot of work...?

Does peppermint have a roll back or anything? It was working fine until the update.

Thanks in advance.

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #3 on: February 08, 2015, 06:33:25 am »
Also nothing is encrypted.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25500
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not turning on since update
« Reply #4 on: February 08, 2015, 08:09:55 am »
Ahh "root space".

OK, can you boot to a LiveCD/LiveUSB
mount the internal HDD's / partition by clicking on it in File Manager

Then post the output from this command:
Code: [Select]
df -h

You'll know if the / partition was mounted if the output contains a line similar to:-

/dev/sda1                13G  7.9G  4.1G  66% /
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #5 on: February 08, 2015, 09:03:34 am »
Ok so I pressed the wrong button to get to the boot menu options to choose usb and it booted up from hard disk but this time to a recovery menu. I selected what I think was an older kernal version and it let me to a disk clean and a software repair.  It then booted to desktop.  I rebooted and it is turning on fine now.

I ran the command you requested:

Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/peppermint--vg-root  145G  5.2G  133G   4% /
none                             4.0K     0  4.0K   0% /sys/fs/cgroup
udev                             927M  4.0K  927M   1% /dev
tmpfs                            188M  1.2M  187M   1% /run
none                             5.0M     0  5.0M   0% /run/lock
none                             938M   72K  938M   1% /run/shm
none                             100M   12K  100M   1% /run/user
/dev/sda1                        236M  217M  7.1M  97% /boot

It is still asking me to update but I'm not sure if it save to do so now or if it will cause same issue?

Apologies if I'm using wrong terminology!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25500
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not turning on since update
« Reply #6 on: February 08, 2015, 09:44:51 am »
No don't update yet .. you DO have a separate /boot partition and it's full .. you need to uninstall some old kernels first.

First post the output from:
Code: [Select]
uname -a
and
Code: [Select]
dpkg -l | grep linux-image
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #7 on: February 08, 2015, 11:08:39 am »
christine@Flower ~ $ uname -a
Linux Flower 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

christine@Flower ~ $ dpkg -l | grep linux-image
rc  linux-image-3.13.0-29-generic         3.13.0-29.53                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-30-generic         3.13.0-30.55                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-37-generic         3.13.0-37.64                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-39-generic         3.13.0-39.66                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-40-generic         3.13.0-40.69                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-43-generic         3.13.0-43.72                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-44-generic         3.13.0-44.73                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-45-generic         3.13.0-45.74                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc  linux-image-extra-3.13.0-29-generic   3.13.0-29.53                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-30-generic   3.13.0-30.55                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-37-generic   3.13.0-37.64                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-39-generic   3.13.0-39.66                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-40-generic   3.13.0-40.69                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-43-generic   3.13.0-43.72                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
iF  linux-image-extra-3.13.0-44-generic   3.13.0-44.73                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
iF  linux-image-extra-3.13.0-45-generic   3.13.0-45.74                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
iU  linux-image-generic                   3.13.0.45.52                         amd64        Generic Linux kernel image

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25500
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not turning on since update
« Reply #8 on: February 08, 2015, 12:01:07 pm »
Run this long command:
Code: [Select]
sudo apt-get remove --purge linux-image-3.13.0-30-generic linux-image-3.13.0-37-generic linux-image-3.13.0-39-generic linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic linux-image-extra-3.13.0-30-generic linux-image-extra-3.13.0-37-generic linux-image-extra-3.13.0-39-generic linux-image-extra-3.13.0-40-generic linux-image-extra-3.13.0-43-generic 
then:
Code: [Select]
sudo apt-get autoremove
once they've finished, post the output from:
Code: [Select]
dpkg -l | grep linux-image
and
Code: [Select]
df -h
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #9 on: February 08, 2015, 12:43:56 pm »
christine@Flower ~ $ dpkg -l | grep linux-image
rc  linux-image-3.13.0-29-generic         3.13.0-29.53                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-44-generic         3.13.0-44.73                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-45-generic         3.13.0-45.74                         amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc  linux-image-extra-3.13.0-29-generic   3.13.0-29.53                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-44-generic   3.13.0-44.73                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-45-generic   3.13.0-45.74                         amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                   3.13.0.45.52                         amd64        Generic Linux kernel image
christine@Flower ~ $ df -h
Filesystem                       Size  Used Avail Use% Mounted on
/dev/mapper/peppermint--vg-root  145G  4.3G  133G   4% /
none                             4.0K     0  4.0K   0% /sys/fs/cgroup
udev                             927M   12K  927M   1% /dev
tmpfs                            188M  1.2M  187M   1% /run
none                             5.0M     0  5.0M   0% /run/lock
none                             938M   23M  915M   3% /run/shm
none                             100M   12K  100M   1% /run/user
/dev/sda1                        236M   69M  155M  31% /boot

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25500
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not turning on since update
« Reply #10 on: February 08, 2015, 12:45:38 pm »
OK, you should be "good to go" for the updates now.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Girl From Mars

  • nOOb
  • *
  • Posts: 10
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Not turning on since update
« Reply #11 on: February 09, 2015, 02:30:39 am »
The update installed fine this time.  Thank you so much.  Is there some housekeeping I should have been doing to prevent this?

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Not turning on since update
« Reply #12 on: February 09, 2015, 03:04:28 am »
Hi Girl From Mars.  Run the following command every couple of months.
Code: [Select]
dpkg -l | grep linux-image
This will bring up all the kernels you have installed.  The rule of thumb is to have the current one and the previous one to fall back to if things go wrong.  All earlier kernels can be removed.

Example: Your current kernel is:  linux-image-3.13.0-45-generic
                  The previous one is:     linux-image-3.13.0-44-generic.
 
In a month there will have been at least one kernel update.  To free up some space, you may want to get rid of,  linux-image-3.13.0-44-generic.  This will be done with the following command in a terminal window.
Code: [Select]
apt remove --purge linux-image-3.13.0-44-generic linux-image-extra-3.13.0-44-generic
Followed by this to tidy everything up:
Code: [Select]
apt clean && apt autoclean && apt autoremove -y
You can apply these commands to all your redundant kernels as it is needed.  That's it for housekeeping  :D!
« Last Edit: February 09, 2015, 03:45:46 am by AndyInMokum, Reason: Clarification »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline iamesperambient

  • Veteran
  • ****
  • Posts: 1269
  • Karma: 89
  • a totally awesome dude
    • View Profile
    • i AM esper (drone ambient music)
  • Peppermint version(s): Peppermint 8 64 bit
Re: Not turning on since update
« Reply #13 on: February 11, 2015, 03:06:36 pm »
sorry to butt in here but just wondering why doesn't updater remove the old kernels when installing new updated ones?
just curious?
http://iamesper.bandcamp.com
boring drone music from NJ

Offline iamesperambient

  • Veteran
  • ****
  • Posts: 1269
  • Karma: 89
  • a totally awesome dude
    • View Profile
    • i AM esper (drone ambient music)
  • Peppermint version(s): Peppermint 8 64 bit
Re: Not turning on since update
« Reply #14 on: February 11, 2015, 03:07:47 pm »
Spoiler (click here to view / hide)
iamesper@justin-Latitude-D630 ~ $ dpkg -l | grep linux-image
rc  linux-image-3.13.0-29-generic              3.13.0-29.53                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-3.13.0-32-generic              3.13.0-32.57                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-3.13.0-39-generic              3.13.0-39.66                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-3.13.0-40-generic              3.13.0-40.69                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-3.13.0-41-generic              3.13.0-41.70                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-3.13.0-43-generic              3.13.0-43.72                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii  linux-image-3.13.0-44-generic              3.13.0-44.73                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
ii  linux-image-3.13.0-45-generic              3.13.0-45.74                                 i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-29-generic        3.13.0-29.53                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-32-generic        3.13.0-32.57                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-39-generic        3.13.0-39.66                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-40-generic        3.13.0-40.69                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-41-generic        3.13.0-41.70                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
rc  linux-image-extra-3.13.0-43-generic        3.13.0-43.72                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii  linux-image-extra-3.13.0-44-generic        3.13.0-44.73                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii  linux-image-extra-3.13.0-45-generic        3.13.0-45.74                                 i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
ii  linux-image-generic                        3.13.0.45.52                                 i386         Generic Linux kernel image
iamesper@justin-Latitude-D630 ~ $

[close]

this is what comes up when i run this code does this mean i have a lot of old kernels i should remove?
http://iamesper.bandcamp.com
boring drone music from NJ