LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2019, 03:23 PM   #1
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Rep: Reputation: Disabled
Unhappy Installation of Lubuntu 18.04 LTS failed on Acer failed because of GRUB2


My upgrade to Lubuntu 18.04 from 17.04 on Acer Aspire Es-533 failed because package grub 2. My p.c works with dual boot linux- windows 10. In the beginning I have installed lubuntu 17.04 in my system and I had a grub 2 problem which have been fixed. Then I installed windows 10 and the dual boot worked very well until I decided to install lubuntu 18.04 instead of lubuntu 17.04. The installation went well until the setup of grub2 package. I didn't receive any error message but my system blocked. But using the command /sudo ubiquity b/ the installation run well. Actually I can boot only on windows 10 or on the lubuntu 18.04 live usb. When I plug out the iso usbm and choose to boot on my linux I had error message on the screen /Minimal BASH-like line editing is supported..For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions./Can these details help any one to fix my problem? I really Hope so.
 
Old 01-08-2019, 05:21 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
If you know what drive/partition your lubuntu is on you can do this
Code:
set root=(hd0,?)   
linux /vmlinuz root=/dev/sda? 
initrd /initrd.img
? is partition number lubuntu is on.
once you boot ino lubuntu check in /boot/grub and see if your grub directories and grub.cfg are there. If only grub.cfg is missing then run
Code:
sudo update grub
and see if that fixes the problem. if not or the grub directories are missing in /boot/grub then
Code:
sudo grub-install /dev/sda
this is assuming if this is a uefi system your efi partition is mounted at /boot/efi and either you have one drive or lubuntu is on the first drive.

If you don't know you can use ls to located it.
ls will give you a list of drives/partitions and to see what is in say sda3 as an example it will be
Code:
ls (hd0,3)/

Last edited by colorpurple21859; 01-08-2019 at 05:26 PM.
 
Old 01-09-2019, 05:11 PM   #3
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks colorpurple21859, I executed the first commands one by one in the second " linux /vmlinuz root=/dev/sda?" I changed ? by the number of my lubuntu partition but the answer of grub>is no server is specified. Then I stopped running the other lines of command. What can I do else?
 
Old 01-09-2019, 05:47 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
You can much more detailed information to post by running the boot repair software which you can obtain at the link below. Use the 2nd option on the page to download using the pa and then run boot repair per instructions on the page. Make sure you do NOT try to make any repairs but select the option to Create BootInfo Summary. When this finishes, it will give you a link you can post here and members will be able to see details on the system and hopefully, offer a solution.

https://help.ubuntu.com/community/Boot-Repair

This should tell us whether you have both windows 10 and Lubuntu installed in UEFI or Legacy or you have mixed them in addition to a lot of other useful information.
 
1 members found this post helpful.
Old 01-09-2019, 08:51 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
but the answer of grub>is no server is specified.
yes, time for boot-repair
 
1 members found this post helpful.
Old 01-10-2019, 05:59 AM   #6
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
Cool Boot-info report

Thanks yancek and colorpurple21859, its done and this is the link for the boot info report:http://paste.ubuntu.com/p/jk2KHbbPPd/
 
Old 01-10-2019, 06:48 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
You have an EFI install of both windows and Lubuntu and correct EFI files for both systems on the EFI partition. The grub.cfg file on the EFI partition is pointing to the correct partition (sda4) with your Lubuntu install where the Grub files should be. There are no Grub files shown which should include the actual grub.cfg on that partition with the various menuentries. The boot repair output does show some entries for Linux from the efibootmgr options but there is no way to tell if that is the new or the old install of Lubuntu. Probably the old.

You can either try re-installing Grub or the entire OS. Is this Acer fairly new? Newer Acer computers require you to set 'trust' in the BIOS to install a new non-windows system.
 
Old 01-10-2019, 08:10 AM   #8
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks again, , I don't know what I have to do, so I wonder if the re-installing of the entire OS ( which is Lununtu 18.04.1 LTS, isnt'it?) would'nt faile again because of the grub problem . For re-installing Grub, I really don't know how manage that exept using Boot repair as it is suggested in the Boot Info report
Quote:
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda4, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s fix-windows-boot use-standard-efi-file
.
What do you think of that?

As more informations on my Acer, this is a summury of my haedware ans system:

