View previous topic :: View next topic |
Author |
Message |
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Fri May 07, 2021 8:45 pm Post subject: help needed with boot [SOLVED] |
|
|
This gives my efibootmgr -v commmand :
Code: | BootCurrent: 0014
Timeout: 1 seconds
BootOrder: 0014,0010,0017,0018,0000
Boot0000* gentoo VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0010* UEFI OS HD(1,GPT,8083ce3e-3bee-46c3-ade0-8b2a950a3d46,0x200800,0x3d36000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0014* UEFI OS HD(2,GPT,0441213c-255d-4097-92ab-1efacda1cd31,0x17360000,0x3d36000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0017* Hard Drive BBS(HD,,0x0)..GO..NO........}.S.a.m.s.u.n.g. .S.S.D. .9.7.0. .E.V.O. .P.l.u.s. .1.T.B....................A.......................................%8Q.A.v.....4..Gd-.;.A..MQ..L.S.4.E.W.N.J.0.N.1.1.3.6.0.1.Z........BO..NO..........S.T.4.0.0.0.V.N.0.0.8.-.2.D.R.1.6.6....................A.............................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .M.Z.0.4.2.T.L.D........BO
Boot0018* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO..........H.L.-.D.T.-.S.T. .B.D.D.V.D.R.W. .C.H.0.8.L.S.1.0....................A.............................................>..Gd-.;.A..MQ..L.5.H.9.B.F.8.5.5.3.8. .5. . . . . . . . ........BO
|
Gentoo is on the Samsung EVO 970 PLUS with GPT and different partitions. nvme0n1p1 is /boot and nvme0n1p8 is /root futher there are also on this SSD backup from root and boot and one /home partition. He complains he cannot find the file of 5.10.27.xxx
In the computer can in a seperate bay 1 ssd (SATA) and one classical harddisk (SATA) be.
The computer refuses to boot my new kernel 5.10.27, it is compiled and everything is present in /boot, the older ones 5.4.23 and 5.4.22 he boots without problems strangely enough.
I think it is in the bootmgr since he boot boot0014 and Boot0010 before Boot0017. and Boot0000.
In the kernel is also no problem because the other kernels are also 5.10.27 but from an earlier date.
In the CD/DVD is no disc. (BOOT0018)
My questions:
What is BOOT0000 gentoo (is this the VFAT32 partition ?)
Boot0017 should be '/' ?
What is VenHw(99.....) ?
Why UEFI O.S.
Why Harddrive when SSD ?
or is Boot0014 and Boot0010 the discs in the bay ? Why listed even if they aren't present ?
I think he should boot BOOT0017 (nvme0n1p8 ?) but I am not sure, because I do not see the NVME0n1p1 partition on the same drive.
Can someone clear this up for me, and yes I emptied the bays without succes.
Thnx to explain it for me I tried the wike but is not clear on this.
Yes I know how to delete efibootmgr -b 14 -B f.exaple but I need to be sure.
Why does efibootmgr does not scan automatic all valid partitions ?
Since I have changed a lot on the SSD I do not know what it should be.
The motherboard is ASROCK Phantom gaming X with AMD 3900X if that matters.
Thnx for shining a light on this. _________________ Linuxpioneer
ALUG
Last edited by poe_1957 on Thu May 20, 2021 2:29 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4236 Location: Bavaria
|
Posted: Fri May 07, 2021 10:57 pm Post subject: |
|
|
My first question would be: Who is "he" ? ... in:
Quote: | He complains he cannot find the file of 5.10.27.xxx |
Is it your UEFI BIOS itself or is it a bootmanager like e.g. grub2 ?
Do you know all prerequisites for an UEFI boot ?
If you would tell us, what you did before, it would help us: e.g. what did you boot last and how did it boot ? How did you install your new kernel ? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat May 08, 2021 11:29 am Post subject: |
|
|
Hi
the only possibly bootable entries are 0010 and 0014.
All rest do not seem to have booting potential.
Two points
1.Do you use grub?
2.where do you mount the efi partition? _________________
|
|
Back to top |
|
|
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Sat May 08, 2021 11:37 am Post subject: |
|
|
grub2
i did nothing special, installing with a script based on the wiki for systemd and grub2. It worked before multiple times.
The UEFI BIOS is configurated to start on NVME0n1 before anything else.
So normally it would start on nvme0n1p1(fat32), (but not nvme0n1p8 (ext4)).
the file vmlinuzxxxx sits on the fat32 in /boot as all the rest of vmlinuz versions who he does find.
in /boot/EFI/boot is BOOTX64.EFI
in /boot is --EFI
EFI/boot is BOOTX64.EFI 4 may
--grub/ grub.cfg (7 may)
grubenv (3 mars)
/fonts
/locale (4 may)
/themes
/x86_64-efi (4may)
you wrote:
Do you know all prerequisites for an UEFI boot ?
Maybe not, otherwise i would not have this problem I think.My biggest problem is he does find in the same directory the other files AND boot from them without a problem. If he would not boot none of them then it was clear.
On the /root the /boot is empty with exemption 1 file 'THIS IS NOT BOOT.txt'
my grub.cfg : i cannot find an error.
Code: | #
# 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
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_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 764c1b6c-ba4a-4c7c-9fe5-9140ccce724c
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=nl_BE
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
play 60 800 1
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210502' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210502-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210502...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502 root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210502 (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210502-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210502...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502 root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210502.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210502.old-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210502.old...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502.old root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210502.old (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210502.old-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210502.old...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502.old root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210501' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210501-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210501...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210501 root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210501 (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210501-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210501...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210501 root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210423' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210423-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210423...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210423 root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210423 (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210423-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210423...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210423 root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210422' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210422-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210422...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210422 root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.10.27-gentooSYSTEMD_ZEN_210422 (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.27-gentooSYSTEMD_ZEN_210422-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.10.27-gentooSYSTEMD_ZEN_210422...'
linux /vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210422 root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.4.72-gentooSYSTEMD_ZEN_201202' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.72-gentooSYSTEMD_ZEN_201202-advanced-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.4.72-gentooSYSTEMD_ZEN_201202...'
linux /vmlinuz-5.4.72-gentooSYSTEMD_ZEN_201202 root=/dev/nvme0n1p8 ro init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0 root=/dev/nvme0n1p8
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
menuentry 'Gentoo GNU/Linux, met Linux 5.4.72-gentooSYSTEMD_ZEN_201202 (herstelmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.4.72-gentooSYSTEMD_ZEN_201202-recovery-764c1b6c-ba4a-4c7c-9fe5-9140ccce724c' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 21F9-D20B
echo 'Laden van Linux 5.4.72-gentooSYSTEMD_ZEN_201202...'
linux /vmlinuz-5.4.72-gentooSYSTEMD_ZEN_201202 root=/dev/nvme0n1p8 ro single init=/usr/lib/systemd/systemd acpi_osi="Linux" resume=/dev/nvme0n1p5 pci=nomsi,noaer net.ifnames=0
echo 'Laden van initiële RAM-schijf...'
initrd /amd-uc.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
|
Kernel was installed as usual through emerge -avuDNU @world
link is ok usr/src/linux --> /usr/src/linux-5.10.27-gentoo with eeselect kernel list because the previously kernel was also 5.10.27 with slightly other parameter and is found.
kernel compiles normal, comes also in /boot with make install.
(thnx for looking pietinger) two eyes see more than one _________________ Linuxpioneer
ALUG |
|
Back to top |
|
|
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Sat May 08, 2021 11:45 am Post subject: |
|
|
/boot or /dev/nvme0n1p1 is mounted on the root partition nvme0n1p8 under /boot of course. _________________ Linuxpioneer
ALUG |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat May 08, 2021 11:48 am Post subject: |
|
|
Ok
Kindly please try this
First chroot into your system.
Mount the ESP --the fat32 partition on boot/efi
Code: |
mkdir /boot/efi
mount /dev/nvme0n1p1 /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=gentoo --recheck
grub-mkconfig -o /boot/grub/grub.cfg
###Please remember to adjust your fstab
|
Grub will itself create nice efibootmgr entries and directory in /boot/efi/EFI/gentoo containing the grubx64.efi(=efi bootloader)
If you need your backup also bootable then please chroot into the backup repeat same changing only --bootloader-id=backup?.
You do not really need the BOOT directory inside the efi partition.It is only used as a failover option in case all rest fails.
To adjust the booting order please use
Code: |
efibootmgr -o <id1>,<id2>,<etc>
|
To pickup your next boot please use
Code: |
efibootmgr -n <boot-id>
|
_________________
|
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat May 08, 2021 12:15 pm Post subject: |
|
|
NOTE the way you had it configured before all kernel initrd and grub stuff were inside the ESP
What you should do is after mounting the esp on /boot/efi
Code: |
cd /boot/efi
mv vmlinuz* config* System* grub* init* ../
|
All t these stuff should be in /boot directory and inside /boot/efi directory you should only see a dir named "EFI" _________________
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4236 Location: Bavaria
|
Posted: Sat May 08, 2021 12:41 pm Post subject: |
|
|
alamahant wrote: | Ok
Kindly please try this
First chroot into your system. |
Please let me add this:
Second delete old UEFI entries, because usually UEFI will not set a new entry named "gentoo" when there is an old one with the same title. |
|
Back to top |
|
|
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Sat May 08, 2021 5:49 pm Post subject: |
|
|
my fstab
Code: | #LABEL=boot /boot ext4 noauto,noatime 1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
#LABEL=swap none swap sw 0 0
/dev/nvme0n1p5 none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto auto,rw 0 0
/dev/nvme0n1p1 /boot vfat auto,noatime,discard 1 2
/dev/nvme0n1p8 / ext4 auto,noatime,discard 0 1
/dev/nvme0n1p4 /home ext4 auto,noatime,discard 0 0
# temporal mountpoints on tmpfs
# tmpfs /tmp tmpfs size=16G,noatime 0 0
# tmpfs /var/tmp tmpfs size=1G,noatime 0 0
|
_________________ Linuxpioneer
ALUG |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sat May 08, 2021 5:54 pm Post subject: |
|
|
Code: |
/dev/nvme0n1p1 /boot/efi vfat auto,noatime,discard 1 2
|
_________________
|
|
Back to top |
|
|
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Sat May 08, 2021 11:35 pm Post subject: |
|
|
my vmLinuz entries were all under /boot not in /boot/efi.
And I use vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502 as entry not gentoo or backup as well in the menu of grub as for the files.
My /boot contains Code: |
vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502
vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210502.old
vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210501
vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210423
vmlinuz-5.10.27-gentooSYSTEMD_ZEN_210422
system.map-5.10.27-gentooSYSTEMD_ZEN_210502
system.map-5.10.27-gentooSYSTEMD_ZEN_210502.old
system.map-5.10.27-gentooSYSTEMD_ZEN_210501
system.map-5.10.27-gentooSYSTEMD_ZEN_210423
system.map-5.10.27-gentooSYSTEMD_ZEN_210422
amd-uc.img
initramfs-5.10.27-gentoo-x86_64.img (normally not used)
and the respective config files as documentation.
config-5.10.27-gentooSYSTEMD_ZEN_210502 |
I do not use 'gentoo' or 'backup' but maybe efibootmgr does that.
I adapted and got to this :
Let's try it.
Code: | efibootmgr -v
BootNext: 0000
BootCurrent: 0014
Timeout: 1 seconds
BootOrder: 0000,0010,0018
Boot0000* gentoo VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0010* UEFI OS HD(1,GPT,8083ce3e-3bee-46c3-ade0-8b2a950a3d46,0x200800,0x3d36000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0018* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO..........H.L.-.D.T.-.S.T. .B.D.D.V.D.R.W. .C.H.0.8.L.S.1.0....................A.............................................>..Gd-.;.A..MQ..L.5.H.9.B.F.8.5.5.3.8. .5. . . . . . . . ........BO |
_________________ Linuxpioneer
ALUG |
|
Back to top |
|
|
poe_1957 Apprentice
Joined: 26 Sep 2018 Posts: 192 Location: Mortsel
|
Posted: Thu May 20, 2021 2:28 pm Post subject: Solved |
|
|
Apparently my SAMSUNG 970 PRO 1TB was failing. It stopped now working. I noticed it too late what was happening.
SO BIG warning to everybody if something does not do anything like before maybe your M2 is failing and make immediate backup to other media.
Thanks for al the help. I hope this helps someone else experiencing the same problem. _________________ Linuxpioneer
ALUG |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|