Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

What's up with GRUB prompt after install?

Post Reply
Message
Author
User avatar
forliberty
Forum Novice
Forum  Novice
Posts: 3
Joined: Fri Sep 14, 2018 8:05 am

What's up with GRUB prompt after install?

#1 Post by forliberty » Fri Sep 14, 2018 8:19 am

Been running Linux (mostly Lubuntu & LXDE Debian) for 9 years. A friend kept raving to me about MX Linux, so when I bought my new laptop, thought I’d load it up with MX Linux. Works great on Live USB, but just boots to a GRUB prompt when I try to install. Here are the details.

Acer Aspire 5 Intel i3-7100U 8GB 1TB HDD
Am dual-booting with Windows 10.
Disabled fast boot and secure boot.
Using UEFI.
Installed latest August 2018 of 64-bit MX Linux. Installation to ESP completed without issues.
When I tried to boot MX Linux from hard drive, went to GRUB prompt. Ran GRUB repair from MX Linux Live USB, reinstalled GRUB. Still no dice. Tried to rebuild GRUB configuration file, but failed with error “arithmetic expression: expecting EOF: " 1f & 1 "
So on reboot, manually told GRUB what to do (following these instructions: https://www.linux.com/learn/how-rescue- ... 2-linux%20), and was able to boot into MX Linux. Tried to run a GRUB repair from within MX Linux – still no dice – same error about expecting EOF.
Installed Lubuntu on same machine – installed and ran flawlessly.

After a lot of forum searching here, finally saw this post (https://forum.mxlinux.org/viewtopic.php?f=92&t=46013), tried the fix, and voila! Now MX Linux is working.

So my question is, What’s up? I’m happy that MX Linux is running now, but I’d like to know why the install failed in the first place. I’d like to have some idea about the stability of the OS. Hopefully it’s not like CrunchBang – which was my favorite OS, as it ran crazy fast and had awesome features and look, but very finicky to get working properly at times.

Thanks!!

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1424
Joined: Wed Apr 11, 2018 5:09 pm

Re: What's up with GRUB prompt after install?

#2 Post by fehlix » Fri Sep 14, 2018 9:47 am

Welcome to the forum.
The cause of the error you are facing is based on a grub2-script which
comes directly from upstream (debian).
As this is not often reported and not easy to reproduce
we might digg into the debian provided package either fix it on or side
or have bug-report send to debian.

Please show us the system info from within the installed MX17 by pasting the output of the following command

Code: Select all

inxi -Fxz
between the code-tags [code] here [/code]
( press </> above editor box and paste)
Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
forliberty
Forum Novice
Forum  Novice
Posts: 3
Joined: Fri Sep 14, 2018 8:05 am

Re: What's up with GRUB prompt after install?

#3 Post by forliberty » Fri Sep 14, 2018 10:17 am

Hi, Fehlix, and thanks so much for the quick reply!!

Code: Select all

System:    Host: mx Kernel: 4.15.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 Distro: MX-17.1_x64 Horizon March 14, 2018 
Machine:   Type: Laptop System: Acer product: Aspire A515-51 v: V1.02 serial: <filter> 
           Mobo: KBL model: Charmander_KL v: V1.02 serial: <filter> UEFI: Insyde v: 1.02 
           date: 04/14/2017 
Battery:   ID-1: BAT1 charge: 42.7 Wh condition: 49.5/48.9 Wh (101%) model: COMPAL PABAS0241231 
           status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i3-7100U bits: 64 type: MT MCP arch: Kaby Lake 
           rev: 9 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200 
           Speed: 801 MHz min/max: 400/2400 MHz Core speeds (MHz): 1: 842 2: 809 3: 861 4: 753 
Graphics:  Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 13.0.6 
           direct render: Yes 
Audio:     Card-1: Intel driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           v: 2.3LK-NAPI port: 3000 bus ID: 01:00.1 
           IF: eth0 state: down mac: <filter> 
           Card-2: Intel driver: iwlwifi v: kernel port: N/A bus ID: 02:00.0 
           IF: wlan0 state: down mac: <filter> 
Drives:    HDD Total Size: 931.51 GiB used: 4.68 GiB (0.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0 size: 931.51 GiB 
Partition: ID-1: / size: 53.93 GiB used: 4.63 GiB (8.6%) fs: ext4 dev: /dev/sda5 
           ID-2: swap-1 size: 17.58 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 29.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 187 Uptime: 1m Memory: 7.68 GiB used: 435.5 MiB (5.5%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.10 

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1424
Joined: Wed Apr 11, 2018 5:09 pm

Re: What's up with GRUB prompt after install?

#4 Post by fehlix » Fri Sep 14, 2018 10:34 am

Well, thank you for reporting this issue.
Just thinking laud, as there are sometimes other "unforseeable" issues, mainly
with the part related to efivars and also uefi-system-setup menu, we might
think about providing a kind of "fallbak" regardless of the correct created default menu or not,
something like an "expert" (like you seems to be on :number1: ) would do manually
- or in addition like providing directly a chainload-menu entry into installed grub.
The later option shall work in any case for a proper installed grub2.
So the case you brought up, triggers new ideas, which is good!
--fehlix
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Installation”