[Solved]X fails to load goes into shell after kernel upgrade

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hopjopper

[Solved]X fails to load goes into shell after kernel upgrade

Post by hopjopper »

Hi i recently did the kernel upgrade thorough update manager on my laptop Alienware 15 R3, using LInux Mint 18.3

and now every time i start Linux Mint it doesnt go into X/GUI instead it goes into bash with (initramfs) and also mentions ACPI Error :...Namespace lookup failure, AE_NOT_FOUND .....ACPI Exception: AE_NOT_FOUND ....while loading table......ACPI Error : 1 table load failures, 10 successful.......Couldnt get size

and the command line is (initramfs)

can anyone help me restore Linux Mint back , i have no idea how
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: X fails to load goes into bash after kernel upgrade

Post by Flemur »

hopjopper wrote: Mon Mar 05, 2018 10:50 amcan anyone help me restore Linux Mint back , i have no idea how
Use the grub menu to boot your previous kernel.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

sorry my mistake, yeah i tried to load previous kernel but the same thing happens , gives me same error and same result occurs where it leads me to that (initramfs) with those errors
michael louwe

Re: X fails to load goes into bash after kernel upgrade

Post by michael louwe »

@ hopjopper, .......
hopjopper wrote:.
.
The Meltdown and Spectre patches are known to bork proprietary Nvidia graphics card drivers, but not bork the open-source nouveau drivers. The latest Linux kernel 4.13.36 contains the Retpoline patch for Spectre 2.

Try editing the kernel boot parameters, eg acpi=off and/or nomodeset, ... https://wiki.ubuntu.com/Kernel/KernelBootParameters
https://help.ubuntu.com/community/BootOptions
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

okay at Grub boot option i press 'e' and it gives me the option to edit that file , i added nomodeset after quiet splash and pressed f10 , and it boots command list, it shows Loading Linux 4.13.0-36 generic ... followed by Loading initial ramdisk ... and it just hangs there
Last edited by hopjopper on Mon Mar 05, 2018 1:50 pm, edited 1 time in total.
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: X fails to load goes into bash after kernel upgrade

Post by asinoro »

Try from live usb or another Linux OS > terminal >

Code: Select all

sudo su
Find your os partition with,

Code: Select all

blkid
and then,

Code: Select all

fsck -y /dev/sdxx
where sdxx is your os root partition,
after that
reboot
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

ive done that and nothing has changed , same result ensues

do i need to just reinstall linux mint? also if i do reinstall how do i avoid this happening again? what caused it and what do i need to avoid it happening again? which updates should i avoid?
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: X fails to load goes into bash after kernel upgrade

Post by asinoro »

Did you try boot repair?
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

asinoro wrote: Mon Mar 05, 2018 2:02 pm Did you try boot repair?
nope, how do i do it?
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: X fails to load goes into bash after kernel upgrade

Post by asinoro »

2nd option : install Boot-Repair in Ubuntu
https://help.ubuntu.com/community/Boot-Repair
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

asinoro wrote: Mon Mar 05, 2018 1:50 pm Try from live usb or another Linux OS > terminal >

Code: Select all

sudo su
Find your os partition with,

Code: Select all

blkid
and then,

Code: Select all

fsck -y /dev/sdxx
where sdxx is your os root partition,
after that
reboot
okay i just restarted computer again and it works!!! thanks for your help!!!

is there anything else i need to run after this?

i have all these level 2 updates in update manager, should i leave them, alone? or update them? where they possibly the ones that caused these problems?

to be exact they are audit, fwupd, gnome-theme-standard, hw-detect, isc-dhcp, net-snmp, ntp, pulseaudio, python-apt, python-defaults, sensible-utils, twisted

these updates i have installed them before this problem occurred, could it be one of them that has caused these problems?
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: X fails to load goes into bash after kernel upgrade

Post by asinoro »

Put [SOLVED] at your initial title to help other future users.
It was kernel update.
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

how do i do that?
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: X fails to load goes into bash after kernel upgrade

Post by asinoro »

hopjopper wrote: Mon Mar 05, 2018 5:18 pm how do i do that?
You go to your first post and you do edit.
hopjopper

Re: X fails to load goes into bash after kernel upgrade

Post by hopjopper »

asinoro wrote: Mon Mar 05, 2018 5:19 pm
hopjopper wrote: Mon Mar 05, 2018 5:18 pm how do i do that?
You go to your first post and you do edit.
okay done, thanks for all your help
Locked

Return to “Installation & Boot”