LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-06-2019, 03:58 AM   #241
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66

Hi

Quote:
Quote:
Originally Posted by bodge99 View Post
Hi,
Are you running this on the Mint system? I thought you had installed kernel 5.2.6 via Ukuu?
I don't understand your question. Of course I am running this on the Mint system, what else? AntiX is gone.
I thought you might have booted from flashdrive as you stated "file not found" when using:
Code:
cat /boot/grub/grub.cfg | grep vmlinuz-5.2.6
Yet, uname returned
Code:
Quote:
5.2.6-050206-generic
Re: The fast scrolling text. I do think that this actually is the same as the video. The guy there was running Linux in a virtual environment which will be much slower.. but don't worry about this for now.

Re: The 5.2.6 kernel. At the moment, this is the default kernel.. unless the boot delay is set to zero, you should get the Grub menu.

You could try this: Install grub-customizer as you did earlier (from the PPA). Run it when it's installed and set an earlier kernel as the default.
In "General Settings" under "visibility", check that the "Boot default entry" is set to 10 seconds and that "Predefined" under "default entry" is set to "first entry".

Now reboot to the earlier default kernel. Run ukuu and uninstall kernel 5.2.6 completely. Now reinstall it.

How are you running ukuu ?

Try running ukuu-gtk in a terminal as root. Keep an eye on the terminal as the kernel is installing. Look for any messages involving "cannot find.." or "cannot delete" etc. If I see these I cancel the installation and start it again. The second time normally works fine. I think that comes from link error to the Ubuntu site.

I'm going to be busy for a couple of hours.. I'll check here when I can.

Bodge99
 
Old 08-06-2019, 04:02 AM   #242
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Re: The grub.cfg backup.. I'll explain more fully later..

Bodge99
 
Old 08-06-2019, 05:49 AM   #243
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
When you boot and let the text scroll by, can you eventually log in, and if so what works and what doesn't?
 
Old 08-06-2019, 05:57 AM   #244
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
[QUOTE=bodge99;6022011]Hi
I thought you might have booted from flashdrive as you stated "file not found" when using:
Code:
cat /boot/grub/grub.cfg | grep vmlinuz-5.2.6
No, I was and still am running Mint from the eMMC drive.

Quote:
Re: The fast scrolling text. I do think that this actually is the same as the video. The guy there was running Linux in a virtual environment which will be much slower.. but don't worry about this for now.
OK, I shan't worry about it for now, although I would very much like to get that sorted out eventually, if at all possible.

Quote:
Re: The 5.2.6 kernel. At the moment, this is the default kernel.. unless the boot delay is set to zero, you should get the Grub menu.
I have not touched the boot delay, so theoretically it should still be at default, which something like 10 secs if I am not mistaken. But it is what it is, and I don't get to see it.

Quote:
You could try this: Install grub-customizer as you did earlier (from the PPA). Run it when it's installed and set an earlier kernel as the default.
No !!! I don't want to do that as it is really advised against:
Quote:
There's a third-party tool called Grub Customizer, which massively complicates your bootloader.
You can read the full article here: https://easylinuxtipsproject.blogspo...ustomizer.html
Is there any other way?

Quote:
How are you running ukuu ?
I have it installed on the eMMC. I looked at the settings and there is an option to set the Grub menu timeout. The check box was empty, so I checked it and set the time to 10 secs, shut down the computer and did a cold boot. The menu did not appear and it went into the flashing logo/text vomit endlessly, I eventually forced the shutdown.

Quote:
Run ukuu and uninstall kernel 5.2.6 completely. Now reinstall it.
After letting the computer sit I powered on again, and got the Grub menu. Advanced options, clicked on 5.2.4 generic. Unfortunately it went into the flashing logo/text vomit endlessly again, so I eventually forced the shutdown.

I let it sit powered off again for a few minutes, powered on, got the Grub menu, clicked on 5.2.4 and it booted into Mint. I removed 5.2.6 with UKUU.

1. It seems to me the flashing logo/text vomit endlessly indicates a loop it cannot break out of to go to the next step of the boot process, although sometimes it does, given enough cool off time, or so it seems.

2. What is the advantage of trying to force 5.2.6 to work? In my modest opinion, I think I should forget about 5.2.6 and stay with 5.2.4.
 
Old 08-06-2019, 06:16 AM   #245
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
When you boot and let the text scroll by, can you eventually log in, and if so what works and what doesn't?
No, I cannot log in, I have to force a shutdown.

What I have noticed is when the text scroll does stop and it boots into Mint, the Super key works in that pressing it brings up the menu. In the menu I can use the search box to find an app/setting. But when I put the computer in Suspend, then bring it out of Suspend the Super key does not bring up the menu, that can only be done by clicking on the LM logo in the bottom left corner, and the search box does not work anymore.

