View previous topic :: View next topic |
Author |
Message |
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 3:10 am Post subject: [SOLVED] Failed to emerge sys-kernel/linux-firmware |
|
|
I have never had an issue updating linux-firmware until now...
Code: | * Your /boot/efi partition is not mounted
* Please mount it and retry.
* ERROR: sys-kernel/linux-firmware-20240610-r1::gentoo failed (pretend phase):
* /boot/efi not mounted
*
* Call stack:
* ebuild.sh, line 136: Called pkg_pretend
* linux-firmware-20240610-r1.ebuild, line 78: Called mount-boot_pkg_pretend
* mount-boot.eclass, line 27: Called mount-boot_check_status
* mount-boot-utils.eclass, line 85: Called die
* The specific snippet of code:
* die -n "${partition} not mounted"
*
|
Code: | tux ~ # emerge --info '=sys-kernel/linux-firmware-20240610-r1::gentoo'
Portage 3.0.63 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.30-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.30-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.39
KiB Mem: 32499916 total, 28611416 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 29 Jun 2024 18:00:00 +0000
Head commit of repository gentoo: c925f8729c6d5f7a636b2eb01a82b9aa9bef6af7
sh bash 5.2_p26-r5
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r5::gentoo
dev-build/autoconf: 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.28.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.1::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54.1::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 15.0.7::gentoo
sys-devel/llvm: 15.0.7-r3::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
crossdev
location: /var/db/repos/portage-crossdev
masters: gentoo
priority: 10
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3
Installed sets: @custom-plasma
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -mtune=skylake -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo-mirror.flux.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l14.4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm grub gui iconv icu ipv6 jack jpeg kde kf6compat kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
Code: | tux ~ # emerge -pqv '=sys-kernel/linux-firmware-20240610-r1::gentoo'
[ebuild U ] sys-kernel/linux-firmware-20240610-r1 [20240610] USE="initramfs redistributable savedconfig -bindist -compress-xz -compress-zstd -deduplicate -dist-kernel (-unknown-license)"
|
I would like some help with this situation. Let me know how to proceed.
Last edited by __name__ on Mon Jul 08, 2024 7:58 pm; edited 1 time in total |
|
Back to top |
|
|
dargueta n00b
Joined: 09 Jun 2024 Posts: 7
|
Posted: Sun Jun 30, 2024 3:19 am Post subject: |
|
|
I'm also having this problem, though it's complaining about `/boot` not being mounted instead of `/boot/efi`. This is my fstab:
Code: |
UUID=47addb00-ba3b-47f0-b18d-772b11d5dc16 /home ext4 defaults,lazytime 1 3
UUID=992750a3-6e5b-47b4-83a3-6db0bc0a13aa none swap sw 0 4
UUID=b30e713d-11a9-40b4-834f-3b1543254786 / xfs defaults,noatime 1 0
/dev/nvme0n1p1 /boot vfat noauto,umask=0077 1 2
|
This is what `ls -lAh /boot` gives me:
Code: |
total 88M
-rw-r--r-- 1 root root 76K May 27 07:00 amd-uc.img
-rw-r--r-- 1 root root 260K May 27 09:43 config-6.6.30-gentoo-dist
drwxr-xr-x 6 root root 96 May 27 11:31 grub
-rw-r--r-- 1 root root 50M May 27 09:43 initramfs-6.6.30-gentoo-dist.img
-rw-r--r-- 1 root root 15M May 27 07:09 intel-uc.img
-rw-r--r-- 1 root root 9.1M May 27 09:43 System.map-6.6.30-gentoo-dist
-rw-r--r-- 1 root root 15M May 27 09:43 vmlinuz-6.6.30-gentoo-dist
|
I suspect it's not directly related to this package, though, as emerging `sys-firmware/intel-microcode` fails with the same error. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20479
|
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 4:29 am Post subject: |
|
|
I don't believe this is the problem as I have updated the linux-firmware package a couple times since that news item came out. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 5:19 am Post subject: |
|
|
Here is the complete message that I am receiving:
Code: | tux ~ # emerge -avuDN @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 30.13 s (backtrack: 0/20).
[ebuild U ] sys-kernel/linux-firmware-20240610-r1::gentoo [20240610::gentoo] USE="initramfs redistributable savedconfig -bindist -compress-xz -compress-zstd -deduplicate -dist-kernel (-unknown-license)" 0 KiB
[ebuild U ] dev-python/packaging-24.1::gentoo [24.0::gentoo] USE="-test" PYTHON_TARGETS="python3_10 python3_11 python3_12 (-pypy3) (-python3_13)" 0 KiB
[ebuild U ] dev-python/more-itertools-10.3.0::gentoo [10.2.0::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_10 python3_11 python3_12 (-pypy3) (-python3_13)" 0 KiB
[ebuild U ] dev-python/pyyaml-6.0.2_rc1::gentoo [6.0.1-r1::gentoo] USE="-debug -examples (-test%)" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13)" 0 KiB
[ebuild U ] dev-python/pygobject-3.46.0-r1:3::gentoo [3.46.0:3::gentoo] USE="cairo -debug -examples -test" PYTHON_TARGETS="python3_10 python3_11 python3_12 (-pypy3) (-python3_13)" 0 KiB
[ebuild U ] dev-libs/plasma-wayland-protocols-1.13.0::gentoo [1.12.0-r1::gentoo] 0 KiB
[ebuild U ] net-libs/signond-8.61-r100::gentoo [8.61::gentoo] USE="qt5%* qt6%* -doc -test" 0 KiB
[ebuild U ] net-libs/accounts-qt-1.17::gentoo [1.16::gentoo] USE="qt5%* qt6%* -doc -test" 55 KiB
[ebuild U ] net-libs/signon-oauth2-0.25_p20210102::gentoo [0.25::gentoo] USE="qt5%* qt6%* -test" 35 KiB
[ebuild U ] net-libs/accounts-qml-0.7_p20231028::gentoo [0.7-r2::gentoo] USE="qt5%* qt6%* -doc -test" 50 KiB
[ebuild U ] sys-auth/polkit-qt-0.200.0::gentoo [0.114.0-r3::gentoo] USE="qt5%* qt6%*" 57 KiB
[ebuild U ] media-video/pipewire-1.0.7:0/0.4::gentoo [1.0.5:0/0.4::gentoo] USE="X bluetooth dbus readline sound-server ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc (-selinux) (-system-service) -systemd -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)" 1,659 KiB
[ebuild U ] media-video/wireplumber-0.5.3:0/0.5::gentoo [0.4.17-r1:0/0.4::gentoo] USE="elogind (-system-service) -systemd -test" LUA_SINGLE_TARGET="lua5-4 -lua5-3" 402 KiB
[ebuild U ] media-libs/phonon-4.12.0-r2::gentoo [4.11.1-r2::gentoo] USE="pulseaudio qt5%* qt6%* vlc -debug -designer (-gstreamer%)" 400 KiB
[ebuild U ] media-libs/phonon-vlc-0.12.0-r1::gentoo [0.11.3-r1::gentoo] USE="qt5%* qt6%* -debug" 70 KiB
[ebuild U ] sys-apps/openrc-0.54.2::gentoo [0.54.1::gentoo] USE="netifrc pam sysvinit unicode -audit -bash -caps -debug -newnet -s6 (-selinux) -sysv-utils" 245 KiB
Total: 16 packages (16 upgrades), Size of downloads: 2,969 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-kernel/linux-firmware-20240610-r1
* Assuming you do not have a separate /boot partition.
* Assuming you do not have a separate /efi partition.
* Your /boot/efi partition is not mounted
* Please mount it and retry.
* ERROR: sys-kernel/linux-firmware-20240610-r1::gentoo failed (pretend phase):
* /boot/efi not mounted
*
* Call stack:
* ebuild.sh, line 136: Called pkg_pretend
* linux-firmware-20240610-r1.ebuild, line 78: Called mount-boot_pkg_pretend
* mount-boot.eclass, line 27: Called mount-boot_check_status
* mount-boot-utils.eclass, line 85: Called die
* The specific snippet of code:
* die -n "${partition} not mounted"
*
* If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20240610-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20240610-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/sys-kernel:linux-firmware-20240610-r1:20240630-051707.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/empty'
* S: '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/work/linux-firmware-20240610'
>>> Failed to emerge sys-kernel/linux-firmware-20240610-r1, Log file:
>>> '/var/log/portage/sys-kernel:linux-firmware-20240610-r1:20240630-051707.log'
* Messages for package sys-kernel/linux-firmware-20240610-r1:
* Log file: /var/log/portage/sys-kernel:linux-firmware-20240610-r1:20240630-051707.log
* Your /boot/efi partition is not mounted
* Please mount it and retry.
* ERROR: sys-kernel/linux-firmware-20240610-r1::gentoo failed (pretend phase):
* /boot/efi not mounted
*
* Call stack:
* ebuild.sh, line 136: Called pkg_pretend
* linux-firmware-20240610-r1.ebuild, line 78: Called mount-boot_pkg_pretend
* mount-boot.eclass, line 27: Called mount-boot_check_status
* mount-boot-utils.eclass, line 85: Called die
* The specific snippet of code:
* die -n "${partition} not mounted"
*
* If you need support, post the output of `emerge --info '=sys-kernel/linux-firmware-20240610-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/linux-firmware-20240610-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/sys-kernel:linux-firmware-20240610-r1:20240630-051707.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/temp/die.env'.
* Working directory: '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/empty'
* S: '/var/tmp/portage/sys-kernel/linux-firmware-20240610-r1/work/linux-firmware-20240610'
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-2637' coro=<PipeLogger._io_loop() done, defined at /usr/lib/python3.12/site-packages/portage/util/_async/PipeLogger.py:83> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-2638' coro=<BuildLogger._main() done, defined at /usr/lib/python3.12/site-packages/portage/util/_async/BuildLogger.py:131> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.12/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[BuildLogger._main_exit()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-2639' coro=<PipeLogger._io_loop() done, defined at /usr/lib/python3.12/site-packages/portage/util/_async/PipeLogger.py:83> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[PipeLogger._io_loop_done()]>
[ERROR] Task was destroyed but it is pending!
task: <Task pending name='Task-2640' coro=<ForkProcess._main() done, defined at /usr/lib/python3.12/site-packages/portage/util/_async/ForkProcess.py:180> wait_for=<Future pending cb=[AsynchronousTask.async_wait.<locals>.<lambda>() at /usr/lib/python3.12/site-packages/_emerge/AsynchronousTask.py:49, Task.task_wakeup()]> cb=[SpawnProcess._main_exit()]>
|
|
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 418
|
Posted: Sun Jun 30, 2024 6:22 am Post subject: |
|
|
As far as I can tell there were some recent changes to the mount-boot.eclass:
Quote: | ] [PATCH 1/5] mount-boot.eclass: check for ESP as well as /boot, split, eclass
2024-06-26 20:06 |
https://public-inbox.gentoo.org/gentoo-dev/uzfr7f2pb@gentoo.org/t/
https://devmanual.gentoo.org/eclass-reference/mount-boot.eclass/index.html
Quote: | If the live system has a separate /boot partition or ESP configured, then this function tries to ensure that it's mounted in rw mode, exiting with an error if it can't. It does nothing if /boot and ESP isn't a separate partition. |
Whether that has any bearing on your issue, I can't say.
This is what I see when trying to update linux-firmware to latest stable:
Code: |
sys-kernel/linux-firmware-20240610-r1::gentoo [20230515::localrepo] USE="initramfs* redistributable unknown-license -bindist% -compress-xz -compress-zstd -deduplicate% -dist-kernel% -savedconfig" 366,719 KiB
Total: 1 package (1 upgrade), Size of downloads: 366,719 KiB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-kernel/linux-firmware-20240610-r1
* Assuming you do not have a separate /boot partition.
* Assuming you do not have a separate /efi partition.
* Your /boot/efi partition was detected as being mounted.
* Files will be installed there for linux-firmware to function correctly.
* Assuming you do not have a separate /boot/EFI partition.
>>> Emerging (1 of 1) sys-kernel/linux-firmware-20240610-r1::gentoo
|
Relevant line from fstab (I notice yours does not use UUID format for /boot) :
Code: | UUID=50F2-A3C4 /boot/efi vfat defaults,noatime 0 2
|
ls /boot:
Code: |
config-6.9.7-zen efi grub initramfs-6.9.7-zen.img System.map System.map-6.9.7-zen vmlinuz-6.9.7-zen
|
Note that I mount the EFI partition to /boot/efi. Your setup may be different. |
|
Back to top |
|
|
dargueta n00b
Joined: 09 Jun 2024 Posts: 7
|
Posted: Sun Jun 30, 2024 2:13 pm Post subject: |
|
|
When I set up Gentoo I was mounting the EFI partition to /efi as it showed in the docs. Something else didn't like that so I changed it to /boot/efi, but had a brain fart when editing my fstab and made it /boot. The reason why `ls /boot` worked was because the directory had stuff in it already. Since `mount` refuses to mount into a directory that isn't empty, mounting failed. Nothing shows up in dmesg, which is weird.
Anyway, I changed my fstab to mount the EFI partition to /boot/efi instead of /boot and everything works fine now. For some reason using the UUID given from blkid doesn't work and `mount` claims it can't find the partition, so I had to use /dev/nvmen1p1 instead.
Thanks everyone! |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 4:54 pm Post subject: |
|
|
I restarted and am still getting the error...
Here is my fstab:
Code: |
PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 12
PARTUUID=0625846f-85dc-114b-b3fd-a2279443ada9 / ext4 defaults,noatime 01
PARTUUID=7f1ad158-2b23-904c-aeea-1a0c2f1feefb /home ext4 defaults,noatime 01
|
However lsblk shows that partition not mounted but I can access /boot...
Code: | tux ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part
├─nvme0n1p2 259:2 0 60G 0 part /
└─nvme0n1p3 259:3 0 177.5G 0 part /home
|
|
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 5:02 pm Post subject: |
|
|
Mounting the partition to /boot/efi fixes the issue but I would like to understand why this changed and why I now have to do an extra step to update the linux-firmware package this way when I never had to in the past.
Code: | tux ~ # mkdir /boot/efi
tux ~ # mount /dev/nvme0n1p1 /boot/efi
|
|
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 418
|
Posted: Sun Jun 30, 2024 6:09 pm Post subject: |
|
|
I can't say why the vfat volume is not mounting at boot. Does your fstab really use 12 (with no space between the numbers) on the end of the relevant line?
Code: | PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 12 |
Why not try this instead (0 1 instead of 12), with a space between the two numbers at the end?
Code: | PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 0 1 |
Reboot and see if it mounts correctly?
Also, find the UUID (vs PARTUUID) for the vfat partition. Use a GUI tool (with a live cd if you must -- gnome disks or KDE partition/disk utility for example). For a VFAT volume it will usually be only 8 characters/digits. Change your fstab to reflect that. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 6:19 pm Post subject: |
|
|
rab0171610 wrote: | I can't say why the vfat volume is not mounting at boot. Does your fstab really use 12 (with no space between the numbers) on the end of the relevant line?
Code: | PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 12 |
Why not try this instead (0 1 instead of 12), with a space between the two numbers at the end?
Code: | PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 0 1 |
Reboot and see if it mounts correctly?
Also, find the UUID (vs PARTUUID) for the vfat partition. Use a GUI tool (with a live cd if you must -- gnome disks or KDE partition/disk utility for example). For a VFAT volume it will usually be only 8 characters/digits. Change your fstab to reflect that. |
It does have a space however it was a tab not a single space.
I don't recall my reasoning for those dump and pass values but I do remember that I did quite a bit of reading before I wrote that fstab.
I added an actual space between those values. I will reboot and see what happens. If it still does not mount after that I will try "0 1".
Thanks for the extra set of eyes. |
|
Back to top |
|
|
Nowa Developer
Joined: 25 Jun 2014 Posts: 422 Location: Nijmegen
|
Posted: Sun Jun 30, 2024 6:57 pm Post subject: |
|
|
Quote: |
As far as I can tell there were some recent changes to the mount-boot.eclass:
Whether that has any bearing on your issue, I can't say. |
Yes that is the change that causes linux-firmware and intel-mircocode to complain about an unmounted /boot/efi
And that is related too indeed.
I did not think this change required an extra news item, considering that the solution should be clear if an error would be raised, i.e. solution is to mount the EFI System partition to the mount point specified in /etc/fstab. Let me provide some background information here though.
The packages linux-firmware and intel-microcode install CPU microcode for AMD and Intel respectively. However, when these packages are upgraded, the used CPU microcode is not directly upgraded. This is because the kernel applies CPU microcode updates at boot, it can do so either via an initramfs, or via building the microcode into the kernel directly.
Building the microcode into the kernel is a manual process that is not really important for the issue at hand, so lets focus on the initramfs method instead. Both linux-firmware and intel-microcode provide the initramfs USE flag, when this flag is enabled portage will ensure that new CPU microcode is propagated to the kernel at the next boot via an initramfs. These packages will do so either by building and installing their own microcode initramfs images (if the dist-kernel USE flag is disabled), or by simply calling sys-kernel/installkernel to re-install the currently selected kernel (if the dist-kernel USE flag is enabled). This part is also described in the news item mentioned above.
Which brings me to the next part, which is instalkernel. This package provides several ways of automating the kernel installation, we either write the kernels to /boot (if e.g. USE=grub or USE=refind), but we may also write the kernels to the EFI System Partition (if e.g. USE=systemd-boot, USE=efistub, or USE=uki). For this to work, the used partitions should obviously be mounted. However, it is not really feasible for portage (specifically mount-boot.eclass) to beforehand know what installkernel is going to do. Therefore, portage (i.e. mount-boot.eclass) detects if the system is booted in UEFI mode, and if so it enforces that both /boot and the EFI System Partition are mounted.
If you now see a complaint when installing linux-firmware and/or intel-microcode, you can do two things. Either 1) mount the EFI System Partition, and try again, or 2) disable the initramfs USE flag. However, please only disable the initramfs flag if you are using an alternative method for updating the CPU microcode (e.g. you're building it into your custom configured kernel), otherwise CPU microcode updates will not be applied which means you're missing out on important (security) fixes.
Hope that clarifies this a bit. _________________ OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400 |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 7:39 pm Post subject: |
|
|
AndrewAmmerlaan wrote: | Hope that clarifies this a bit. |
Thank you, that does indeed clarify the situation.
I will reboot now and see if the fstab changes I made allow for the /boot/efi partition to be mounted automatically. |
|
Back to top |
|
|
__name__ n00b
Joined: 06 Feb 2024 Posts: 46 Location: where the wind blows
|
Posted: Sun Jun 30, 2024 7:44 pm Post subject: |
|
|
__name__ wrote: | I will reboot now and see if the fstab changes I made allow for the /boot/efi partition to be mounted automatically. |
That seemed to fix the mounting issue as the partition is now mounted correctly at boot.
For future reference a tab is not parsed the same as a space. I added a space before each tab in my fstab, the tabs make it legible but the spaces are required for the proper parsing it seems.
Code: | tux ~ # cat /etc/fstab
PARTUUID=b360a3e9-bade-e246-bf9e-61ab56e70d75 /boot/efi vfat defaults 1 2
PARTUUID=0625846f-85dc-114b-b3fd-a2279443ada9 / ext4 defaults,noatime 0 1
PARTUUID=7f1ad158-2b23-904c-aeea-1a0c2f1feefb /home ext4 defaults,noatime 0 1
|
Thanks for the help from everyone! |
|
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
|
|