[SOLVED]No boot after Update last night.

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

[SOLVED]No boot after Update last night.

Post by gilana »

Hi, Last thing last night used my update manager on Mint 18.1 Kernel is 4.4.0-21

There was a Firefox update, a flashplayer, and one I THINK Intel microcode update. The latter has broken my system.

I am now booted off the live USB. No ability to see browser history etc. Earlier this morning I was able to mount /home and get in there with chroot. (then my wife called me away ) I have now lost the terminal commands that I used this morning for chroot etc. I cannot remember what I typed, or the url of the page that it was on.

I wanted to try to chroot into my user and then run my Update Manager to remove the Intel update. OR look at my logs to identify the culprit, OR rename/remove it manually ANYTHING except a re-install.

I do not get the GRUB options to select a different Kernel. (even holding shift during boot)

Screenshot shows the loud boot freeze.

After nearly 3 years of no issues, this is a bit of a shock.
Attachments
IMG-20180917-WA0000.jpeg
Last edited by gilana on Tue Sep 18, 2018 7:21 pm, edited 1 time in total.
Laurent85
Level 16
Level 16
Posts: 6898
Joined: Tue May 26, 2015 10:11 am

Re: No boot after Update last night.

Post by Laurent85 »

Did you run a filesystem check of your Mint partitions ? Try this and restart.
Image
deepakdeshp
Level 18
Level 18
Posts: 8238
Joined: Sun Aug 09, 2015 10:00 am

Re: No boot after Update last night.

Post by deepakdeshp »

If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 20 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

Will do

fsck -a /dev/sda1 shortly...?

Currently doing
mint@mint ~ $ sudo mount /dev/sda1 /mnt
mint@mint ~ $ for i in /sys /proc /run /dev /dev/pts; do sudo mount --bind "$i" "/mnt$i"; done
mint@mint ~ $ sudo chroot /mnt
root@mint / # apt-get update
root@mint / # apt-get upgrade

Will check other URL now...
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

I really think the Intel Microcode Update last night is broken.
How to verify and alert the repos?
Laurent85
Level 16
Level 16
Posts: 6898
Joined: Tue May 26, 2015 10:11 am

Re: No boot after Update last night.

Post by Laurent85 »

gilana wrote:
Mon Sep 17, 2018 4:52 pm
I really think the Intel Microcode Update last night is broken.
I don't think so, an init update follows the microcode installation and maybe something went wrong locally that is not related to the microcode per se.

Use gparted to run the filesystem check, right click the Mint ext4 root partition and select check.
Image
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

Ok, will do the Gparted thing as soon as upgrade is finished, really slow connection.

If I have to do a full install, I need to get at my /home with permissions, is there a bootable cd with this option ? My chroot currently running has not given me privileges to all the .directories and never asked my password.
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: No boot after Update last night.

Post by AscLinux »

Try sudo -i, if succeeds then you can copy files over.

But first I recommend installing the kernel again, I'm guessing something went wrong when initramfs was built.
User avatar
slipstick
Level 6
Level 6
Posts: 1005
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

Re: No boot after Update last night.

Post by slipstick »

If the above suggestions fail, you can supposedly prevent the new microcode from being loaded at boot (I assume it falls back to the code in your motherboard firmware):

http://metadata.ftp-master.debian.org/c ... DME.Debian
Scroll down to "Recovery Procedure"

I've never tried this, so can't verify that it will work, but maybe worth a try if you are desparate.
In theory, theory and practice are the same. In practice, they ain't.
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: No boot after Update last night.

Post by AscLinux »

Looking at the error 'unknown-block(0,0)'. It tells us your kernel is unable to communicate with SATA controller. Which makes me think maybe your initramfs is not loaded at all, that would mean Grub is screwed up or initramfs is broken/missing.
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

Ok it has got worse, now I just have the GRUB rescue prompt.

I need to copy my /home directory off.. and do a clean install.

Any help will be most welcome. I do not have the skills to remove the peanut from the keyhole of my home, so now I have to build a new home :(
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: No boot after Update last night.

Post by AscLinux »

Don't know about Mint install, but SystemRescueCd can be put on a USB stick and you are logged in as root when it boots up. Meaning there is no permissions problem.
Back to your current installation. Do you have separate /boot partition? If yes, then perhaps it is full and all kernel installs fail as a result.
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

Thank you to all.

/dev/sd01 is everything, no separate boot part.

I am going to try a GRUB re-install.
Looking up about INITRAMFS
Will also try a KERNEL install. I really liked the setup as it was, but my biggest problem is max 30kB/s internet.
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: No boot after Update last night.

Post by AscLinux »

Then make sure your root filesystem is not full.
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

This is getting really weird.

Bought a new SSD, Downloaded the Mint 19 Iso 64bit etc, Live USB, full new install.....

GRUB rescue menu at boot...WTffff???
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

Re: No boot after Update last night.

Post by gilana »

This is a testament to LINUX - yay

As the new install also failed and one of the Gurus above also commented that the initial error on the screenshot pointed towards a problem in comms with the drive....I decided to plug the original LM18.1 into a different laptop. It booted right up...EVEN after all my buggerations into root.

So glad to have my system back...but now it looks like the newer laptop is trash, but I will try to sort it. Not in the budget for a new machine.

Thanks to everyone.
gilana
Level 1
Level 1
Posts: 12
Joined: Sun Jun 19, 2016 8:04 pm

[SOLVED] No boot after Update last night.

Post by gilana »

I finally figured out what happened.

Back on the original laptop (Dell Latitude E5410) I decided to do a diagnostic of the BIOS.
I noticed that the BIOS settings had all reverted to DEFAULTS.
I went through to change to my preferred settings, like Action When Connected to Docking Station, Parallel port, 1394 etc...
The Friggen hard drive mode had changed.

Booted right the f... up!

If you have this problem, please check bios settings, they can change on their own, don't know how but there it is.

Thanks again to those who posted.
Post Reply

Return to “Newbie Questions”