In fact, the keyboard does not work anymore after coming out of Suspend.

Last edited by Klaas Vaak; 08-06-2019 at 06:18 AM.
 
Old 08-06-2019, 07:42 AM   #246
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
With the 5.2.4. kernel and after all the updates/upgrades and xfce reinstall are you still having this problem

Quote:
But, like I mentioned before, the close/minimise/maximise buttons do not appear
 
Old 08-06-2019, 07:47 AM   #247
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
With the 5.2.4. kernel and after all the updates/upgrades and xfce reinstall are you still having this problem
Thanks for checking. No, I do not have that problem anymore.
 
Old 08-06-2019, 08:03 AM   #248
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
Quote:
What is the advantage of trying to force 5.2.6 to work? In my modest opinion, I think I should forget about 5.2.6 and stay with 5.2.4.
If everything works with the 5.2.4 kernel, I would suggest using it for the time being.
The grub menu entry for each kernel, is there anything different other than the kernel version on the Linux line?

Last edited by colorpurple21859; 08-06-2019 at 08:08 AM.
 
1 members found this post helpful.
Old 08-06-2019, 08:34 AM   #249
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
If everything works with the 5.2.4 kernel, I would suggest using it for the time being.
The grub menu entry for each kernel, is there anything different other than the kernel version on the Linux line?
You may recall the difficulty I had with getting AntiX off the eMMC, with (part of) the reason being that other distros I tried, incl. Mint, did not detect the eMMC card.

Bodge99 then found out by doing an experiment on a computer/tablet that's virtually exactly the same as mine, that the kernel in those distros was not up-to-date enough to be able to detect the eMMC, and that only a latest stable release as shown by UKUU would do the job. I picked up the latest from UKUU, but there have subsequently 2 newer versions: 5.2.5, which I missed, and 5.2.6.

But now that I have Mint installed on the eMMC, I wonder if the normal Linux line kernel would not work too.

BTW, not everything works with the 5.2.4 kernel: I have a post-suspense problem - see my comment #245. And that IS a serious problem.

Last edited by Klaas Vaak; 08-06-2019 at 08:39 AM.
 
Old 08-06-2019, 08:47 AM   #250
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
Quote:
I wonder if the normal Linux line kernel would not work too.
Are you talking about kernel 4.15?Try it and see what happens
 
1 members found this post helpful.
Old 08-06-2019, 09:05 AM   #251
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
add this to the Linux line of grub menuentry and see if it fixes the suspend problem
Code:
atkbd.reset=1 i8042.nomux=1 i8042.reset=1 i8042.nopnp=1 i8042.dumbkbd=1

Last edited by colorpurple21859; 08-06-2019 at 09:07 AM.
 
1 members found this post helpful.
Old 08-06-2019, 09:23 AM   #252
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi

Backing up grub.cfg:

Performing this is totally up to you.. The Grub tools don't automatically make a backup of the grub.cfg file.

Although it's quite easy to recreate the grub.cfg using the normal tools, it's not a one command operation if you cannot boot normally..

Consider this scenario: You've updated your kernel (either by using ukuu or by using the Mint kernel update tools..) Something goes wrong and you find that you now cannot access your Grub menu.

Now, O.K. this is normally very unlikely to happen on your main laptop, for example, or on any other "stable" computer.
If this was to happen, you could simply boot from a flashdrive and replace the current grub.cfg with your "known good" backup.
Simple to do and very quickly done.

At this stage, I'd view your Lenovo as "work in progress". You've made significant progress in getting Mint onto the system. It seems to be booting reasonably O.K. but it looks like it now needs a little "fettling".

This is solely due to the fact that the SOC/CPU and some of the associated hardware is slightly "non-mainstream" at the moment.
Your computer has slight hardware quirks that are down to the computer manufacturer's hardware choices and their specific design implementation of these.

I'll give a recent example:

When the Bay Trail SOC/CPU packages were first released, Intel released technical information that included a standard reference main board design.
The kernel guys added early Linux support using technical data from this "standard reference design" and other technical documentation to provide support by the kernel.

Of course, some manufacturer's deviated from the "standard", meaning that some parts of the hardware wouldn't work at all with the then current Linux kernels (audio, wifi & bluetooth are examples). Basically manufacturer hardware changes "broke" specific kernel support for some of the hardware.

Once these quirks are known about, kernel support can be improved. It often is, fairly quickly..

In other cases, particular hardware has to set up in a specific way to suit some of these hardware "quirks". Some changes can be viewed as "workarounds" and some become the "de facto" method for setting up this hardware properly.

