Choose style:

Author Topic: Boot issue after kernel update  (Read 1839 times)

0 Members and 1 Guest are viewing this topic.

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Boot issue after kernel update
« on: July 28, 2015, 05:24:22 am »
Hi. Some info for you developers and a question.

I had this computer with peppermint 5 since it came out, working perfectly. UEFI install on my Asus v111p. Updated about once each month and sorted out a few issues after kernel updates some times, no big deal.

A few days ago i updated, and saw there was a kernel update. Since there was no issues the latest times of kernel updates I just let it update and rebooted.

Kernel panic, had to reboot again. Booted fine, used the computer, turned it off.

Turned it on later, halted on black screen, nothing. Rebooted, booted fine, used the computer, turned it off.

Next day, turned it on, halted on black screen. Rebooted about 15 times, same thing but suddenly I was presented wit the "Minimal BASH" screen.

Booted a livecd and chrooted myself into the installation and did a update-grub after trying to downgrade the kernel, no success there.

Downloaded PM6, booted the live, made an install after wiping the disk completely. Same thing, tried boot-repair, same thing.

Finally, as i'm very busy and just want the frickin confuser to work I switched to legacy mode and installed the 32 bit version of PM6. Works fine.

Updated the kernel to latest, rebooted, and it refuse to boot and halt on black screen. Gaaaahhh!. I can press ESC whe booting and choose the old kernel and then it works fine. The latest kernel = no es bueno para ÚstÓ computadora.

My question is: how do I make it choose the old kernel automatically?

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Re: Boot issue after kernel update
« Reply #1 on: July 28, 2015, 06:36:25 am »
Update:

it doesn't seem that simple. Somtimes it boots, sometimes it doesn't. I changed default in /etc/default/grub and after grub-update it halts at "scanning for btrfs filesystems". Cannot boot at all now on that computer...

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26064
  • Karma: 2840
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Boot issue after kernel update
« Reply #2 on: July 28, 2015, 11:27:30 am »
If GRUB won't even load now it would suggest failing hardware (as the kernel isn't  even loaded yet)

or can hold Shift to access the grub boot menu, then choose the older kernel ? .. if so, when does the boot fail ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Re: Boot issue after kernel update
« Reply #3 on: July 28, 2015, 11:38:44 am »
it fails at "scanning for btrfs filesystems" which ever kernel I choose now.

if I let it boot without pressing shift then it halts with a blank screen.


Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26064
  • Karma: 2840
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Boot issue after kernel update
« Reply #4 on: July 28, 2015, 11:43:43 am »
do you know how to remove "quiet splash" from the kernel boot line for a single boot ?

if so do it, and see if you get a clue where it's failing .. I doubt if it's being caused by the scan for btrfs unless possibly the HDD is corrupt.

Have you got a Peppermint 6 LiveCD/LiveUSB handy ?

if so, boot to that and post the output from:
Code: [Select]
sudo fdisk -l
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Re: Boot issue after kernel update
« Reply #5 on: July 28, 2015, 11:49:57 am »
The disk should not be corrupt, I switched it with another and installed PM6, still got the minimal bash. That was before I switched back to the first disk and went legacy though...

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26064
  • Karma: 2840
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Boot issue after kernel update
« Reply #6 on: July 28, 2015, 11:56:24 am »
If I were you I'd reinstall 32bit Peppermint in Legacy BIOS mode

Once rebooted to the HDD, if you think the btrfs scan is causing a problem, remove btrfs support:
Code: [Select]
sudo apt-get remove --purge btrfs-tools

Though I still doubt that's the issue
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Re: Boot issue after kernel update
« Reply #7 on: July 28, 2015, 12:02:39 pm »
output from sudo fdisk -l
Code: [Select]
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00055e22

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   483575807   241786880   83  Linux
/dev/sda2       483577854   500117503     8269825    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5       483577856   500117503     8269824   82  Linux swap / Solaris

Disk /dev/sdb: 1948 MB, 1948254208 bytes
48 heads, 47 sectors/track, 1686 cylinders, total 3805184 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *         141     3805183     1902521+   6  FAT16

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26064
  • Karma: 2840
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Boot issue after kernel update
« Reply #8 on: July 28, 2015, 12:15:27 pm »
from the LiveUSB, open a terminal and run:
Code: [Select]
sudo mount /dev/sda1 /mnt
then
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
then
Code: [Select]
sudo chroot /mnt
then
Code: [Select]
apt-get remove --purge btrfs-tools
then
Code: [Select]
grub-install /dev/sda
then
Code: [Select]
update-grub
then exit the chroot environment by hitting Ctrl+D

then just to be safe run:
Code: [Select]
exit
now shut down the PC .. remove the USB stick .. try booting to the HDD
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MaxPax

  • nOOb
  • *
  • Posts: 23
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5 x64
Re: Boot issue after kernel update
« Reply #9 on: July 28, 2015, 12:54:25 pm »
Well, I got impatient with this whole thing and installed xubuntu UEFI, works good so far. I don't really have time to mess around hour after hour with this at this point in time, already lost a whole day to it.  I still have peppermint on other computers though, so I haven't given up on ya. :(

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26064
  • Karma: 2840
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Boot issue after kernel update
« Reply #10 on: July 28, 2015, 01:15:49 pm »
Great stuff, whatever works :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec