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
User avatar
fehlix
Developer
Posts: 4889
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#21

Post by fehlix » Sat Nov 10, 2018 3:52 pm

Stevo wrote:
Sat Nov 10, 2018 3:45 pm
If you have the newer GRUB from the test repo installed, you won't see the Debian Stretch version as an update. Just a possibility.
r u sure? Don't see "buster" grub in testrepo
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
fehlix
Developer
Posts: 4889
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#22

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

richb wrote:
Sat Nov 10, 2018 12:13 pm
In my case grub-pc will not install at all.
@richb,
I'm still not convinced that the issue you reported is not related to the UEFI-grub bug I mentioned recently.
To be sure it is not the case with your UEFI system could you please show the out put of this long and ugly command line:

Code: Select all

sudo xxd -u -ps -l1 /sys/firmware/efi/vars/OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c/data
The command will read and print out the first byte of an efivar in hexformat, if the file exists anyway.
Please post the output.
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: 19449
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#23

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

fehlix wrote:
Sat Nov 10, 2018 2:27 pm
richb wrote:
Sat Nov 10, 2018 1:08 pm
update-grub runs

grub install returns

Code: Select all

bash: grub: command not found
OK, now issue a reconfigure of the missing piece:

Code: Select all

sudo dpkg-reconfigure grub-pc
First go around did not have the dash

Code: Select all

sudo grub-install
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
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
Eadwine Rose
Administrator
Posts: 9374
Joined: Wed Jul 12, 2006 2:10 am

Re: Nov 10 updates - grub-pc

#24

Post by Eadwine Rose » Sat Nov 10, 2018 4:21 pm

*gulp* Reading all this makes me gonna pass on the grub doodle and wait till MX18 ;) Brrr..
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
fehlix
Developer
Posts: 4889
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#25

Post by fehlix » Sat Nov 10, 2018 4:26 pm

richb wrote:
Sat Nov 10, 2018 4:08 pm
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.[/code]
OK, let' see this two:

Code: Select all

lsblk -f
and

Code: Select all

lsblk
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: 19449
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#26

Post by richb » Sat Nov 10, 2018 4:34 pm

Code: Select all

 lsblk -f
NAME   FSTYPE  LABEL         UUID                                 MOUNTPOINT
sda                                                               
├─sda1 vfat                  49D8-9F3B                            
├─sda2 ext4    rootMX17      57bc0658-9165-4bd4-9a45-af48cd55f522 /media/rootMX1
└─sda3 ext4    homeMX        13883c4e-e392-46dc-8d8a-fee954de89f0 /media/homeMX
sdb                                                               
├─sdb1 vfat                  B94A-8813                            /media/sdb1_
├─sdb2 ext4    homeMX-1      e4e28545-996e-40a4-bc8c-5bde2d211d44 /home
├─sdb3 ext4    rootMX17-1    2cd25b19-ff2f-4e5b-a318-7b3a66ef7fdd /
├─sdb4 swap                  68cda3c4-0523-4add-ad69-3cdb75bd10a3 [SWAP]
└─sdb5 ext4    Data          f75c7cf4-cbc6-4219-97e5-209ce987b31a /media/Data
sdc                                                               
├─sdc1 vfat                  7B34-0958                            
├─sdc2                                                            
├─sdc3 ext4    data_SSD      184c55f9-094f-40b6-85f2-07a47f4e8fb2 /media/data_SS
├─sdc4                                                            
├─sdc5 ext4    MX17r_root_b3 743cb0a6-bfd9-4b85-84e5-8bf308526733 
└─sdc6 ext4    MX17_b3_home  2c6e39d0-7a2b-46a0-86e6-100ad10ed19d 
sdd                                                               
├─sdd1 ext4    snap_10_20_18 4366ffe1-fd74-41cd-ae64-5063acbbe1d1 
└─sdd2 vfat    Live-uefi     4418-30D6                            
sde    iso9660 MXLIVE        2018-08-14-11-47-30-00               
└─sde1 iso9660 MXLIVE        2018-08-14-11-47-30-00   

Code: Select all

$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0   512M  0 part 
├─sda2   8:2    0  19.5G  0 part /media/rootMX17
└─sda3   8:3    0  19.5G  0 part /media/homeMX
sdb      8:16   0 232.9G  0 disk 
├─sdb1   8:17   0   511M  0 part /media/sdb1_
├─sdb2   8:18   0  27.1G  0 part /home
├─sdb3   8:19   0  24.4G  0 part /
├─sdb4   8:20   0   7.8G  0 part [SWAP]
└─sdb5   8:21   0 173.1G  0 part /media/Data
sdc      8:32   0 232.9G  0 disk 
├─sdc1   8:33   0   512M  0 part 
├─sdc2   8:34   0     1K  0 part 
├─sdc3   8:35   0 181.3G  0 part /media/data_SSD
├─sdc4   8:36   0   8.3G  0 part 
├─sdc5   8:37   0  14.7G  0 part 
└─sdc6   8:38   0  28.2G  0 part 
sdd      8:48   1  58.4G  0 disk 
├─sdd1   8:49   1  58.4G  0 part 
└─sdd2   8:50   1    50M  0 part 
sde      8:64   1  59.1G  0 disk 
└─sde1   8:65   1     8G  0 part 
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
Developer
Posts: 4889
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#27

Post by fehlix » Sat Nov 10, 2018 4:45 pm

Hmm and this

Code: Select all

sudo parted -l
and are we realy booting efi:

Code: Select all

inxi -Mx
EDIT:
and this

Code: Select all

cat /etc/fstab
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: 19449
Joined: Wed Jul 12, 2006 2:17 pm

Re: Nov 10 updates - grub-pc

#28

Post by richb » Sat Nov 10, 2018 4:51 pm

Code: Select all

$ sudo parted -l
[sudo] password for rich: 
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  538MB   537MB   fat32        EFI System Partition  boot, esp
 2      538MB   21.5GB  21.0GB  ext4
 3      21.5GB  42.5GB  21.0GB  ext4


Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name     Flags
 1      1049kB  537MB   536MB   fat32                    boot, esp
 2      537MB   29.6GB  29.1GB  ext4            primary
 3      29.6GB  55.8GB  26.2GB  ext4
 4      55.8GB  64.2GB  8389MB  linux-swap(v1)
 5      64.2GB  250GB   186GB   ext4


Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdc: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  538MB   537MB   primary   fat32        boot, esp
 2      538MB   46.5GB  46.0GB  extended
 5      539MB   16.3GB  15.7GB  logical   ext4
 6      16.3GB  46.5GB  30.2GB  logical   ext4
 3      46.5GB  241GB   195GB   primary   ext4
 4      241GB   250GB   8886MB  primary


Model: SanDisk Extreme (scsi)
Disk /dev/sdd: 62.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  62.7GB  62.7GB  primary  ext4         boot
 2      62.7GB  62.7GB  52.4MB  primary  fat16        esp


Error: Invalid partition table - recursive partition on /dev/sde.
Ignore/Cancel? 
Note that sdd is a LiveUSB

Code: Select all

$ inxi -Mx
Machine:
  Type: Desktop System: Gigabyte product: N/A v: N/A serial: <root required> 
  Mobo: Gigabyte model: F2A68HM-H v: x.x serial: <root required> 
  UEFI: American Megatrends v: FB date: 04/22/2015 
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
Richard
Posts: 2843
Joined: Fri Dec 12, 2008 10:31 am

Re: Nov 10 updates - grub-pc

#29

Post by Richard » Sat Nov 10, 2018 4:52 pm

I'm running everything with MBR partitions.

I noticed in richb's output that grub is (2.02~beta3-5+deb9u1) from the upgrade.

I have installed (2.02~beta3-5) and was not offered the +deb9u1 upgrade.
As someone mentioned, the problem seems to be for those using GPT, EFI.

Hope a solution is found soon,
and that you have a recent snapshot and a separate data partition.
LT: MX18.3: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge; 8GB RAM; 4.19.0-5-amd64; 119GB SSD 840PRO, Intel Graphics-Audio-Network

NB: antiX19b2full-xfce; MX18.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-5-686, 150GB HDD

User avatar
fehlix
Developer
Posts: 4889
Joined: Wed Apr 11, 2018 5:09 pm

Re: Nov 10 updates - grub-pc

#30

Post by fehlix » Sat Nov 10, 2018 4:56 pm

Ok, I assume the esp mount point is still within the /etc/fstab listed :
So let's mount it again

Code: Select all

sudo mount -a
which shall bring back the efi partition at /boot/efi
just check:

Code: Select all

lsblk -f
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 “MX Help”