LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2021, 09:01 PM   #46
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
Post the output of
Code:
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 ext4 1.0 rootMX21 fa0d630d-3523-40a3-89cf-af8eda7c5bc5 191.2G 4% /
└─sda2 swap 1 swapMX f76bb067-85a0-4664-9b11-4304f02c8d81 [SWAP]
sr0
nvme0n1
├─nvme0n1p1 vfat FAT32 ESP 284A-8C34
├─nvme0n1p2
├─nvme0n1p3 ntfs OS 90588A045889E8F4
├─nvme0n1p4 ntfs 40CABA47CABA38CC
├─nvme0n1p5 ntfs CA8C19938C197AE1
└─nvme0n1p6 ntfs Image 009029DE9029DB44
 
Old 10-23-2021, 09:49 PM   #47
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Change it to
Code:
sudo mount /dev/nvme0n1p1 /boot/efi
sudo grub-install --target=x86_64-efi

Last edited by colorpurple21859; 10-23-2021 at 09:51 PM.
 
Old 10-23-2021, 09:58 PM   #48
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Change it to
Code:
sudo mount /dev/nvme0n1p1 /boot/efi
sudo grub-install --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables are not supported on this system..
Installation finished. No error reported.
 
Old 10-23-2021, 10:02 PM   #49
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Muxpux View Post
Installing for x86_64-efi platform.
grub-install: warning: EFI variables are not supported on this system..
Installation finished. No error reported.
Restarted, but the Grub Customizer doesn't show anything different (such as an additional Windows).
 
Old 10-24-2021, 07:20 AM   #50
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
When you reboot, and press f12 do you have an option to boot mx/debian in efi mode, or an option to boot from a file?
Post your /boot/grub/grub.cfg
Post your /etc/default/grub
Post your /etc/grub.d/40_custom

Last edited by colorpurple21859; 10-24-2021 at 07:23 AM.
 
Old 10-24-2021, 10:26 AM   #51
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
When you reboot, and press f12 do you have an option to boot mx/debian in efi mode, or an option to boot from a file?
Post your /boot/grub/grub.cfg
Post your /etc/default/grub
Post your /etc/grub.d/40_custom
No boot options like that.

Post your /boot/grub/grub.cfg
bash: /boot/grub/grub.cfg: Permission denied

Post your /etc/default/grub
bash: /etc/default/grub: Permission denied

(both also when I go su level)

Post your /etc/grub.d/40_custom
/etc/grub.d/40_custom
# 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.
 
Old 10-24-2021, 11:10 AM   #52
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Post the output of
Code:
uname -r
 
Old 10-24-2021, 11:15 AM   #53
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Post the output of
Code:
uname -r
5.10.0-9-amd64
 
Old 10-24-2021, 06:16 PM   #54
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Muxpux View Post
Already done that without any change.

What I keep getting back at is post #2.

$ sudo os-prober gives me

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Then it asks me for the password, and then nothing.

Tutorial says
"It should find your Linux distro, the Windows installation, and possibly a memory test installation or recovery partition."

Nope.
It should give you that message exactly once. The first time you use 'sudo'. After the first time then it should only ask for your password.

If you are seeing that message more than once then likely you are not entering your password correctly and sudo has not actually been run properly. Only after successfully running for your user (the first time) does sudo set the flag to no longer show that message.
 
Old 10-24-2021, 06:28 PM   #55
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Mount the efi partition to /boot/efi
Code:
 sudo mount /dev/nvme0n1p1 /boot/efi
ls /boot/efi/EFI/
post the output of the “ls /boot/efi/EFI”
 
Old 10-24-2021, 06:42 PM   #56
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Mount the efi partition to /boot/efi
Code:
 sudo mount /dev/nvme0n1p1 /boot/efi
ls /boot/efi/EFI/
post the output of the “ls /boot/efi/EFI”
Acronis Boot dell Microsoft mx

Which sounds good, because that drive has a Acronis installation.

Last edited by Muxpux; 10-24-2021 at 07:02 PM.
 
Old 10-24-2021, 07:06 PM   #57
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Muxpux View Post
Acronis Boot dell Microsoft mx

Which sounds good, because that drive has a Acronis installation.
Restarted, but it doesn't show in the Grub Customizer.
Just wondering... there is a Grub message for a split second on boot...
 
Old 10-24-2021, 11:53 PM   #58
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Muxpux View Post
Restarted, but it doesn't show in the Grub Customizer.
Just wondering... there is a Grub message for a split second on boot...
A s a Newbie, I don't really know how the Grub Customizer is supposed to integrate a Windows installation. But now, I can add "Chainloader", name it Windows, and select a partition. It then shows on boot. However, whatever I choose, I get a "partition not found" message.
 
Old 10-25-2021, 07:07 AM   #59
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Post the output of
cat /boot/grub/grub.cfg
 
Old 10-25-2021, 10:20 AM   #60
Muxpux
Member
 
Registered: Oct 2021
Location: California
Distribution: MX-19.4
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Post the output of
cat /boot/grub/grub.cfg
$ 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 [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
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 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,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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=1920x1080x8
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
insmod gfxmenu
insmod jpeg
insmod png
set theme=($root)/boot/grub/themes/mx_linux/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=7
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=7
fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'MX 21 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fa0d630d-3523-40a3-89cf-af8eda7c5bc5' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=fa0d630d-3523-40a3-89cf-af8eda7c5bc5 ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
submenu 'Advanced options for MX 21 Wildflower' $menuentry_id_option 'gnulinux-advanced-fa0d630d-3523-40a3-89cf-af8eda7c5bc5' {
menuentry 'MX 21 Wildflower, with Linux 5.10.0-9-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-advanced-fa0d630d-3523-40a3-89cf-af8eda7c5bc5' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=fa0d630d-3523-40a3-89cf-af8eda7c5bc5 ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
menuentry 'MX 21 Wildflower, with Linux 5.10.0-9-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-9-amd64-init-systemd-fa0d630d-3523-40a3-89cf-af8eda7c5bc5' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
echo 'Loading Linux 5.10.0-9-amd64 ...'
linux /boot/vmlinuz-5.10.0-9-amd64 root=UUID=fa0d630d-3523-40a3-89cf-af8eda7c5bc5 ro quiet splash init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-5.10.0-9-amd64
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
true
menuentry "Memory test (memtest86+)" {
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 fa0d630d-3523-40a3-89cf-af8eda7c5bc5
else
search --no-floppy --fs-uuid --set=root fa0d630d-3523-40a3-89cf-af8eda7c5bc5
fi
linux16 /boot/memtest86+.bin
}
fi
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# 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/40_custom ###

### BEGIN /etc/grub.d/41_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/41_custom ###
 
  


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
[SOLVED] GRUB bootloader questions.(Can I restore the windows bootloader & windows 10 upgrade) anon261 Linux - General 3 07-19-2015 05:01 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Grub bootloader overwritten by WinXP bootloader, all other os' gone! craigforsure Linux - Newbie 5 03-29-2010 02:49 AM
Replace GRUB Bootloader with WIN NT Bootloader wombat53 Linux - Software 1 09-04-2009 08:56 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

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