View previous topic :: View next topic |
Author |
Message |
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
|
Back to top |
|
|
nurali Apprentice
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Thu May 23, 2024 8:51 am Post subject: |
|
|
borje2 wrote: | Peter
I try a new installation after your quick install guide
I cannot install grub
grub-install --efi-directory=/efi
error /efi dosn't look like EFI partition
/etc/fstab
/dev/sda1 /efi vfat noauto, noatime 1 2
/dev/sda3 / ext4 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom noauto,ro 0 0
/Borje |
Hello Peter:
Did you write the fstab by hand?
I recommend to use genfstab which forked from archlinux
run this:
Code: |
genfstab -U /mnt/{maybe there is a gentoo} > /mnt/gentoo/etc/fstab
cat /mnt/gentoo/etc/fstab # Just to be sure
|
before you chroot into the new root (if you use arch-chroot,run this before that,make sure all your partions are mounted to their mount point)
grub-install error seems like that you did not mount your EFI partition to /mnt/gentoo/efi (or maybe your partition type is not right, I use gdisk and set ef00 for it's partition type)
and please do grub-install after your kernel installation is over (make sure you have installed sys-kernel/installkernel,there are some USE flags on that package what you may need to look out) |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 9:22 am Post subject: |
|
|
NURALI
thanks I follow your instructions
https://bpa.st/7P2Q
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 9:36 am Post subject: |
|
|
NURALI
I cannot mount /efi not in fstab
/Borje |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 10:31 am Post subject: |
|
|
NeddySeagoon
now I have test memory first in the bios then memtest86+
no error
I have make a new installation and I don't want to destroy it by myself
I run qcheck and 3 places fail AFK
Checking dev-build/autoconf ...
AFK: /usr/share/autoconf-2.71/info/dir.bz2
Checking dev-libs/glib ...
AFK: /usr/share/glib-2.0/schemas/gschemas.compiled
MD5-DIGEST: /usr/lib64/gio/modules/giomodule.cache
* 685 out of 687 files are good
Checking sys-kernel/gentoo-kernel-bin ...
AFK: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/uki.efi
MD5-DIGEST: /usr/src/linux-6.6.30-gentoo-dist/arch/x86/boot/initrd
* 27694 out of 27696 files are good
I had a problem with grub in the beginning first no installation second no mkconfig
installation start to work after reboot
and mkconfig after reinstall bin kernel
any suggestion what to do next?
/Borje |
|
Back to top |
|
|
nurali Apprentice
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Thu May 23, 2024 12:38 pm Post subject: |
|
|
borje2 wrote: | NURALI
I cannot mount /efi not in fstab
/Borje |
Accourding to the fstab you pasted,you didn't mount any partition to the /efi,and you did not swapon
What is the error message? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Thu May 23, 2024 1:04 pm Post subject: |
|
|
borje2,
Code: | error /efi dosn't look like EFI partition |
the cause of this error is that this partition does not have the ESP-flag, or that the ESPartition was not mounted ... neither is possible IF you really follow the installation instructions step by step. I can only provide further help if you show us what you are really doing. I expect a LOG like I do for my own installations: look at it, BUT DON'T USE IT:
https://wiki.gentoo.org/wiki/User:Pietinger/temp/delete_me
(it is outdated; this installation was before switch to 23.0-profiles and before switch from /boot to /efi)
I want to see every step ... from switching on the machine and connecting an USB-stick with stage3-amd64-?????.tar.xz (insert your choosen file) ... and really EVERY command - even if it is only an “ls” _________________ https://wiki.gentoo.org/wiki/User:Pietinger
Last edited by pietinger on Thu May 23, 2024 1:07 pm; edited 1 time in total |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1223 Location: Richmond Hill, Canada
|
Posted: Thu May 23, 2024 1:07 pm Post subject: |
|
|
borje2,
I fell responsible for the introduce "qcheck" into the conversation, so I want to be clear.
The reason I suggest use "qcheck" is because it is said in the post thread, that all necessary input modules were installed and yet the xorg log show not able to find the module file. therefor I suggest use "qcheck" to very the package's integrity. This check is to eliminate the possibility there may be some unintentionally act that have cause the default system design not working. For example I was wondering could that be there was ungraceful shutdown that cause corrupted file system that cause some lost files.
using "qcheck" to examine entire system will always report something missing or changed. This is expected, because the packages default setting usually will not meet user's requirement, so there always some changes done to configuration files. therefor some "MD5-DIGEST". Although "AFK" is bit more unexpected but not unheard of. because something might rebuild or reconfiguration that cause the "missing file" no longer required but not recorded in to package database, therefor it report them as missing.
Finially, I sugges you open a new topic, and mark this topic as abandon. since you no longer facing SDDM problem. |
|
Back to top |
|
|
nurali Apprentice
Joined: 17 Nov 2022 Posts: 182 Location: Somewhere,Earth
|
Posted: Thu May 23, 2024 1:09 pm Post subject: |
|
|
Understood,thank you for reminding
I will check the talk,and do recommendings with enough consideration |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 3:11 pm Post subject: |
|
|
Peter
I start to type a message and it went away
yes I was following your quick installation guide every step and it worked fine first error was sys-kernel-linux-firmware was masked
then I did not get locale to work properly
and grub is up and running installation start work after reboot and grub-mkconfig after I reinstall the kernel again
here is my stage3
https://bpa.st/OITA
I have not install anything yet hope for advice
if I can you SDDM on this profile
hope that has give you some info you looking for
/Borje |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Thu May 23, 2024 3:28 pm Post subject: |
|
|
I think @pingtoo's advice to start a new thread is very good - do it.
The reason I referenced the quick install guide is because it is the latest and most up to date... and has been reviewed by our great developers @Sam, @negril and @csfore. Unfortunately in the meantime it turned out that in very rare cases copying the repos can cause problems. Here (only here) our AMD64 Handbook is more up to date (*). So skip these steps:
Code: | # mkdir -p /etc/portage/repos.conf
# cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf |
but do everything else in: https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System
Quote: | sys-kernel-linux-firmware was masked |
This error is - actually - impossible, because linux-firmware is currently available in the stable version 20240513. Maybe you had a problem with the licence ... to be on a safe side use this in your make.conf:
Code: | ACCEPT_LICENSE="* -@EULA" |
(only for the installation; later you can choose what you want)
I said I want to see every step, so start again from the beginning, and as soon as EVEN ONE problem occurs, STOP (immediately == not trying more) and send the COMPLETE installation LOG along with the EXACT problem description ... in a new thread.
P.S.:
*) I have just deleted these two lines in the quick installation guide. _________________ https://wiki.gentoo.org/wiki/User:Pietinger
Last edited by pietinger on Thu May 23, 2024 3:59 pm; edited 1 time in total |
|
Back to top |
|
|
borje2 Apprentice
Joined: 19 Apr 2024 Posts: 195 Location: Gällivare
|
Posted: Thu May 23, 2024 3:54 pm Post subject: |
|
|
Peter
I will start a new tread
I have already done that mkdir -p/etc/portage/repos.conf shall I delete it?
can you tell me locale setting again?
/Borje |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Thu May 23, 2024 4:08 pm Post subject: |
|
|
borje2 wrote: | I have already done that mkdir -p/etc/portage/repos.conf shall I delete it? |
No ... I dont think you have a problem with it ... it was recommended many years in our AMD64 Handbook.
borje2 wrote: | can you tell me locale setting again? |
I did:
Code: | # nano -w /etc/locale.gen
! Add => de_DE.UTF-8 UTF-8
# locale-gen
# eselect locale list
# eselect locale set 7
# env-update
# . /etc/profile |
You surely will need something for sweden:
So maybe:
Code: | # nano -w /etc/locale.gen
! Add => sv_SE.UTF-8 UTF-8
# locale-gen
# eselect locale list
# eselect locale set X
# env-update
# . /etc/profile |
but I am not sure ... because I dont know swedish ... _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
|
Back to top |
|
|
|