Michael wrote:
> On Monday, 24 June 2024 17:54:44 BST Dale wrote:
>
>> I also ran into that locale thing again.  Using your export command,
>> fixed it, again.  I find it odd that the commands to reset the
>> environment does not reset that somehow.  Anyway, it works.  I have that
>> LC_ALL set on my main rig.  It's been that way for years.  Should I
>> change it or leave it since it works??
> It is recommended to leave the LC_ALL unset, because it overrides all other 
> settings.  Check the 'Warning' under the section "Environment variables for 
> locales" on this Guide:
>
> https://wiki.gentoo.org/wiki/Localization/Guide
>
> If you have it in your /etc/env.d/02locale, or your bashrc, or any other 
> startup script, unset it.  When you call:
>
> ~ $ locale
>
> at the end it should have an empty LC_ALL:
>
> LC_ALL=
>

I'll put that on my todo list.  Try to do that when I know I'll need to
reboot or something. 


>> My CPU seems to be running about 20F cooler now.
> Cool!  Ha!  Quite literally.  ;-)


Have you seen this before?


(chroot) livecd /usr/src/linux # dracut --kver=$(cat
include/config/kernel.release)
dracut[I]: Executing: /usr/bin/dracut --kver=6.9.4-gentoo
dracut[F]: Can't write to
/efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo: Directory
/efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo does not exist or is
not accessible.
(chroot) livecd /usr/src/linux #


The directory inside /efi does not exist.  This is from the boot media,
not the chroot environment. 


livecd ~ # mount | grep efi
/dev/nvme0n1p1 on /mnt/gentoo/efi type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
livecd ~ #

I removed the efi parts for the live media that is booted.  The efi
partition is mounted rw and is vfat.  Right?  I used touch to create a
test file and it created the file in /efi from within the chroot
environment just fine.  It seems dracut has a issue tho.  I went back
through the docs and don't see anything I missed but I don't see what it
is that creates what dracut is looking for either.  This is the correct
file structure??


(chroot) livecd / # ls -al /
total 447012
drwxr-xr-x  17 root root      4096 Jun 23 12:06 .
drwxr-xr-x  17 root root      4096 Jun 23 12:06 ..
lrwxrwxrwx   1 root root         7 Jun 23 12:06 bin -> usr/bin
drwxr-xr-x   4 root root      4096 Jun 24 14:29 boot
drwxr-xr-x  19 root root      4760 Jun 24 11:58 dev
drwxr-xr-x   3 root root      4096 Dec 31  1969 efi
drwxr-xr-x  49 root root      4096 Jun 24 14:32 etc
drwxr-xr-x   2 root root      4096 Jun 23 12:06 home
lrwxrwxrwx   1 root root         7 Jun 23 12:06 lib -> usr/lib
lrwxrwxrwx   1 root root         9 Jun 23 12:06 lib64 -> usr/lib64
drwxr-xr-x   2 root root      4096 Jun 23 12:06 media
drwxr-xr-x   2 root root      4096 Jun 23 12:06 mnt
drwxr-xr-x   5 root root      4096 Jun 24 05:19 opt
dr-xr-xr-x 461 root root         0 Jun 24 04:39 proc
drwx------   2 root root      4096 Jun 23 12:06 root
drwxr-xr-x   3 root root        60 Jun 24 04:40 run
lrwxrwxrwx   1 root root         7 Jun 23 12:06 sbin -> usr/bin
-rw-r--r--   1 root root 457688576 Jun 23 12:44
stage3-amd64-desktop-openrc-20240623T164908Z.tar.xz
dr-xr-xr-x  13 root root         0 Jun 24 04:44 sys
drwxrwxrwt   3 root root        60 Jun 24 14:32 tmp
drwxr-xr-x  11 root root      4096 Jun 23 12:09 usr
drwxr-xr-x  10 root root      4096 Jun 24 10:19 var
(chroot) livecd / #



Thoughts?  I miss something??

Dale

:-)  :-) 

Reply via email to