Weird laptop booting behaviour

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Weird laptop booting behaviour

Post by Arp »

So, this is not my laptop, so I don't know any specific laptop details, other than it is a Lenovo.

It had Mint 19.3 on it and Windows 7 on a second partition. Everything worked. Then he decided to get a larger drive and to use clonezilla to clone the 500gb drive to the new 1TB drive. This apparently worked. But now, if he does a *restart* in Linux the laptop goes into a boot loop. It constantly reboots before even getting to the OS selection menu. But if Linux is *shutdown* the laptop does boot up normally. Also, shutting down/rebooting in Windows works every time.

So, why would the laptop behave differently when being shut down or rebooted? He tried using boot-repair, but apparently to no effect. I'm out of ideas...

Thx.

vimes666
Level 3
Level 3
Posts: 192
Joined: Tue Jan 19, 2016 6:08 pm

Re: Weird laptop booting behaviour

Post by vimes666 »

There shouldnt be a difference between reboot and shutdown. The only thing I can think of is that something went wrong in the cloning part.
Depending on the cloning method you can end up with a reference to a swap partition in /etc/fstab that doesnt exist.
In a terminal do:

Code: Select all

cat /etc/fstab | grep -i swap
If the response is something like this:
# swap was on /dev/sda5 during installation
UUID=6cf9b203-3544-4125-9f1f-c4e834e973a6 none swap sw 0 0

Then do this command:

Code: Select all

blkid
You should see a line mentioning 'swap' there.
If there is, compare the UUID with the UUID you found earlier. When they differ, you will have to change the value of UUID in /etc/fstab.
If blkid does not list a swap partition you will have to make one.
If the swap UUID's are equal, nothing is wrong.
If neither fstab nor blkid have a swap reference it is also ok.

gittiest personITW
Level 7
Level 7
Posts: 1985
Joined: Tue May 28, 2019 4:27 pm

Re: Weird laptop booting behaviour

Post by gittiest personITW »

Might possibly have been if, before cloning, Windows was hibernating/sleeping when the computer was switched off rather than Windows being shut down, then Clonezilla was booted.

Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Re: Weird laptop booting behaviour

Post by Arp »

Little update:

Even without cloning, just freshly installed Mint 19.3 cinnamon without windows, goes into boot loop. 19.2 and 19.1 do not do this.

vimes666
Level 3
Level 3
Posts: 192
Joined: Tue Jan 19, 2016 6:08 pm

Re: Weird laptop booting behaviour

Post by vimes666 »

Even without cloning, just freshly installed Mint 19.3 cinnamon without windows, goes into boot loop.
Is that using the same disk?
Can you startup with a live usb and do inxi -Fzx in a terminal?

Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Re: Weird laptop booting behaviour

Post by Arp »

vimes666 wrote:
Mon Jan 06, 2020 12:39 pm
Even without cloning, just freshly installed Mint 19.3 cinnamon without windows, goes into boot loop.
Is that using the same disk?
Can you startup with a live usb and do inxi -Fzx in a terminal?

Code: Select all

System:
  Host: Lafu Kernel: 5.0.0-32-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: Cinnamon 4.4.5 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: LENOVO product: 20354 v: Lenovo Z50-70 
  serial: <filter> 
  Mobo: LENOVO model: Lancer 5A5 v: 31900058STD serial: <filter> 
  UEFI [Legacy]: LENOVO v: 9BCN25WW date: 04/10/2014 