System: Kernel: 4.10.0-19-generic x86_64 (64 bit gcc: 6.3.0)
Desktop: LXDE (Openbox 3.6.1) dm: lightdm Distro: Ubuntu 17.04
Machine: Device: laptop System: Acer product: Aspire ES1-533 v: V1.04
Mobo: Acer model: Stego_AP v: V1.04
UEFI: Insyde v: V1.04 date: 09/07/2016
Battery BAT1: charge: 26.8 Wh 89.9% condition: 29.9/32.5 Wh (92%)
volts: 12.2/11.3
model: COMPAL 0038314234314341 status: Discharging
CPU: Dual core Intel Celeron N3350 (-MCP-) cache: 1024 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 4377
clock speeds: min/max: 800/2400 MHz 1: 1586 MHz 2: 1586 MHz
3: 2390 MHz
Memory: Array-1 capacity: 16 GB devices: 2 EC: None
Device-1: ChannelA-DIMM0 size: 2 GB speed: 1600 MHz type: DDR3
manufacturer: N/A part: N/A
Device-2: N/A size: N/A speed: N/A type: N/A
manufacturer: N/A part: N/A
Device-3: N/A size: N/A speed: N/A type: N/A
manufacturer: N/A part: N/A
Device-4: N/A size: N/A speed: N/A type: N/A
manufacturer: N/A part: N/A
Graphics: Card: Intel Device 5a85 bus-ID: 00:02.0 chip-ID: 8086:5a85
Display Server: X.Org 1.19.3 drivers: modesetting (unloaded: fbdev,vesa)
tty size: 1366x768@59.97hz
GLX Renderer: Mesa DRI Intel HD Graphics 500 (Broxton 2x6)
GLX Version: 3.0 Mesa 17.0.3 Direct Rendering: Yes
Audio: Card Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
driver: snd_hda_intel bus-ID: 00:0e.0 chip-ID: 8086:5a98
Sound: Advanced Linux Sound Architecture v: k4.10.0-19-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 1000
bus-ID: 01:00.0 chip-ID: 10ec:8168
IF: enp1s0 state: down mac: <filter>
Card-2: Intel Device 24fb
driver: iwlwifi bus-ID: 02:00.0 chip-ID: 8086:24fb
IF: wlp2s0 state: up speed: N/A duplex: N/A mac: <filter>

Last edited by Bouhaone; 01-10-2019 at 08:41 AM. Reason: adding information about my hardware system
 
Old 01-10-2019, 05:20 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
I don't think the suggested repair would help as you already have the correct Grub/boot files on the EFI partition. The problem is that Grub does not appear to be installed on the root partition where Lubuntu is installed. You might take a look at the Advanced options in boot repair to see if there is anything which will reinstall Grub and create a grub.cfg file.

Looking at the boot repair output again, your EFI partition does not seem to be marked active. You should have GParted on the Lubuntu install usb so open that and click on the EFI partition in the main window (sda1) to highlight it then click on the Partition tab at the top and in the drop down menu, click on Manage Flags. You should see a number of options with check boxes. Make sure to check the boxes for boot and esp.

I don't think that will make it bootable because you don't have the Grub files on the system partition. Probably the only solution is to reinstall Lubuntu and make sure to take notes of any warning/error messages you might get, if any.
 
Old 01-10-2019, 06:17 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
to reinstall grub manually from live usb:
check and make sure your in uefi mode and not legacy:
make sure efivars exit.
Code:
ls /sys/firmware/efi/efivars
then to reinstall grub.
Code:
sudo mkdir /mnt/sda4
sudo mount /dev/sda4 /mnt/sda4
sudo mount /dev/sda1 /mnt/sda4/boot/efi
sudo mount --bind /dev /mnt/sda4/dev
sudo mount --bind /proc /mnt/sda4/proc
sudo mount --bind /sys /mnt/sda4/sys
sudo chroot /mnt/sda4
grub-install /dev/sda
update-grub
exit
reboot

Last edited by colorpurple21859; 01-10-2019 at 06:38 PM.
 
Old 01-11-2019, 07:51 AM   #11
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
re-installation failed again

@yancek. I did what you recommanded me to do:
1. in the Gparted, the boxes for boot and esp are checked
2.I cheked the Usb of lubuntu installation, it's O.K
3.I began the re-installation and it failed in the same stage, grub2 package

@colorpurple21859. I did what you suggested me to do to reinstall grub manually from live usb: all things worked well until the step " grub-install /dev/sda" when the system stopped moving.
What can else do?
 
Old 01-11-2019, 10:10 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
did you get any messages before it stopped moving, Did the efivars exist?

Last edited by colorpurple21859; 01-11-2019 at 10:11 AM.
 
Old 01-11-2019, 10:40 AM   #13
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
@colorpurple21859
No, I didn't get any error message. For efivars, I run the command " ls /sys/firmware/efi/efivars " and it seemed that O.K
 
Old 01-11-2019, 10:44 AM   #14
Bouhaone
Member
 
Registered: Jan 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
@ colorpurple21859, No I didn't get any error message before the system stopped moving. For the efivars, I run, to check it, " ls /sys/firmware/efi/efivars". And it seemed to me that it was oK.
 
Old 01-11-2019, 11:36 AM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
do you have secure-boot disabled in the bios?
 
  


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
LXer: Canonical Patches OpenSSL Regression in Ubuntu 16.04 LTS, 14.04 LTS and 12.04 LTS LXer Syndicated Linux News 0 09-27-2016 12:32 PM
LXer: Xubuntu 16.04 LTS and Lubuntu 16.04 LTS Released, Get Three Years of Support LXer Syndicated Linux News 0 04-23-2016 08:21 AM
LXer: Xubuntu 16.04 LTS and Lubuntu 16.04 LTS Get Their Final Betas LXer Syndicated Linux News 0 03-28-2016 08:30 AM
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 PM.

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