Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mint@mint-System-Product-Name:~$ sudo apt dist-upgrade
[sudo] password for mint: Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libllvm11 libllvm12 libmms0 libofa0 mint-backgrounds-una
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mint@mint-System-Product-Name:~$ sudo update-grub Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Found MX 19.4 patito feo (19.4 ) on /dev/sda1
Found Microsoft Windows XP Professional on /dev/sdg1
Found linux image: /boot/vmlinuz-5.15.0-71-generic
Found initrd image: /boot/initrd.img-5.15.0-71-generic
Found MX 19.4 patito feo (19.4 ) on /dev/sda1
Found Microsoft Windows XP Professional on /dev/sdg1
done
mint@mint-System-Product-Name:~$
Well...this an old AMD64 machine I built 10-15 years ago and just tinker with it now. Been running MX for about a year on it which runs fine but decided to go back to Mint as it seems more robust. Im ok with editing the boot each time as it seems to run fine. Anyway...your starting to get a bit over my knowledge level....but if your still willing I'll keep trying! mint@mint-System-Product-Name:~$ efibootmgr -v
EFI variables are not supported on this system. mint@mint-System-Product-Name:~$ sudo parted -l
[sudo] password for mint:
Model: ATA ST3500630AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 246GB 246GB primary ext4 boot
2 246GB 248GB 2147MB primary linux-swap(v1)
3 248GB 249GB 538MB primary fat32
4 249GB 500GB 251GB extended
5 249GB 500GB 251GB logical ext4
Model: WD 1600BB External (scsi)
Disk /dev/sdf: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.3kB 160GB 160GB primary ntfs boot
mint@mint-System-Product-Name:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
fd0
sda
├─sda1
│ ext4 1.0 rootMX19
│ 6e5181d4-1b59-40ff-8133-495a43ecbbd5
├─sda2
│ swap 1 swapMX
│ 0976e1ba-4f22-4307-a02b-91774760b2b6
├─sda3
│ vfat FAT32 BDEE-0667 0 100% /boot/efi
├─sda4
│
└─sda5
ext4 1.0 245d8512-eee9-47a3-8dd9-17952920d509 171.3G 20% /
sdb
sdc
sdd
sde
sdf
└─sdf1
ntfs WD USB 2
1470355270353BB4 10.9G 93% /media/mint/WD USB 2
sr0 mint@mint-System-Product-Name:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=245d8512-eee9-47a3-8dd9-17952920d509 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
UUID=BDEE-0667 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
mint@mint-System-Product-Name:~$
mint@mint-System-Product-Name:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${initrdfail}" = 2 ]; then
set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
set next_entry="${prev_entry}"
set prev_entry=
save_env prev_entry
if [ "${next_entry}" ]; then
set initrdfail=2
fi
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="MX 19.3 patito feo (19.3 ) (on /dev/sda1)"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function initrdfail {
if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
if [ -z "${initrdfail}" ]; then
set initrdfail=1
if [ -n "${boot_once}" ]; then
set prev_entry="${default}"
save_env prev_entry
fi
fi
save_env initrdfail
fi; fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 245d8512-eee9-47a3-8dd9-17952920d509
else
search --no-floppy --fs-uuid --set=root 245d8512-eee9-47a3-8dd9-17952920d509
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=8
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 8 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux_proxy ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if [ ${grub_platform} != pc ]; then
set linux_gfx_mode=keep
elif hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
### END /etc/grub.d/10_linux_proxy ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "MX Linux 19.4 patito feo (19.4 ) (on /dev/sda1)" --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6e5181d4-1b59-40ff-8133-495a43ecbbd5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6e5181d4-1b59-40ff-8133-495a43ecbbd5
else
search --no-floppy --fs-uuid --set=root 6e5181d4-1b59-40ff-8133-495a43ecbbd5
fi
linux /boot/vmlinuz-4.19.0-14-amd64 root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro quiet splash
initrd /boot/initrd.img-4.19.0-14-amd64
}
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/40_custom_proxy ###
menuentry "Linux Mint" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-245d8512-eee9-47a3-8dd9-17952920d509' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 245d8512-eee9-47a3-8dd9-17952920d509
else
search --no-floppy --fs-uuid --set=root 245d8512-eee9-47a3-8dd9-17952920d509
fi
linux /boot/vmlinuz-5.4.0-146-generic root=UUID=245d8512-eee9-47a3-8dd9-17952920d509 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.4.0-146-generic
}
### END /etc/grub.d/40_custom_proxy ###
### BEGIN /etc/grub.d/41_linux_proxy ###
submenu "Advanced options for Ubuntu"{
menuentry "Ubuntu, with Linux 5.15.0-71-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-71-generic-advanced-245d8512-eee9-47a3-8dd9-17952920d509' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 245d8512-eee9-47a3-8dd9-17952920d509
else
search --no-floppy --fs-uuid --set=root 245d8512-eee9-47a3-8dd9-17952920d509
fi
echo 'Loading Linux 5.15.0-71-generic ...'
linux /boot/vmlinuz-5.15.0-71-generic root=UUID=245d8512-eee9-47a3-8dd9-17952920d509 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-71-generic
}
menuentry "Ubuntu, with Linux 5.15.0-71-generic (recovery mode)" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-71-generic-recovery-245d8512-eee9-47a3-8dd9-17952920d509' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 245d8512-eee9-47a3-8dd9-17952920d509
else
search --no-floppy --fs-uuid --set=root 245d8512-eee9-47a3-8dd9-17952920d509
fi
echo 'Loading Linux 5.15.0-71-generic ...'
linux /boot/vmlinuz-5.15.0-71-generic root=UUID=245d8512-eee9-47a3-8dd9-17952920d509 ro recovery nomodeset dis_ucode_ldr
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.15.0-71-generic
}
}
### END /etc/grub.d/41_linux_proxy ###
### BEGIN /etc/grub.d/42_linux_zfs ###
### END /etc/grub.d/42_linux_zfs ###
### BEGIN /etc/grub.d/43_linux_xen ###
### END /etc/grub.d/43_linux_xen ###
### BEGIN /etc/grub.d/44_os-prober_proxy ###
menuentry "Microsoft Windows XP Professional (on /dev/sdg1)" --class windows --class os $menuentry_id_option 'osprober-chain-1470355270353BB4' {
insmod part_msdos
insmod ntfs
set root='hd6,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd6,msdos1 --hint-efi=hd6,msdos1 --hint-baremetal=ahci6,msdos1 1470355270353BB4
else
search --no-floppy --fs-uuid --set=root 1470355270353BB4
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
submenu "Advanced options for MX 19.4 patito feo (19.4 ) (on /dev/sda1)"{
menuentry "Debian GNU/Linux (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-14-amd64--6e5181d4-1b59-40ff-8133-495a43ecbbd5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6e5181d4-1b59-40ff-8133-495a43ecbbd5
else
search --no-floppy --fs-uuid --set=root 6e5181d4-1b59-40ff-8133-495a43ecbbd5
fi
linux /boot/vmlinuz-4.19.0-14-amd64 root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro quiet splash
initrd /boot/initrd.img-4.19.0-14-amd64
}
menuentry "Debian GNU/Linux, with Linux 4.19.0-14-amd64 (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-14-amd64--6e5181d4-1b59-40ff-8133-495a43ecbbd5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6e5181d4-1b59-40ff-8133-495a43ecbbd5
else
search --no-floppy --fs-uuid --set=root 6e5181d4-1b59-40ff-8133-495a43ecbbd5
fi
linux /boot/vmlinuz-4.19.0-14-amd64 root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro quiet splash
initrd /boot/initrd.img-4.19.0-14-amd64
}
menuentry "Debian GNU/Linux, with Linux 4.19.0-14-amd64 (systemd) (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-14-amd64--6e5181d4-1b59-40ff-8133-495a43ecbbd5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6e5181d4-1b59-40ff-8133-495a43ecbbd5
else
search --no-floppy --fs-uuid --set=root 6e5181d4-1b59-40ff-8133-495a43ecbbd5
fi
linux /boot/vmlinuz-4.19.0-14-amd64 root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro quiet splash init=/lib/systemd/systemd
initrd /boot/initrd.img-4.19.0-14-amd64
}
menuentry "Debian GNU/Linux, with Linux 4.19.0-14-amd64 (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-14-amd64-root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro single-6e5181d4-1b59-40ff-8133-495a43ecbbd5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 6e5181d4-1b59-40ff-8133-495a43ecbbd5
else
search --no-floppy --fs-uuid --set=root 6e5181d4-1b59-40ff-8133-495a43ecbbd5
fi
linux /boot/vmlinuz-4.19.0-14-amd64 root=UUID=6e5181d4-1b59-40ff-8133-495a43ecbbd5 ro single
initrd /boot/initrd.img-4.19.0-14-amd64
}
}
### END /etc/grub.d/44_os-prober_proxy ###
### BEGIN /etc/grub.d/45_uefi-firmware ###
### END /etc/grub.d/45_uefi-firmware ###
### BEGIN /etc/grub.d/46_fwupd ###
### END /etc/grub.d/46_fwupd ###
### BEGIN /etc/grub.d/47_custom_proxy ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/47_custom_proxy ###
### BEGIN /etc/grub.d/48_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/48_custom ### mint@mint-System-Product-Name:~$
Booting to MX and running "sudo update-grub" did not fix. MX64@mx:~$ sudo update-grub
[sudo] password for MX64:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-14-amd64
Found initrd image: /boot/initrd.img-4.19.0-14-amd64
Found memtest86+ image: /boot/memtest86+.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/dev/sdd: open failed: No medium found
/dev/sde: open failed: No medium found
/dev/sdf: open failed: No medium found
/dev/sdg: open failed: No medium found
Found Linux Mint 21 Vanessa (21) on /dev/sda5
Found Microsoft Windows XP Professional on /dev/sdc1
done MX64@mx:~$
"Did you use grub-customizer?" - In MX there is some sort of customizer that let me change the appearance as it boots into MX but I did that way before I did the Mint update. mint@mint-System-Product-Name:~$ ls -R /etc/grub.d
/etc/grub.d:
00_header 30_uefi-firmware.dpkg-dist 46_fwupd
05_debian_theme 40_custom_proxy 47_custom_proxy
10_linux.dpkg-dist 41_custom.dpkg-dist 48_custom
10_linux_proxy 41_linux_proxy backup
10_linux_zfs.dpkg-dist 42_linux_zfs bin
20_linux_xen.dpkg-dist 43_linux_xen proxifiedScripts
30_os-prober.dpkg-dist 44_os-prober_proxy README
30_os-prober_proxy 45_uefi-firmware
Those aren't the standard files in /etc/grub.d and I believe is the cause of the problem. Maybe following these instructions will help.
Well...You are officially over my head! Not sure how to go about this one.
Just to let you know I also posted on the Linux Mint Forum to see if anyone over there might have some ideas.
Thanks for your patience in helping me...at least I can boot to Mint now!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.