Battery:
  ID-1: BAT0 charge: 21.8 Wh condition: 29.0/37.6 Wh (77%) 
  model: Lenovo IdeaPad status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-4210U bits: 64 type: MT MCP 
  arch: Haswell rev: 1 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19156 
  Speed: 799 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 798 2: 800 
  3: 798 4: 799 
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo 
  driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 
  620M/625M/630M/720M] 
  vendor: Lenovo driver: nouveau v: kernel bus ID: 03:00.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.0.0-32-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 5000 bus ID: 01:00.0 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lenovo 
  driver: rtl8723be v: kernel port: 4000 bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 7.58 GiB (0.8%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 QVO 1TB size: 931.51 GiB 
Partition:
  ID-1: / size: 915.89 GiB used: 7.58 GiB (0.8%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 197 Uptime: 1m Memory: 5.72 GiB used: 668.1 MiB (11.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
This report was done on the fresh installation of Mint 19.3, not on a live cd.

To clarify: The boot loop happens when mint 19.3 is rebootet. If it is shutdown, no boot loop happens. If it is looping, and you hold down the power button of the laptop, it will turn off after a couple of seconds. After that, you can boot into Mint 19.3.

User avatar
Tomgin5
Level 5
Level 5
Posts: 996
Joined: Sat Mar 19, 2016 2:37 pm
Location: Beaverton, Oregon USA

Re: Weird laptop booting behaviour

Post by Tomgin5 »

I had the same thing today after a ? UPDATE? on LM 19.3 cinnamon. I have been having some reboot problems on this computer,

Code: Select all

tom@tom-305E4A-305E5A-305E7A:~$ inxi -Fxzd
System:
  Host: tom-305E4A-305E5A-305E7A Kernel: 5.0.0-37-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.6 
  Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: SAMSUNG product: 305E4A/305E5A/305E7A v: 01QU 
  serial: <filter> 
  Mobo: SAMSUNG model: 305E4A/305E4A v: 01QU serial: <filter> 
  BIOS: American Megatrends v: 01QU.RI14.20110926.SKK date: 09/26/2011 
Battery:
  ID-1: BAT1 charge: 28.1 Wh condition: 28.1/47.5 Wh (59%) 
  model: SAMSUNG Electronics status: Full 
CPU:
  Topology: Quad Core model: AMD A6-3400M APU with Radeon HD Graphics 
  bits: 64 type: MCP arch: Fusion L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 11180 
  Speed: 885 MHz min/max: 800/1400 MHz Core speeds (MHz): 1: 856 2: 843 
  3: 959 4: 852 
Graphics:
  Device-1: AMD BeaverCreek [Radeon HD 6520G] vendor: Samsung Co 
  driver: radeon v: kernel bus ID: 00:01.0 
  Display: x11 server: X.Org 1.19.6 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD SUMO (DRM 2.50.0 / 5.0.0-37-generic LLVM 8.0.0) 
  v: 3.3 Mesa 19.0.8 direct render: Yes 
Audio:
  Device-1: AMD BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G 
  series] 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 
  Device-2: AMD FCH Azalia vendor: Samsung Co driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Sound Server: ALSA v: k5.0.0-37-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Samsung Co driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  IF: enp2s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter 
  vendor: Samsung Co driver: ath9k v: kernel port: e000 bus ID: 04:00.0 
  IF: wlp4s0 state: up mac: <filter> 
  Device-3: Atheros AR3012 Bluetooth 4.0 type: USB driver: btusb 
  bus ID: 5-1:5 
Drives:
  Local Storage: total: 298.09 GiB used: 16.95 GiB (5.7%) 
  ID-1: /dev/sda vendor: Western Digital model: WD3200BEKX-75B7WT0 
  size: 298.09 GiB 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SN-208AB rev: SC00 
  dev-links: cdrom,cdrw,dvd,dvdrw 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / size: 285.04 GiB used: 16.95 GiB (5.9%) fs: ext4 dev: /dev/dm-0 
  ID-2: swap-1 size: 7.48 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:
  System Temperatures: cpu: 48.9 C mobo: N/A gpu: radeon temp: 54 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 192 Uptime: 35m Memory: 7.28 GiB used: 1.16 GiB (16.0%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
tom@tom-305E4A-305E5A-305E7A:~$ 
Update came up with a large list to update. I notices a lot of 32 bit stuff and a 14,0,72-78 kernel? Then came the reboot . It did not everything froze. I tried a couple of more times and sometimes the screen went crazy. I stuck in a live 19.3 flash drive and did the boot check. 5 minutes later it came back with everything OK. I removed the flash drive and everything booted fine after resetting the boot again to the HDD.
I have rebooted a couple of times and it is now working fine without any update/upgrade alarms.

User avatar
Tomgin5
Level 5
Level 5
Posts: 996
Joined: Sat Mar 19, 2016 2:37 pm
Location: Beaverton, Oregon USA

Re: Weird laptop booting behaviour

Post by Tomgin5 »

I just received a notice of Update with the old kernel on this( another computer. the number was 4.15.0.74.82. The update definitely wants to download it into 5.0.0.37 kernel computers.

Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Re: Weird laptop booting behaviour

Post by Arp »

Apparently, if the boot loop happens, the laptop reboots so soon, that you can not even press the button to get into the bios. Maybe the OS puts something into the RAM, that is persistent after reboot and triggers some kind of bug in the laptop?

vimes666
Level 3
Level 3
Posts: 192
Joined: Tue Jan 19, 2016 6:08 pm

Re: Weird laptop booting behaviour

Post by vimes666 »

I am a bit out of ideas. Maybe moving to the new LTS kernel 4.15.0-74.84 will solve this, otherwise try moving to 5.3.0-24 (for newer equipment, non-LTS).
The 4.15 one will be in your updates list. The 5.3 one you will have to by hand.

vimes666
Level 3
Level 3
Posts: 192
Joined: Tue Jan 19, 2016 6:08 pm

Re: Weird laptop booting behaviour

Post by vimes666 »

Never mind the 4.15 kernel.. it doesnt install here for some reason ;(

Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Re: Weird laptop booting behaviour

Post by Arp »

The same ssd with mint 19.3 does not produce the boot loop in another laptop.

vimes666
Level 3
Level 3
Posts: 192
Joined: Tue Jan 19, 2016 6:08 pm

Re: Weird laptop booting behaviour

Post by vimes666 »

According to this post there has been an bios issue with that specific lenovo model. https://askubuntu.com/questions/1028612 ... ovo-z50-70
Is the bios up to date?

Arp
Level 3
Level 3
Posts: 125
Joined: Mon Mar 11, 2013 8:41 am

Re: Weird laptop booting behaviour

Post by Arp »

Updating the bios did not help.

But reverting the Linux Kernel back to 4.15.0.54 helped!. Now if you restart Mint 19.3, it does a restart and boots again normaly. With Kernel 5.0 and 5.3, if you restart, it goes into a boot loop, but not if you shut it down.

Post Reply

Return to “Installation & Boot”