Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 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

Nov 10 updates - grub-pc

Help for Current Versions of MX
Post Reply
User avatar
peregrine
Forum Guide
Forum Guide
Posts: 1186
Joined: Wed Jul 12, 2006 7:39 am

Nov 10 updates - grub-pc

#1

Post by peregrine » Sat Nov 10, 2018 11:35 am

Nov 10 updates
I am totally confused here with grub-pc.
I selected to keep the current config, I though. Now the screen goes to Configuring grub-pc.

Code: Select all

 │ You chose not to install GRUB to any devices. If you continue, the boot   │ 
 │ loader may not be properly configured, and when this computer next        │ 
 │ starts up it will use whatever was previously in the boot sector. If      │ 
 │ there is an earlier version of GRUB 2 in the boot sector, it may be       │ 
 │ unable to load modules or handle the current configuration file.          │ 
 │                                                                           │ 
 │ If you are already using a different boot loader and want to carry on     │ 
 │ doing so, or if this is a special environment where you do not need a     │ 
 │ boot loader, then you should continue anyway. Otherwise, you should       │ 
 │ install GRUB somewhere.                                                   │ 
 │                                                                           │ 
 │ Continue without installing GRUB? 
I chose "no" since I do not have another boot loader

Code: Select all

The grub-pc package is being upgraded. This menu allows you to select     │ 
 │ which devices you'd like grub-install to be automatically run for, if     │ 
 │ any.                                                                      │ 
 │                                                                           │ 
 │ Running grub-install automatically is recommended in most situations, to  │ 
 │ prevent the installed GRUB core image from getting out of sync with GRUB  │ 
 │ modules or grub.cfg.                                                      │ 
 │                                                                           │ 
 │ If you're unsure which drive is designated as boot drive by your BIOS,    │ 
 │ it is often a good idea to install GRUB to all of them.                   │ 
 │                                                                           │ 
 │ Note: it is possible to install GRUB to partition boot records as well,   │ 
 │ and some appropriate partitions are offered here. However, this forces    │ 
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and    │ 
 │ therefore is not recommended.
I hit ok
Now I get a list of grub install devices, the correct one already has a red mark beside it so I click ok
And it drops me back to the first block of text above.

How do I back out of this until I know more.
Asus A78M - AMD A10-6800K - 8GB Ram - 120GB SSD - Samsung SyncMaster 2243SWX LCD MX18 ------ Asus X550LA intel i5 4200 / MX18.1 | W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 25383
Joined: Wed Jul 19, 2006 6:13 am

Re: Nov 10 updates - grub-pc

#2

Post by Jerry3904 » Sat Nov 10, 2018 11:55 am

That is totally messed up. I found that if I hit the space bar when the first entry has that red square, then tab to get to ok, then the space bar again--that worked for me.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
richb
Administrator
Posts: 19248
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#3

Post by richb » Sat Nov 10, 2018 12:13 pm

In my case grub-pc will not install at all.

f

Code: Select all

ull upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-pc (2.02~beta3-5+deb9u1) ...
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)


full upgrade complete (or was canceled)

this terminal window can now be closed (press any key to close)
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4597
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#4

Post by fehlix » Sat Nov 10, 2018 12:24 pm

richb wrote:
Sat Nov 10, 2018 12:13 pm
In my case grub-pc will not install at all.

f

Code: Select all

ull upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-pc (2.02~beta3-5+deb9u1) ...
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)


full upgrade complete (or was canceled)

this terminal window can now be closed (press any key to close)
Please run gain from command line:

Code: Select all

sudo apt-get install -f
This shall trigger the post install again, hopefully.
And show the output please.
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
richb
Administrator
Posts: 19248
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#5

Post by richb » Sat Nov 10, 2018 12:32 pm

Same error.

Code: Select all

sudo apt-get install -f
[sudo] password for rich: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02~beta3-5+deb9u1) ...
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4597
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#6

Post by fehlix » Sat Nov 10, 2018 12:43 pm

Is that's UEFI or BIOS booted system.
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
richb
Administrator
Posts: 19248
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#7

Post by richb » Sat Nov 10, 2018 1:00 pm

UEFI. Is that the issue? Sounds like it might be, grub-pc is installed.

r

Code: Select all

oot@mxyola:/home/rich# apt-cache policy grub-pc
grub-pc:
  Installed: 2.02~beta3-5+deb9u1
  Candidate: 2.02~beta3-5+deb9u1
  Version table:
 *** 2.02~beta3-5+deb9u1 500
        500 http://ftp.it.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4597
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#8

Post by fehlix » Sat Nov 10, 2018 1:04 pm

richb wrote:
Sat Nov 10, 2018 1:00 pm
UEFI. Is that the issue? Sounds like it might be, grub-pc is installed.
It might be, as I "discovered" recently one uefi bug, not sure if is related here.
Would update-grub run? (as this is also part of the post-install.)

Code: Select all

sudo update-grub
and would install grub run: ( as we are in uefi not target needed)

Code: Select all

sudo grub-install
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
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 12160
Joined: Sun Dec 16, 2007 1:17 pm

Re: Nov 10 updates - grub-pc

#9

Post by dolphin_oracle » Sat Nov 10, 2018 1:06 pm

I just went throught the updates this morning, keeping the /etc/default/grub file as we have it set up, and that was the only question I got. I was not asked to do any installation of grub.

I'm in a dual-boot, grub is UEFI, and MX controls my grub. What about the rest of you?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18.3
lenovo s21e - antiX-19 beta 2 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
richb
Administrator
Posts: 19248
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#10

Post by richb » Sat Nov 10, 2018 1:08 pm

update-grub runs

grub install returns

Code: Select all

bash: grub: command not found
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

Post Reply

Return to “MX Help”