You are not logged in.

#1 2025-01-19 12:14:26

jebez
Member
Registered: 2025-01-15
Posts: 50

jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

PC: 64-bit
Motherboard: Gigabyte B450M DS3H
CPU: 12 × AMD Ryzen 5 2600 Six-Core Processor
GPU: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2
BIOS UEFI: supports FAT & NTFS

sed -i '92s/#//
93s/#//' /etc/pacman.conf
fdisk /dev/nvme0n1
mkfs.f2fs /dev/nvme0n1p1
mkswap /dev/nvme0n1p2
mkfs.fat -F16 /dev/nvme0n1p3
mount /dev/nvme0n1p1 /mnt
mount --mkdir /dev/nvme0n1p3 /mnt/efi
mkdir /mnt/efi/efi
mkdir /mnt/efi/efi/boot
mkdir /mnt/etc
mkdir /mnt/etc/mkinitcpio.d
echo -e ALL_kver=/boot/vmlinuz-linux'\'nPRESETS=default'\'ndefault_uki=/efi/efi/boot/bootx64.efi>/mnt/etc/mkinitcpio.d/linux.preset
echo HOOKS='('base udev autodetect microcode modconf kms keyboard keymap consolefont block filesystems resume fsck')'>/mnt/etc/mkinitcpio.conf
mkdir /mnt/etc/kernel
echo root=/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part1 resume=/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part2 rw>/mnt/etc/kernel/cmdline
pacstrap -K /mnt base linux f2fs-tools dosfstools ntfs-3g man-db nano sudo nvidia-open lib32-nvidia-utils nvidia-settings plasma-meta kde-applications-meta xorg-xeyes rclone libreoffice-fresh maxima tk vmpk supertuxkart teeworlds antimicrox steam
arch-chroot /mnt bash -c "systemctl enable NetworkManager sddm
ln -s /usr/share/zoneinfo/UTC /etc/localtime
hwclock -w
echo -e /dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part3 /efi'\'n/dev/disk/by-id/nvme-WDS250G3X0C-00SJG0_185250422455-part2 none swap>/etc/fstab
sed -i 13,17d /usr/lib/tmpfiles.d/var.conf
rm /var/log/wtmp /var/log/btmp /var/log/lastlog
useradd -m a
sed -i '1s/x//
'$'s/x//' /etc/passwd
sed -i '92s/#//
93s/#//' /etc/pacman.conf
sed -i '122d
136s/# //' /etc/sudoers
echo unset HISTFILE>>/etc/bash.bashrc"

Reboot
Log in to the new Arch Linux
Konsole:

localectl set-keymap fr

Reboot.

This post is subject to change, but I think it's the final version.

Last edited by jebez (2025-01-21 18:57:03)

Offline

#2 2025-01-19 18:45:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,334

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

Is there a question in there?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2025-01-19 18:53:12

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

No, at this time just for https://bbs.archlinux.org/viewtopic.php … 3#p2221233, https://bbs.archlinux.org/viewtopic.php … 0#p2221230 Mr admin.

I hope you're OK with the fire in California?

Edit: maybe is it improvisable?

Last edited by jebez (2025-01-20 08:49:41)

Offline

#4 2025-01-19 20:18:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,334

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

jebez wrote:

I hope you're OK with the fire in California?

Thanks for asking.  We evacuated literally leaving half eaten dinner on the table. We have been able to repopulate.  Wind damage to the yard, but the house is fine.  The next block over lost a couple houses and there were a few more lost on the street behind us (downwind).

We have about three friends in this fire (Eaton Canyon) who lost their homes and another friend lost her home in the Palisades fire.  I'm a California native have dealt with the Santa Ana's every season and I've seen my share of wind driven wildfires -- but never like this.  Scariest  thing I have ever seen.

Back to your post.  Is this just a record of your configuration?  Why?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2025-01-19 20:28:36

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

Don't you see the 2 links? Yes it's to show my config, for the 2 issues. & why not to inspire someone...

Offline

#6 2025-01-19 22:12:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,334

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

I did.  I've never seen someone take this approach and wanted to ensure I understood your plan.

I really do not want the boards to turn into a database of people's configurations, but when it comes to a specific issue we need them.  So, I have no problem with your approach.  What I do not want to do is encourage others to post their configurations for no particular reason.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2025-01-19 22:36:22

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

Why not create the configs subforum?

Offline

#8 2025-01-19 23:10:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,924

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

I'd say a better way for that would be to create a user page on the wiki or so and link to that if you really want something "tied to Arch", I also think using a  forum post is somewhat strange for this, as there really isn't much to discuss. Linking the config as a github gist or so would probably also work better.

Offline

#9 2025-01-20 06:34:59

cryptearth
Member
Registered: 2024-02-03
Posts: 1,241

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

jebez wrote:
ln -s /mnt/usr/share/zoneinfo/UTC /mnt/etc/localtime

I doubt that this actually works when booting into the system

Online

#10 2025-01-20 08:58:22

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

It works, why not?

Like Valve, I switched from Debian to Arch Linux, I don't regret: Arch Linux is better (the best?).
I enjoy to play Half-Life co-op, Serious Sam Fusion, THE FINALS (via Proton Experimental)... but unfortunately not GTA Online (BattlEye kernel level anti cheat, so Window$ 11).
Falkon is awesome.

A warm heart thanks to Arch Linux & its community, long life to the free & open source world!

Last edited by jebez (2025-01-20 09:12:35)

Offline

#11 2025-01-20 17:01:05

cryptearth
Member
Registered: 2024-02-03
Posts: 1,241

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

have you checked where /etc/localtime points when booting the installed system? its not like the symlink automagically switches from /mnt/usr/share/zoneinfo to /usr/share/zoneinfo
your line creates a symlink in the target location /mnt/etc/localtime pointing to to /mnt/usr/share/zoneinfo - and this is fixed and hence still the case when you boot the system - in which the very symlink now is broken because there's nothing mounted at /mnt and hence the path /mnt/usr doesn't exist
if, at all, this has to look more like this

ln -sf /usr/share/zoneinfo/... /mnt/etc/localtime

better yet - as you seem to have missed what this line is supposed to do and what has to be done right after it: calling hwclock - this should be done in a chroot call
tldr: your script above breaks at several points when compared to the install guide
I recommend re-reading the install guide precisely step by step and redo what you did wrong - as otherwise any issues you encounter maybe caused by this weird faulty install

Online

#12 2025-01-20 17:39:56

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: jebez's Arch Linux KDE nvidia-open UKI efi/boot/bootx64.efi

I updated my script, thanks.

Last edited by jebez (2025-01-21 16:54:36)

Offline

Board footer

Powered by FluxBB