We now need to look at the video configuration and tweak things to suit.

On cold boot, the firmware provides basic video hardware configuration. When Grub boots, the video hardware configuration may be changed.. (video modes etc.).
When the kernel starts, further changes **may** be made.. Finally, Xorg will auto-detect and apply settings that should work with your display..
All of these process should ideally "sync" so that the handover from one stage to another is totally seamless to the user.

I think it shows the good work that the kernel and Xorg guys do, as **most** of the time the whole process is just about flawless.

Bodge99

Last edited by bodge99; 08-06-2019 at 10:31 AM.
 
Old 08-06-2019, 09:34 AM   #253
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
H,

I've just seen your last post.. The suspend problem **may** be down to this:
Quote:
Bay Trail SoCs are known to be critical in Linux. This ranges from installation problems to crashes every minute. Intel knows the problem. It stands in an errata under the abbreviation VLP52 and is classified as No Fix , so Intel does not fix it .

Affected by the freeze, which usually occurs a few minutes after booting the system, are SoCs such as J1900, Celeron N2840, Celeron N2940, Atom Z3736F and Pentium N3540. The error that caused the crash was initially suspected in the GPU, but then localized in the power management of the chip and is described in a Bugzilla bug report. The problems only occur with many users if a graphical user interface is used.

The problem occurs when the system enters sleep mode C-State 6 (C6) after an interrupt service routine (ISR) is started but before it is terminated and the program continues at the interrupted location. A previously used workaround was to set the processor to C state 1 by passing the intel_idle.max_cstate = 1 parameter to the kernel . However, this leads to increased energy consumption and thus to shorter battery life.
Some of the specific Bay Trail problems have been fixed in the later kernels whereas others have to be addressed by "workarounds".
I'd suggest that you try the kernel options as suggested by Colorpurple21859 . If these don't help then there are others that should..

Bodge99
 
Old 08-06-2019, 11:05 AM   #254
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
Are you talking about kernel 4.15?Try it and see what happens
It does not work: it does not get beyond the scrolling flashing text vomit stream.So that settles it. Bodge99 was right.
 
Old 08-06-2019, 11:06 AM   #255
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Klaas, Re. post #244:
Quote:
No, I was and still am running Mint from the eMMC drive.
I understood that you had installed kernel 5.2.6 . As the command I gave returned "file not found" this meant that you had either typed the wrong command or that kernel 5.2.6 had not been properly installed. This could also be the reason why you couldn't boot kernel 5.2.6 .

Grub-customizer: I was aware that the utility make changes to the Grub config files. I agree that it would be much better if it didn't, but your linked article is a little OTT IMHO. Nothing in Linux is "set in stone". You have multiple copies of these files available to you anyway. They are on your flashdrive Mint installation and on your other Mint laptop. Grub is a standard set of packages in Ubuntu or Mint etc. You could **easily** replace these files using the Mint Software Manager or by using the apt tool in a terminal.

I use grub-customizer in Mint (I don't run any version of Ubuntu at all... personal preference reasons) as it is a useful, quick tool. I run Mint as I recommend it to new starters and my Wife and Daughter use it.

Ukuu and kernel 5.2.6: I'm of the opinion that your current installation of kernel 5.2.6 is incomplete. Uninstalling and reinstalling it with Ukuu would be the easiest and quickest way to find out..

By all means, stay with kernel 5.2.4 if you wish.. It's your computer after all.. Folk here are trying to help you by giving suggestions.. Some will work, others may not due to your specific hardware. With a great deal of these things, the quickest or only way to find out if something works or helps with a particular situation **is to try it**.

As I've said before.. It appeared that your reply to "cat /boot/grub/grub.cfg | grep vmlinuz-5.2.6" indicated the the specific kernel file "vmlinuz-5.2.6-050206-generic" was not contained within the searched grub.cfg . This **looked like** either the kernel version had not been properly installed or that your grub.cfg had not been properly updated.

Bodge99

Last edited by bodge99; 08-06-2019 at 11:59 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Antix best distro for netbook? nejnej25 Linux - Laptop and Netbook 4 01-21-2018 09:02 PM
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM
LXer: Debian-Based antiX MX-16.1 Distro Introduces Experimental Encrypted Home Folders LXer Syndicated Linux News 0 06-11-2017 08:37 AM
LXer: antiX M12 test 2 : A light-weight and fast Linux distro for older systems LXer Syndicated Linux News 0 03-07-2012 11:41 PM
LXer: New AntiX distro makes older hardware usable LXer Syndicated Linux News 0 06-26-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration