Page 4 of 9

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:06 pm
by richb
I do not know if the did anything. Still get the install error.

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 /media/rich/sn
└─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     

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:06 pm
by fehlix
AHH, Argg ....see this
richb wrote:
Sat Nov 10, 2018 4:34 pm

Code: Select all

 lsblk -f
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]
Your efi esp is mounted at /media/sdb1_
Please post

Code: Select all

cat /etc/fstab

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:15 pm
by richb
Yes, sdb is what I am logged in to.

Code: Select all

rich@mxyola:~
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sdb3 :
UUID=2cd25b19-ff2f-4e5b-a318-7b3a66ef7fdd	/	ext4	defaults,relatime	0	0
#Entry for /dev/sda1 :
UUID=49D8-9F3B	/media/sdb1	vfat	noauto,uid=1000,gid=users,dmask=002,fmask=113,users	0	0
#Entry for /dev/sdc1 :
UUID=7B34-0958	/media/sdd1	vfat	noauto,uid=1000,gid=users,dmask=002,fmask=113,users	0	0
#Entry for /dev/sdc5 :
UUID=743cb0a6-bfd9-4b85-84e5-8bf308526733	/media/MX17r_root_b3	ext4	noauto,exec,users	0	0
#Entry for /dev/sdb5 :
UUID=f75c7cf4-cbc6-4219-97e5-209ce987b31a	/media/Data	ext4	defaults,users	0	0
#Entry for /dev/sdc3 :
UUID=184c55f9-094f-40b6-85f2-07a47f4e8fb2	/media/data_SSD	ext4	exec,users	0	0
#Entry for /dev/sdc6 :
UUID=2c6e39d0-7a2b-46a0-86e6-100ad10ed19d	/media/rich/MX17_b3_home	ext4	noauto,exec,users	0	0
#Entry for /dev/sda2 :
UUID=57bc0658-9165-4bd4-9a45-af48cd55f522	/media/rootMX17	ext4	defaults	0	0
#Entry for /dev/sda3 :
UUID=13883c4e-e392-46dc-8d8a-fee954de89f0	/media/homeMX	ext4	defaults	0	0
#Entry for /dev/sdb1 :
UUID=B94A-8813	/media/sdb1_	vfat	defaults,utf8,umask=0	0	2
#Entry for /dev/sdb2 :
UUID=e4e28545-996e-40a4-bc8c-5bde2d211d44	/home	ext4	defaults,exec	0	0
#Entry for /dev/sdb4 :
UUID=68cda3c4-0523-4add-ad69-3cdb75bd10a3	swap	swap	defaults	0	0

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:28 pm
by fehlix
richb wrote:
Sat Nov 10, 2018 5:15 pm
Yes, sdb is what I am logged in to.
Ok fstab is a bit "Disk manager" tuned up :eek:
Now efi partition is missing.
Let's be sure that /dev/sdb1 is realy you'r used booted efi partion

Code: Select all

ls -l /media/sdb1_/EFI/*/grubx64.efi
and

Code: Select all

ls -l /boot/grub/x86_64-efi/*.efi
The last one is probably empty.
EDIT: corrected to "/media/sdb1_"

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:28 pm
by male
The mistake is here:

Code: Select all

#Entry for /dev/sda1 :
UUID=49D8-9F3B	/media/sdb1	vfat	noauto,uid=1000,gid=users,dmask=002,fmask=113,users	0	0
...
#Entry for /dev/sdb1 :
UUID=B94A-8813	/media/sdb1_	vfat	defaults,utf8,umask=0	0	2
...

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:35 pm
by richb

Code: Select all

$ ls -l /media/sdb1/EFI/*/grubx64.efi
ls: cannot access '/media/sdb1/EFI/*/grubx64.efi': No such file or directory

Code: Select all

$ ls -l /boot/grub/x86_64-efi/*.efi
-rw-r--r-- 1 root root 121856 Mar  4  2018 /boot/grub/x86_64-efi/core.efi
-rw-r--r-- 1 root root 121856 Mar  4  2018 /boot/grub/x86_64-efi/grub.efi

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 5:39 pm
by fehlix
richb wrote:
Sat Nov 10, 2018 5:35 pm

Code: Select all

$ ls -l /media/sdb1/EFI/*/grubx64.efi
ls: cannot access '/media/sdb1/EFI/*/grubx64.efi': No such file or directory
Yes this was a test :p

Code: Select all

ls -l /media/sdb1_/EFI/*/grubx64.efi
missed /media/sdb1_ with trailing underscore

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 6:08 pm
by richb

Code: Select all

$ ls -l /media/sdb1_/EFI/*/grubx64.efi
-rwxrwxrwx 1 root root 121856 Mar  4  2018 /media/sdb1_/EFI/MX17/grubx64.efi

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 6:25 pm
by fehlix
richb wrote:
Sat Nov 10, 2018 6:08 pm

Code: Select all

$ ls -l /media/sdb1_/EFI/*/grubx64.efi
-rwxrwxrwx 1 root root 121856 Mar  4  2018 /media/sdb1_/EFI/MX17/grubx64.efi
OK, look like /dev/sdb1 is your efi:
Now let's fix it:
First we do an unmount of /dev/sdb1

Code: Select all

sudo umount /dev/sdb1
Now we change within /etc/fstab this:

Code: Select all

#Entry for /dev/sdb1 :
UUID=B94A-8813	/media/sdb1_	vfat	defaults,utf8,umask=0	0	2
to

Code: Select all

#Entry for /dev/sdb1  :
UUID=B94A-8813	/boot/efi	vfat	defaults   	0	2
so that fstab look like:

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sdb1  :
UUID=B94A-8813	/boot/efi        vfat    defaults        0  2

#Entry for /dev/sdb3 :
UUID=2cd25b19-ff2f-4e5b-a318-7b3a66ef7fdd	/	ext4	defaults,relatime	0	0
#Entry for /dev/sda1 :
UUID=49D8-9F3B	/media/sdb1	vfat	noauto,uid=1000,gid=users,dmask=002,fmask=113,users	0	0
#Entry for /dev/sdc1 :
UUID=7B34-0958	/media/sdd1	vfat	noauto,uid=1000,gid=users,dmask=002,fmask=113,users	0	0
#Entry for /dev/sdc5 :
UUID=743cb0a6-bfd9-4b85-84e5-8bf308526733	/media/MX17r_root_b3	ext4	noauto,exec,users	0	0
#Entry for /dev/sdb5 :
UUID=f75c7cf4-cbc6-4219-97e5-209ce987b31a	/media/Data	ext4	defaults,users	0	0
#Entry for /dev/sdc3 :
UUID=184c55f9-094f-40b6-85f2-07a47f4e8fb2	/media/data_SSD	ext4	exec,users	0	0
#Entry for /dev/sdc6 :
UUID=2c6e39d0-7a2b-46a0-86e6-100ad10ed19d	/media/rich/MX17_b3_home	ext4	noauto,exec,users	0	0
#Entry for /dev/sda2 :
UUID=57bc0658-9165-4bd4-9a45-af48cd55f522	/media/rootMX17	ext4	defaults	0	0
#Entry for /dev/sda3 :
UUID=13883c4e-e392-46dc-8d8a-fee954de89f0	/media/homeMX	ext4	defaults	0	0

#Entry for /dev/sdb2 :
UUID=e4e28545-996e-40a4-bc8c-5bde2d211d44	/home	ext4	defaults,exec	0	0
#Entry for /dev/sdb4 :
UUID=68cda3c4-0523-4add-ad69-3cdb75bd10a3	swap	swap	defaults	0	0
now we remount to /boot/efi:

Code: Select all

sudo mount -a
now let's finish the reconfigure of grub-pc

Code: Select all

sudo apt-get install -f
and finally

Code: Select all

sudo grub-install
No typo's intended :crossfingers:

Re: Nov 10 updates - grub-pc

Posted: Sat Nov 10, 2018 6:33 pm
by Richard
I got the delayed 46 item upgrade this afternoon through the Brasilian repo.
Dolphin_Oracle's video relieved the anxiety of making the upgrade. :)

Upgraded and all is well, again. :)