View previous topic :: View next topic |
Author |
Message |
saverik Guru
Joined: 18 Oct 2008 Posts: 392
|
Posted: Thu Nov 07, 2024 9:57 am Post subject: Distribution-kernel[RISOLTO] |
|
|
Buongiorno,
sto procedendo ad una nuova installazione usando i pacchetti binari e distribution kernel.
Al momento sono fermo all'installazione del kernel in quanto ho un errore di cui vi posto uno stralcio:
Code: |
dracut[D]:
dracut[D]: dracut cmdline:
dracut[I]: *** Creating initramfs image file '/tmp/kernel-install.staging.KGf5V3/initrd' done ***
/usr/lib/kernel/install.d/50-dracut.install succeeded.
About to execute /usr/lib/kernel/install.d/51-dracut-rescue.install add 6.6.58-gentoo-dist /efi/42f69f647c174f23aa4a08fbe2e02d29/6.6.58-gentoo-dist /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(direxec)' as PID 1317906.
Skipping, 'dracut_rescue_image' not set to 'yes' in any dracut configuration file
/usr/lib/kernel/install.d/51-dracut-rescue.install succeeded.
About to execute /usr/lib/kernel/install.d/85-check-diskspace.install add 6.6.58-gentoo-dist /efi/42f69f647c174f23aa4a08fbe2e02d29/6.6.58-gentoo-dist /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(direxec)' as PID 1317911.
Checking available disk space on /efi...
Disk space okay. Need at least 15 KiB, found 408772 KiB.
/usr/lib/kernel/install.d/85-check-diskspace.install succeeded.
About to execute /usr/lib/kernel/install.d/90-compat.install add 6.6.58-gentoo-dist /efi/42f69f647c174f23aa4a08fbe2e02d29/6.6.58-gentoo-dist /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(direxec)' as PID 1317915.
/usr/lib/kernel/install.d/90-compat.install succeeded.
About to execute /usr/lib/kernel/install.d/90-loaderentry.install add 6.6.58-gentoo-dist /efi/42f69f647c174f23aa4a08fbe2e02d29/6.6.58-gentoo-dist /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(direxec)' as PID 1317916.
/usr/lib/kernel/install.d/90-loaderentry.install succeeded.
About to execute /usr/lib/kernel/install.d/90-uki-copy.install add 6.6.58-gentoo-dist /efi/42f69f647c174f23aa4a08fbe2e02d29/6.6.58-gentoo-dist /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(direxec)' as PID 1317917.
Error: /usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage is missing .efi suffix.
/usr/lib/kernel/install.d/90-uki-copy.install failed with exit status 1.
/usr/lib/kernel/install.d/90-uki-copy.install failed with exit status 1.
(sd-exec-strv) failed with exit status 1.
*
* The kernel was not deployed successfully. Inspect the failure
* in the logs above and once you resolve the problems please
* run the equivalent of the following command to try again:
*
* emerge --config '=sys-kernel/gentoo-kernel-6.6.58-r1:6.6.58'
* ERROR: sys-kernel/gentoo-kernel-6.6.58-r1::gentoo failed (postinst phase):
* Kernel install failed, please fix the problems and run emerge --config
*
* Call stack:
* ebuild.sh, line 136: Called pkg_postinst
* environment, line 2740: Called kernel-build_pkg_postinst
* environment, line 1792: Called kernel-install_pkg_postinst
* environment, line 2232: Called kernel-install_install_all '6.6.58-gentoo-dist'
* environment, line 2216: Called dist-kernel_install_kernel '6.6.58-gentoo-dist' '/usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage' '/usr/src/linux-6.6.58-gentoo-dist/System.map'
* environment, line 1069: Called die
* The specific snippet of code:
* die "Kernel install failed, please fix the problems and run emerge --config";
*
* If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.6.58-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.6.58-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/empty'
* S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/work/linux-6.6'
* FAILED postinst: 1
>>> Completed (1 of 1) sys-kernel/gentoo-kernel-6.6.58-r1::gentoo
>>> Failed to install sys-kernel/gentoo-kernel-6.6.58-r1, Log file:
>>> '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/temp/build.log'
* Messages for package sys-kernel/gentoo-kernel-6.6.58-r1:
* Your configuration for sys-kernel/gentoo-kernel-6.6.58-r1 has been saved in
* "/etc/portage/savedconfig/sys-kernel/gentoo-kernel-6.6.58-r1" for your editing pleasure.
* You can edit these files by hand and remerge this package with
* USE=savedconfig to customise the configuration.
* You can rename this file/directory to one of the following for
* its configuration to apply to multiple versions:
* ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
* [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]
* FAILED postinst: 1
*
* The kernel was not deployed successfully. Inspect the failure
* in the logs above and once you resolve the problems please
* run the equivalent of the following command to try again:
*
* emerge --config '=sys-kernel/gentoo-kernel-6.6.58-r1:6.6.58'
* ERROR: sys-kernel/gentoo-kernel-6.6.58-r1::gentoo failed (postinst phase):
* Kernel install failed, please fix the problems and run emerge --config
*
* Call stack:
* ebuild.sh, line 136: Called pkg_postinst
* environment, line 2740: Called kernel-build_pkg_postinst
* environment, line 1792: Called kernel-install_pkg_postinst
* environment, line 2232: Called kernel-install_install_all '6.6.58-gentoo-dist'
* environment, line 2216: Called dist-kernel_install_kernel '6.6.58-gentoo-dist' '/usr/src/linux-6.6.58-gentoo-dist/arch/x86/boot/bzImage' '/usr/src/linux-6.6.58-gentoo-dist/System.map'
* environment, line 1069: Called die
* The specific snippet of code:
* die "Kernel install failed, please fix the problems and run emerge --config";
*
* If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-6.6.58-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-6.6.58-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/empty'
* S: '/var/tmp/portage/sys-kernel/gentoo-kernel-6.6.58-r1/work/linux-6.6'
|
per lo scopo posto anche i seguenti file /etc/portage/make.conf e etc/portage/package.use/installkernel:
Code: |
etc/portage/package.use/installkernel:
sys-kernel/installkernel systemd grub efistub
# required by sys-kernel/gentoo-kernel-6.6.58-r1::gentoo[initramfs]
# required by virtual/dist-kernel-6.6.58-r1::gentoo
# required by sys-kernel/linux-firmware-20241017-r3::gentoo[dist-kernel]
# required by @selected
# required by @world (argument)
>=sys-kernel/installkernel-48-r1 dracut
make.conf:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=haswell -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
#
MAKEOPTS="-j4 -l5"
# NOTE: This stage was built with the bindist USE flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
# Appending getbinpkg to the list of values within the FEATURES variable
FEATURES="${FEATURES} getbinpkg"
# Require signatures
FEATURES="${FEATURES} binpkg-request-signature"
USE="-gtk -gnome qt5 kde dvd systemd dist-kernel"
ACCEPT_LICENSE="*"
VIDEO_CARDS="nvidia"
|
sto usando il profilo plasma e systemd
Saluti _________________ Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Last edited by saverik on Sat Nov 16, 2024 10:19 am; edited 1 time in total |
|
Back to top |
|
|
saverik Guru
Joined: 18 Oct 2008 Posts: 392
|
Posted: Sat Nov 16, 2024 10:18 am Post subject: |
|
|
salve,
purtroppo non sono riuscito a capire il motivo per cui dacut non riusciva a crearmi l'initramfs.
Per risolvere il problema sono ritornato ai vecchi metodi ed ho risolto usando genkernel .
Saluti _________________ Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd |
|
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
|
|