Hello again,
I have returned, and fooled around a bit on my other laptop (hostname Ryu-Ran), installing Gentoo 3 times using different settings, and writing down every command I entered into the terminal (apart from things that change no settings like "ls").
I have not turned on the machine with the Ethernet driver problem (hostname: Pharaon).
The last set of instructions for Ryu-Ran are as follows:
Code: Select all
# I'm going to attempt to install a testing version of the kernel
fdisk /dev/sda
g
n
[Enter]
[Enter]
+1G
[Y]
t
[Enter]
1
n
[Enter]
[Enter]
+12G
[Y]
t
[Enter]
19
n
[Enter]
[Enter]
[Enter]
[Y]
t
[Enter]
23
w
# Preparing the disks
mkfs.vfat -F 32 /dev/sda1
mkswap /dev/sda2
mkfs.xfs /dev/sda3
swapon /dev/sda2
mount /dev/sda3 /mnt/gentoo/
mkdir /mnt/gentoo/efi
mount /dev/sda1 /mnt/gentoo/efi
# Downloading the stage file
cd /mnt/gentoo
chronyd -q
wget https://distfiles.gentoo.org/releases/amd64/autobuilds/20250223T170333Z/stage3-amd64-openrc-20250223T170333Z.tar.xz
tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo
# Changes to make.conf
nano /mnt/gentoo/etc/portage/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="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# 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
USE="ugrd -systemd dist-kernel suid X"
NTHREADS=8
MAKEOPTS="-j8 -l9"
EMERGE_DEFAULT_OPTS="--jobs 8"
GRUB_PLATFORMS="efi-64"
ACCEPT_LICENSE="* -@EULA"
-------------------------------------------------------------------------------
# Changes to accept_keywords
nano /mnt/gentoo/etc/portage/package.accept_keywords/gentoo-sources
-------------------------------------------------------------------------------
sys-kernel/* ~amd64
virtual/dist-kernel ~amd64
dev-util/pahole ~amd64
app-text/ascii-doc ~amd64
-------------------------------------------------------------------------------
# Changes to locale.gen
nano /mnt/gentoo/etc/locale.gen
-------------------------------------------------------------------------------
en_US ISO-8859-1
en_US.UTF-8 UTF-8
-------------------------------------------------------------------------------
# Changes to installkernel
nano /mnt/gentoo/etc/portage/package.use/installkernel
-------------------------------------------------------------------------------
sys-kernel/installkernel grub ugrd
-------------------------------------------------------------------------------
# Fstab
nano /mnt/gentoo/etc/fstab
-------------------------------------------------------------------------------
/dev/sda1 /efi vfat umask=0077 0 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / xfs defaults,noatime 0 1
-------------------------------------------------------------------------------
# Copy network stuff
cp --dereference /etc/resolv.conf /mnt/gentoo/etc/
# Enter the filesystem
arch-chroot /mnt/gentoo
source /etc/profile
# Sync Portage
emerge-webrsync
# locale-gen
locale-gen
source /etc/profile
env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
# Install the kernel
emerge --ask sys-kernel/linux-firmware
# Note, with the USE flag for dist-kernel, this will install the kernel
# In the future, it may be better to install this before adding dist-kernel
# to the use flags, and then recompiling it once the dist-kernel
# has been installed.
# Setup
echo "Ryu-Ran" > /etc/hostname
passwd
# Manage packages and DHCPCD and SSHD
emerge --ask net-misc/dhcpcd app-shells/bash-completion sys-fs/xfsprogs sys-fs/dosfstools
rc-update add dhcpcd default
rc-update add sshd default
# GRUB
emerge --ask --verbose sys-boot/grub
grub-install --efi-directory=/efi
grub-mkconfig -o /boot/grub/grub.cfg
# Chrony
emerge --ask net-misc/chrony
chronyd -q
# Reboot
exit
cd
umount -R /mnt/gentoo
reboot
My Gentoo speedrun installation (no binaries category) is down to 3 hours on Ryu-Ran, and with
, I can verify that I am running linux-6.13.4-gentoo-dist on Ryu-Ran.
This is a newer kernel than 6.13.1, which is currently the version on Pharaon. So if part of the intention of this test was to verify that there's no issues with the testing packages, I have only verified that there are no issues which present themselves on Ryu-Ran now, and have not verified either the version of the packages installed on Pharaon or the use case with different hardware.
I did leave march alone in the make.conf file this time (see above), so I want to think that this installation of Gentoo may be able to run on Pharaon if I copy everything over.
Do you advise that at this time, and if so, how?
Thank you again for your time and energy!
Xevra