You are not logged in.
Yes that was it. Ugh. Well, it is a noob forum! Now I have
❯ du -hs *
200K EFI
124M initramfs-linux-fallback.img
99M initramfs-linux-fallback.img.tmp
99M initramfs-linux.img
36K loader
12M vmlinuz-linux
11M vmlinuz-linux-lts[
/dev/nvme0n1p1 510M 344M 167M 68% /boot Final question and a thank you for your help!: is this a reasonable size now?
Offline
No. Not at all.
And you only stay in the disk size because the initramfs for the lts kernel were not built (intentionally)
sudo lsinitcpio /boot/initramfs-linux.img | grep modulesEdit: also oc. the output of the verbose build.
Last edited by seth (2023-05-19 14:44:39)
Online
Yes I just realized that, OK so
sudo lsinitcpio /boot/initramfs-linux.img | grep modules
[sudo] password for paul:
etc/modules-load.d/
etc/modules-load.d/MODULES.conf
usr/lib/modules/
usr/lib/modules/6.3.2-arch1-1/
usr/lib/modules/6.3.2-arch1-1/kernel/
usr/lib/modules/6.3.2-arch1-1/kernel/arch/
usr/lib/modules/6.3.2-arch1-1/kernel/arch/x86/
usr/lib/modules/6.3.2-arch1-1/kernel/arch/x86/crypto/
usr/lib/modules/6.3.2-arch1-1/kernel/arch/x86/crypto/crc32c-intel.ko
usr/lib/modules/6.3.2-arch1-1/kernel/crypto/
usr/lib/modules/6.3.2-arch1-1/kernel/crypto/crc32c_generic.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/acpi/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/acpi/video.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/block/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/block/virtio_blk.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/cdrom/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/cdrom/cdrom.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/firewire/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/firewire/firewire-core.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/firewire/firewire-sbp2.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/firewire/firewire-sbp2.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/hid/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/hid/hid-multitouch.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/hid/usbhid/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/hid/usbhid/usbhid.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/keyboard/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/keyboard/atkbd.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio/i8042.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio/libps2.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio/serio.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio/serio_raw.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/input/vivaldi-fmap.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/misc/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/misc/cardreader/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/misc/cardreader/rtsx_pci.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/core/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/core/mmc_block.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/core/mmc_core.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/host/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/host/rtsx_pci_sdmmc.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/common/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/common/nvme-common.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/host/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/host/nvme-core.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/host/nvme.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/platform/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/platform/x86/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/platform/x86/wmi.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/scsi/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/scsi/sr_mod.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/spi/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/spi/spi-intel.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/spi/spi-intel-pci.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/host/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/host/xhci-pci.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/host/xhci-pci-renesas.ko
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/storage/
usr/lib/modules/6.3.2-arch1-1/kernel/drivers/usb/storage/usb-storage.ko
usr/lib/modules/6.3.2-arch1-1/kernel/fs/
usr/lib/modules/6.3.2-arch1-1/kernel/fs/ext4/
usr/lib/modules/6.3.2-arch1-1/kernel/fs/ext4/ext4.ko
usr/lib/modules/6.3.2-arch1-1/kernel/fs/jbd2/
usr/lib/modules/6.3.2-arch1-1/kernel/fs/jbd2/jbd2.ko
usr/lib/modules/6.3.2-arch1-1/kernel/fs/mbcache.ko
usr/lib/modules/6.3.2-arch1-1/kernel/lib/
usr/lib/modules/6.3.2-arch1-1/kernel/lib/crc16.ko
usr/lib/modules/6.3.2-arch1-1/kernel/lib/crc-itu-t.ko
usr/lib/modules/6.3.2-arch1-1/modules.alias.bin
usr/lib/modules/6.3.2-arch1-1/modules.builtin.alias.bin
usr/lib/modules/6.3.2-arch1-1/modules.builtin.bin
usr/lib/modules/6.3.2-arch1-1/modules.dep.bin
usr/lib/modules/6.3.2-arch1-1/modules.devname
usr/lib/modules/6.3.2-arch1-1/modules.softdep
usr/lib/modules/6.3.2-arch1-1/modules.symbols.bin
usr/lib/modules/6.3.2-arch1-1/updates/
usr/lib/modules/6.3.2-arch1-1/updates/dkms/
usr/lib/modules/6.3.2-arch1-1/updates/dkms/nvidia-drm.ko
usr/lib/modules/6.3.2-arch1-1/updates/dkms/nvidia.ko
usr/lib/modules/6.3.2-arch1-1/updates/dkms/nvidia-modeset.ko
usr/lib/modules/6.3.2-arch1-1/updates/dkms/nvidia-uvm.ko
usr/lib/systemd/systemd-modules-load
usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service
usr/lib/systemd/system/systemd-modules-load.serviceWhat does oc. the output of the verbose build mean?
Last edited by Gabachin (2023-05-19 14:49:09)
Offline
This has only the modules of the normal kernel inside.
Did you previously extract all initramfs (into the same path)?
mkdir -p /tmp/initramfs
cd /tmp/initramfs
rm -rf *
sudo lsinitcpio -x /boot/initramfs-linux.imgand then check that w/ https://archlinux.org/packages/community/x86_64/ncdu/
Online
This is what I am getting:
❯ rm -rf *
fish: No matches for wildcard '*'. See `help wildcards-globbing`.
rm -rf *
^
░▒▓ /tmp/initramfs
❯ sudo lsinitcpio -x /boot/initramfs-linux.img
[sudo] password for paul:
░▒▓ /tmp/initramfsWhen I check with ncdu, I get the same thing as I did yesterday that /lib is 178M.
Offline
And what's inside?
ls -lhR libOnline
░▒▓ /tmp/initramfs/usr
❯ ls -lhR lib
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 firmware
drwxr-xr-x - root 19 May 09:04 modprobe.d
drwxr-xr-x - root 19 May 09:04 modules
drwxr-xr-x - root 19 May 09:04 systemd
drwxr-xr-x - root 19 May 09:04 udev
.rwxr-xr-x 216k root 19 May 09:04 ld-linux-x86-64.so.2
lrwxrwxrwx 18 root 19 May 09:04 libacl.so.1 -> libacl.so.1.1.2301
.rwxr-xr-x 35k root 19 May 09:04 libacl.so.1.1.2301
lrwxrwxrwx 17 root 19 May 09:04 libaudit.so.1 -> libaudit.so.1.0.0
.rwxr-xr-x 117k root 19 May 09:04 libaudit.so.1.0.0
lrwxrwxrwx 17 root 19 May 09:04 libblkid.so.1 -> libblkid.so.1.1.0
.rwxr-xr-x 228k root 19 May 09:04 libblkid.so.1.1.0
.rwxr-xr-x 2.0M root 19 May 09:04 libc.so.6
lrwxrwxrwx 18 root 19 May 09:04 libcap-ng.so.0 -> libcap-ng.so.0.0.0
.rwxr-xr-x 27k root 19 May 09:04 libcap-ng.so.0.0.0
lrwxrwxrwx 14 root 19 May 09:04 libcap.so.2 -> libcap.so.2.69
.rwxr-xr-x 43k root 19 May 09:04 libcap.so.2.69
lrwxrwxrwx 17 root 19 May 09:04 libcom_err.so.2 -> libcom_err.so.2.1
.rwxr-xr-x 18k root 19 May 09:04 libcom_err.so.2.1
lrwxrwxrwx 17 root 19 May 09:04 libcrypt.so.2 -> libcrypt.so.2.0.0
.rwxr-xr-x 166k root 19 May 09:04 libcrypt.so.2.0.0
.rwxr-xr-x 4.5M root 19 May 09:04 libcrypto.so.3
lrwxrwxrwx 13 root 19 May 09:04 libe2p.so.2 -> libe2p.so.2.3
.rwxr-xr-x 45k root 19 May 09:04 libe2p.so.2.3
lrwxrwxrwx 16 root 19 May 09:04 libext2fs.so.2 -> libext2fs.so.2.4
.rwxr-xr-x 443k root 19 May 09:04 libext2fs.so.2.4
.rw-r--r-- 728k root 19 May 09:04 libgcc_s.so.1
lrwxrwxrwx 19 root 19 May 09:04 libgcrypt.so.20 -> libgcrypt.so.20.4.2
.rwxr-xr-x 1.3M root 19 May 09:04 libgcrypt.so.20.4.2
lrwxrwxrwx 22 root 19 May 09:04 libgpg-error.so.0 -> libgpg-error.so.0.34.0
.rwxr-xr-x 150k root 19 May 09:04 libgpg-error.so.0.34.0
lrwxrwxrwx 17 root 19 May 09:04 libip4tc.so.2 -> libip4tc.so.2.0.0
.rwxr-xr-x 35k root 19 May 09:04 libip4tc.so.2.0.0
lrwxrwxrwx 16 root 19 May 09:04 libkmod.so.2 -> libkmod.so.2.4.0
.rwxr-xr-x 105k root 19 May 09:04 libkmod.so.2.4.0
lrwxrwxrwx 15 root 19 May 09:04 liblz4.so.1 -> liblz4.so.1.9.4
.rwxr-xr-x 137k root 19 May 09:04 liblz4.so.1.9.4
lrwxrwxrwx 16 root 19 May 09:04 liblzma.so.5 -> liblzma.so.5.4.3
.rwxr-xr-x 207k root 19 May 09:04 liblzma.so.5.4.3
.rwxr-xr-x 965k root 19 May 09:04 libm.so.6
lrwxrwxrwx 17 root 19 May 09:04 libmount.so.1 -> libmount.so.1.1.0
.rwxr-xr-x 273k root 19 May 09:04 libmount.so.1.1.0
lrwxrwxrwx 16 root 19 May 09:04 libpam.so.0 -> libpam.so.0.85.1
.rwxr-xr-x 68k root 19 May 09:04 libpam.so.0.85.1
lrwxrwxrwx 19 root 19 May 09:04 libseccomp.so.2 -> libseccomp.so.2.5.4
.rwxr-xr-x 125k root 19 May 09:04 libseccomp.so.2.5.4
lrwxrwxrwx 21 root 19 May 09:04 libtss2-esys.so -> libtss2-esys.so.0.0.1
lrwxrwxrwx 21 root 19 May 09:04 libtss2-esys.so.0 -> libtss2-esys.so.0.0.1
.rwxr-xr-x 642k root 19 May 09:04 libtss2-esys.so.0.0.1
lrwxrwxrwx 19 root 19 May 09:04 libtss2-mu.so -> libtss2-mu.so.0.0.1
lrwxrwxrwx 19 root 19 May 09:04 libtss2-mu.so.0 -> libtss2-mu.so.0.0.1
.rwxr-xr-x 321k root 19 May 09:04 libtss2-mu.so.0.0.1
lrwxrwxrwx 19 root 19 May 09:04 libtss2-rc.so -> libtss2-rc.so.0.0.0
lrwxrwxrwx 19 root 19 May 09:04 libtss2-rc.so.0 -> libtss2-rc.so.0.0.0
.rwxr-xr-x 36k root 19 May 09:04 libtss2-rc.so.0.0.0
lrwxrwxrwx 20 root 19 May 09:04 libtss2-sys.so.1 -> libtss2-sys.so.1.0.1
.rwxr-xr-x 158k root 19 May 09:04 libtss2-sys.so.1.0.1
lrwxrwxrwx 25 root 19 May 09:04 libtss2-tcti-cmd.so -> libtss2-tcti-cmd.so.0.0.0
lrwxrwxrwx 25 root 19 May 09:04 libtss2-tcti-cmd.so.0 -> libtss2-tcti-cmd.so.0.0.0
.rwxr-xr-x 39k root 19 May 09:04 libtss2-tcti-cmd.so.0.0.0
lrwxrwxrwx 28 root 19 May 09:04 libtss2-tcti-device.so -> libtss2-tcti-device.so.0.0.0
lrwxrwxrwx 28 root 19 May 09:04 libtss2-tcti-device.so.0 -> libtss2-tcti-device.so.0.0.0
.rwxr-xr-x 35k root 19 May 09:04 libtss2-tcti-device.so.0.0.0
lrwxrwxrwx 29 root 19 May 09:04 libtss2-tcti-libtpms.so -> libtss2-tcti-libtpms.so.0.0.0
lrwxrwxrwx 29 root 19 May 09:04 libtss2-tcti-libtpms.so.0 -> libtss2-tcti-libtpms.so.0.0.0
.rwxr-xr-x 39k root 19 May 09:04 libtss2-tcti-libtpms.so.0.0.0
lrwxrwxrwx 27 root 19 May 09:04 libtss2-tcti-mssim.so -> libtss2-tcti-mssim.so.0.0.0
lrwxrwxrwx 27 root 19 May 09:04 libtss2-tcti-mssim.so.0 -> libtss2-tcti-mssim.so.0.0.0
.rwxr-xr-x 35k root 19 May 09:04 libtss2-tcti-mssim.so.0.0.0
lrwxrwxrwx 26 root 19 May 09:04 libtss2-tcti-pcap.so -> libtss2-tcti-pcap.so.0.0.0
lrwxrwxrwx 26 root 19 May 09:04 libtss2-tcti-pcap.so.0 -> libtss2-tcti-pcap.so.0.0.0
.rwxr-xr-x 35k root 19 May 09:04 libtss2-tcti-pcap.so.0.0.0
lrwxrwxrwx 32 root 19 May 09:04 libtss2-tcti-spi-helper.so -> libtss2-tcti-spi-helper.so.0.0.0
lrwxrwxrwx 32 root 19 May 09:04 libtss2-tcti-spi-helper.so.0 -> libtss2-tcti-spi-helper.so.0.0.0
.rwxr-xr-x 39k root 19 May 09:04 libtss2-tcti-spi-helper.so.0.0.0
lrwxrwxrwx 27 root 19 May 09:04 libtss2-tcti-swtpm.so -> libtss2-tcti-swtpm.so.0.0.0
lrwxrwxrwx 27 root 19 May 09:04 libtss2-tcti-swtpm.so.0 -> libtss2-tcti-swtpm.so.0.0.0
.rwxr-xr-x 35k root 19 May 09:04 libtss2-tcti-swtpm.so.0.0.0
lrwxrwxrwx 24 root 19 May 09:04 libtss2-tctildr.so.0 -> libtss2-tctildr.so.0.0.0
.rwxr-xr-x 39k root 19 May 09:04 libtss2-tctildr.so.0.0.0
lrwxrwxrwx 16 root 19 May 09:04 libuuid.so.1 -> libuuid.so.1.3.0
.rwxr-xr-x 31k root 19 May 09:04 libuuid.so.1.3.0
lrwxrwxrwx 14 root 19 May 09:04 libz.so.1 -> libz.so.1.2.13
.rwxr-xr-x 100k root 19 May 09:04 libz.so.1.2.13
lrwxrwxrwx 16 root 19 May 09:04 libzstd.so.1 -> libzstd.so.1.5.5
.rwxr-xr-x 862k root 19 May 09:04 libzstd.so.1.5.5
.rw-r--r-- 355 root 19 May 09:04 os-release
lib/firmware:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 nvidia
lib/firmware/nvidia:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 530.41.03
lib/firmware/nvidia/530.41.03:
Permissions Size User Date Modified Name
.rw-r--r-- 33M root 19 May 09:04 gsp_ga10x.bin
.rw-r--r-- 30M root 19 May 09:04 gsp_tu10x.bin
lib/modprobe.d:
Permissions Size User Date Modified Name
.rw-r--r-- 128 root 19 May 09:04 bluetooth-usb.conf
.rw-r--r-- 101 root 19 May 09:04 nvdimm-security.conf
.rw-r--r-- 18 root 19 May 09:04 nvidia-utils.conf
.rw-r--r-- 39 root 19 May 09:04 supergfxd-nvidiafb.conf
.rw-r--r-- 773 root 19 May 09:04 systemd.conf
lib/modules:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 6.3.2-arch1-1
lib/modules/6.3.2-arch1-1:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 kernel
drwxr-xr-x - root 19 May 09:04 updates
.rw-r--r-- 45k root 19 May 09:04 modules.alias.bin
.rw-r--r-- 7.1k root 19 May 09:04 modules.builtin.alias.bin
.rw-r--r-- 11k root 19 May 09:04 modules.builtin.bin
.rw-r--r-- 3.6k root 19 May 09:04 modules.dep.bin
.rw-r--r-- 0 root 19 May 09:04 modules.devname
.rw-r--r-- 80 root 19 May 09:04 modules.softdep
.rw-r--r-- 27k root 19 May 09:04 modules.symbols.bin
lib/modules/6.3.2-arch1-1/kernel:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 arch
drwxr-xr-x - root 19 May 09:04 crypto
drwxr-xr-x - root 19 May 09:04 drivers
drwxr-xr-x - root 19 May 09:04 fs
drwxr-xr-x - root 19 May 09:04 lib
lib/modules/6.3.2-arch1-1/kernel/arch:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 x86
lib/modules/6.3.2-arch1-1/kernel/arch/x86:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 crypto
lib/modules/6.3.2-arch1-1/kernel/arch/x86/crypto:
Permissions Size User Date Modified Name
.rw-r--r-- 31k root 19 May 09:04 crc32c-intel.ko
lib/modules/6.3.2-arch1-1/kernel/crypto:
Permissions Size User Date Modified Name
.rw-r--r-- 11k root 19 May 09:04 crc32c_generic.ko
lib/modules/6.3.2-arch1-1/kernel/drivers:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 acpi
drwxr-xr-x - root 19 May 09:04 block
drwxr-xr-x - root 19 May 09:04 cdrom
drwxr-xr-x - root 19 May 09:04 firewire
drwxr-xr-x - root 19 May 09:04 hid
drwxr-xr-x - root 19 May 09:04 input
drwxr-xr-x - root 19 May 09:04 misc
drwxr-xr-x - root 19 May 09:04 mmc
drwxr-xr-x - root 19 May 09:04 nvme
drwxr-xr-x - root 19 May 09:04 platform
drwxr-xr-x - root 19 May 09:04 scsi
drwxr-xr-x - root 19 May 09:04 spi
drwxr-xr-x - root 19 May 09:04 usb
lib/modules/6.3.2-arch1-1/kernel/drivers/acpi:
Permissions Size User Date Modified Name
.rw-r--r-- 115k root 19 May 09:04 video.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/block:
Permissions Size User Date Modified Name
.rw-r--r-- 75k root 19 May 09:04 virtio_blk.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/cdrom:
Permissions Size User Date Modified Name
.rw-r--r-- 158k root 19 May 09:04 cdrom.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/firewire:
Permissions Size User Date Modified Name
.rw-r--r-- 231k root 19 May 09:04 firewire-core.ko
.rw-r--r-- 60k root 19 May 09:04 firewire-sbp2.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/hid:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 usbhid
.rw-r--r-- 60k root 19 May 09:04 hid-multitouch.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/hid/usbhid:
Permissions Size User Date Modified Name
.rw-r--r-- 163k root 19 May 09:04 usbhid.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/input:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 keyboard
drwxr-xr-x - root 19 May 09:04 serio
.rw-r--r-- 6.7k root 19 May 09:04 vivaldi-fmap.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/input/keyboard:
Permissions Size User Date Modified Name
.rw-r--r-- 76k root 19 May 09:04 atkbd.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/input/serio:
Permissions Size User Date Modified Name
.rw-r--r-- 159k root 19 May 09:04 i8042.ko
.rw-r--r-- 29k root 19 May 09:04 libps2.ko
.rw-r--r-- 58k root 19 May 09:04 serio.ko
.rw-r--r-- 27k root 19 May 09:04 serio_raw.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/misc:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 cardreader
lib/modules/6.3.2-arch1-1/kernel/drivers/misc/cardreader:
Permissions Size User Date Modified Name
.rw-r--r-- 281k root 19 May 09:04 rtsx_pci.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/mmc:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 core
drwxr-xr-x - root 19 May 09:04 host
lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/core:
Permissions Size User Date Modified Name
.rw-r--r-- 137k root 19 May 09:04 mmc_block.ko
.rw-r--r-- 538k root 19 May 09:04 mmc_core.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/mmc/host:
Permissions Size User Date Modified Name
.rw-r--r-- 77k root 19 May 09:04 rtsx_pci_sdmmc.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/nvme:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 common
drwxr-xr-x - root 19 May 09:04 host
lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/common:
Permissions Size User Date Modified Name
.rw-r--r-- 36k root 19 May 09:04 nvme-common.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/nvme/host:
Permissions Size User Date Modified Name
.rw-r--r-- 525k root 19 May 09:04 nvme-core.ko
.rw-r--r-- 145k root 19 May 09:04 nvme.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/platform:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 x86
lib/modules/6.3.2-arch1-1/kernel/drivers/platform/x86:
Permissions Size User Date Modified Name
.rw-r--r-- 73k root 19 May 09:04 wmi.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/scsi:
Permissions Size User Date Modified Name
.rw-r--r-- 60k root 19 May 09:04 sr_mod.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/spi:
Permissions Size User Date Modified Name
.rw-r--r-- 13k root 19 May 09:04 spi-intel-pci.ko
.rw-r--r-- 57k root 19 May 09:04 spi-intel.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/usb:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 host
drwxr-xr-x - root 19 May 09:04 storage
lib/modules/6.3.2-arch1-1/kernel/drivers/usb/host:
Permissions Size User Date Modified Name
.rw-r--r-- 34k root 19 May 09:04 xhci-pci-renesas.ko
.rw-r--r-- 32k root 19 May 09:04 xhci-pci.ko
lib/modules/6.3.2-arch1-1/kernel/drivers/usb/storage:
Permissions Size User Date Modified Name
.rw-r--r-- 196k root 19 May 09:04 usb-storage.ko
lib/modules/6.3.2-arch1-1/kernel/fs:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 ext4
drwxr-xr-x - root 19 May 09:04 jbd2
.rw-r--r-- 26k root 19 May 09:04 mbcache.ko
lib/modules/6.3.2-arch1-1/kernel/fs/ext4:
Permissions Size User Date Modified Name
.rw-r--r-- 2.4M root 19 May 09:04 ext4.ko
lib/modules/6.3.2-arch1-1/kernel/fs/jbd2:
Permissions Size User Date Modified Name
.rw-r--r-- 438k root 19 May 09:04 jbd2.ko
lib/modules/6.3.2-arch1-1/kernel/lib:
Permissions Size User Date Modified Name
.rw-r--r-- 5.7k root 19 May 09:04 crc-itu-t.ko
.rw-r--r-- 5.7k root 19 May 09:04 crc16.ko
lib/modules/6.3.2-arch1-1/updates:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 dkms
lib/modules/6.3.2-arch1-1/updates/dkms:
Permissions Size User Date Modified Name
.rw-r--r-- 209k root 19 May 09:04 nvidia-drm.ko
.rw-r--r-- 2.6M root 19 May 09:04 nvidia-modeset.ko
.rw-r--r-- 5.8M root 19 May 09:04 nvidia-uvm.ko
.rw-r--r-- 87M root 19 May 09:04 nvidia.ko
lib/systemd:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 system
drwxr-xr-x - root 19 May 09:04 system-generators
.rwxr-xr-x 2.1M root 19 May 09:04 libsystemd-core-253.4-1.so
.rwxr-xr-x 3.7M root 19 May 09:04 libsystemd-shared-253.4-1.so
.rwxr-xr-x 23k root 19 May 09:04 systemd-fsck
.rwxr-xr-x 14k root 19 May 09:04 systemd-hibernate-resume
.rwxr-xr-x 202k root 19 May 09:04 systemd-journald
.rwxr-xr-x 19k root 19 May 09:04 systemd-modules-load
.rwxr-xr-x 27k root 19 May 09:04 systemd-pcrphase
.rwxr-xr-x 51k root 19 May 09:04 systemd-shutdown
.rwxr-xr-x 14k root 19 May 09:04 systemd-sulogin-shell
.rwxr-xr-x 23k root 19 May 09:04 systemd-sysctl
lrwxrwxrwx 16 root 19 May 09:04 systemd-udevd -> /usr/bin/udevadm
.rwxr-xr-x 19k root 19 May 09:04 systemd-vconsole-setup
lib/systemd/system:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 initrd.target.wants
drwxr-xr-x - root 19 May 09:04 sockets.target.wants
drwxr-xr-x - root 19 May 09:04 sysinit.target.wants
.rw-r--r-- 927 root 19 May 09:04 basic.target
lrwxrwxrwx 13 root 19 May 09:04 ctrl-alt-del.target -> reboot.target
lrwxrwxrwx 13 root 19 May 09:04 default.target -> initrd.target
.rw-r--r-- 813 root 19 May 09:04 emergency.service
.rw-r--r-- 479 root 19 May 09:04 emergency.target
.rw-r--r-- 500 root 19 May 09:04 final.target
.rw-r--r-- 670 root 19 May 09:04 initrd-cleanup.service
.rw-r--r-- 598 root 19 May 09:04 initrd-fs.target
.rw-r--r-- 1.3k root 19 May 09:04 initrd-parse-etc.service
.rw-r--r-- 566 root 19 May 09:04 initrd-root-device.target
.rw-r--r-- 571 root 19 May 09:04 initrd-root-fs.target
.rw-r--r-- 623 root 19 May 09:04 initrd-switch-root.service
.rw-r--r-- 779 root 19 May 09:04 initrd-switch-root.target
.rw-r--r-- 823 root 19 May 09:04 initrd-udevadm-cleanup-db.service
.rw-r--r-- 810 root 19 May 09:04 initrd.target
.rw-r--r-- 705 root 19 May 09:04 kmod-static-nodes.service
.rw-r--r-- 453 root 19 May 09:04 local-fs-pre.target
.rw-r--r-- 555 root 19 May 09:04 local-fs.target
.rw-r--r-- 407 root 19 May 09:04 paths.target
.rw-r--r-- 598 root 19 May 09:04 reboot.target
.rw-r--r-- 804 root 19 May 09:04 rescue.service
.rw-r--r-- 500 root 19 May 09:04 rescue.target
.rw-r--r-- 457 root 19 May 09:04 shutdown.target
.rw-r--r-- 462 root 19 May 09:04 slices.target
.rw-r--r-- 409 root 19 May 09:04 sockets.target
.rw-r--r-- 402 root 19 May 09:04 swap.target
.rw-r--r-- 574 root 19 May 09:04 sysinit.target
.rw-r--r-- 705 root 19 May 09:04 systemd-fsck@.service
.rw-r--r-- 680 root 19 May 09:04 systemd-hibernate-resume@.service
.rw-r--r-- 724 root 19 May 09:04 systemd-journald-audit.socket
.rw-r--r-- 1.2k root 19 May 09:04 systemd-journald-dev-log.socket
.rw-r--r-- 2.2k root 19 May 09:04 systemd-journald.service
.rw-r--r-- 934 root 19 May 09:04 systemd-journald.socket
.rw-r--r-- 1.0k root 19 May 09:04 systemd-modules-load.service
.rw-r--r-- 984 root 19 May 09:04 systemd-pcrphase-initrd.service
.rw-r--r-- 568 root 19 May 09:04 systemd-reboot.service
.rw-r--r-- 837 root 19 May 09:04 systemd-tmpfiles-setup-dev.service
.rw-r--r-- 758 root 19 May 09:04 systemd-udev-trigger.service
.rw-r--r-- 650 root 19 May 09:04 systemd-udevd-control.socket
.rw-r--r-- 624 root 19 May 09:04 systemd-udevd-kernel.socket
.rw-r--r-- 1.3k root 19 May 09:04 systemd-udevd.service
.rw-r--r-- 458 root 19 May 09:04 timers.target
.rw-r--r-- 465 root 19 May 09:04 umount.target
lib/systemd/system/initrd.target.wants:
Permissions Size User Date Modified Name
lrwxrwxrwx 55 root 19 May 09:04 systemd-pcrphase-initrd.service -> /usr/lib/systemd/system/systemd-pcrphase-initrd.service
lib/systemd/system/sockets.target.wants:
Permissions Size User Date Modified Name
lrwxrwxrwx 55 root 19 May 09:04 systemd-journald-dev-log.socket -> /usr/lib/systemd/system/systemd-journald-dev-log.socket
lrwxrwxrwx 47 root 19 May 09:04 systemd-journald.socket -> /usr/lib/systemd/system/systemd-journald.socket
lrwxrwxrwx 52 root 19 May 09:04 systemd-udevd-control.socket -> /usr/lib/systemd/system/systemd-udevd-control.socket
lrwxrwxrwx 51 root 19 May 09:04 systemd-udevd-kernel.socket -> /usr/lib/systemd/system/systemd-udevd-kernel.socket
lib/systemd/system/sysinit.target.wants:
Permissions Size User Date Modified Name
lrwxrwxrwx 49 root 19 May 09:04 kmod-static-nodes.service -> /usr/lib/systemd/system/kmod-static-nodes.service
lrwxrwxrwx 48 root 19 May 09:04 systemd-journald.service -> /usr/lib/systemd/system/systemd-journald.service
lrwxrwxrwx 52 root 19 May 09:04 systemd-modules-load.service -> /usr/lib/systemd/system/systemd-modules-load.service
lrwxrwxrwx 58 root 19 May 09:04 systemd-tmpfiles-setup-dev.service -> /usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service
lrwxrwxrwx 52 root 19 May 09:04 systemd-udev-trigger.service -> /usr/lib/systemd/system/systemd-udev-trigger.service
lrwxrwxrwx 45 root 19 May 09:04 systemd-udevd.service -> /usr/lib/systemd/system/systemd-udevd.service
lib/systemd/system-generators:
Permissions Size User Date Modified Name
.rwxr-xr-x 52k root 19 May 09:04 systemd-fstab-generator
.rwxr-xr-x 31k root 19 May 09:04 systemd-gpt-auto-generator
.rwxr-xr-x 15k root 19 May 09:04 systemd-hibernate-resume-generator
lib/udev:
Permissions Size User Date Modified Name
drwxr-xr-x - root 19 May 09:04 rules.d
.rwxr-xr-x 19k root 19 May 09:04 ata_id
.rwxr-xr-x 31k root 19 May 09:04 scsi_id
lib/udev/rules.d:
Permissions Size User Date Modified Name
.rw-r--r-- 5.3k root 19 May 09:04 50-udev-default.rules
.rw-r--r-- 10k root 19 May 09:04 60-persistent-storage.rules
.rw-r--r-- 616 root 19 May 09:04 64-btrfs.rules
.rw-r--r-- 600 root 19 May 09:04 80-drivers.rules
.rw-r--r-- 489 root 19 May 09:04 90-vconsole.rules
.rw-r--r-- 5.0k root 19 May 09:04 99-systemd.rulesThe firmware directory is 61M.
Last edited by Gabachin (2023-05-19 15:25:35)
Offline
Here are the fatsos:
lib/firmware/nvidia/530.41.03:
Permissions Size User Date Modified Name
.rw-r--r-- 33M root 19 May 09:04 gsp_ga10x.bin
.rw-r--r-- 30M root 19 May 09:04 gsp_tu10x.binOnline
Can I just delete them in the corresponding directory in /boot? And do the same for initramfs-linux.img?
Offline
No.
There're (probably) dragged in by the nvidia modules.
Do you have an ampere or turing chip?
Online
I have an XPS 15 9560. It has a NVIDIA GeForce GTX 1050 Ti graphics card which I think is Pascal, not Turing or Ampere.
Last edited by Gabachin (2023-05-19 15:39:21)
Offline
Check the dmesg to be sure the fw isn't loaded.
You can then NoExtract those files in your pacman.conf and remove them from the disk and while you'll (probably) get some error message, the initramfs should be much smaller (~60MB each, assuming the FW isn't compressable)
Online
I think it is loaded.
sudo dmesg | grep fw
[ 5.603791] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.2, id: 0x1e2b1, caps: 0xf00123/0x840300/0x12e800/0x0, board id: 3125, fw id: 2378871I am getting lost here. Would it be easier to reinstall systemd-boot? I save arch.conf and loader.conf somewhere, delete the 512M partition, reformat it, and run bootctl --path=/boot install, and then move the saved conf files to the required locations on /boot.
Offline
That's not the nvidia firmware and the filenames are "gsp_ga10x.bin" and "gsp_tu10x.bin"
We'll just speculate that you're not using the firmware.
Delete the firmware files (on disk), rebuild the initramfs, check the new sizes, reboot and if everything works, add the firmware to the NoExtract list.
You may run into the situation again if and when the FW names change or nvidia adds more of them.
The alternative would be to not add the nvidia modules to the initramfs (as suggested by Scimmia) but since systemd starts the graphical.target based on mostly optimism, that frequently leads to "my system boots into a black screen"…
Online
Yes, I can do that. How do I delete firmware from within the .img file? And just to be sure, I do mkinitcpio -p linux and mkinitcpio -p linux-lts with sudo, reboot. What would be the path for the NoExtract in pacman?
Last edited by Gabachin (2023-05-19 16:50:18)
Offline
How do I delete firmware from within the .img file?
You don't.
The files are in /usr/lib/firmware/nvidia/*/ - remove those (or at least move them away) so they cannot get added to the initramfs.
What would be the path for the NoExtract in pacman?https://man.archlinux.org/man/core/pacm … .conf.5.en
And just to be sure
"sudo mkinitcpio -P" will do.
Online
Yes, I know how to do a NoExtract, I just did not know the paths! But now I do. I still managed to stumble around and screw it up, though. On reboot, I got sent to firmware settings. Ugh. But I learned a lot, which is the point of this, at least, to me. I finally ended up using dd to make an img file of my root partition, then installed vamilla arch, with systemd boot and copied over the img file to the new root partition. And it booted my originial OS.
Last edited by Gabachin (2023-05-19 22:24:33)
Offline
vamilla arch, with systemd boot and copied over the img file to the new root partition
You do understand that nothing of this has anything to do with the specific bootloader?
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
I was screwing up the installation/configuration of the bootloader. I kept getting sent to the firmware menu. So I followed a vanilla Arch-Systemd-boot video then used the cloned partition and updated fstab and I got the laptop working. I still do not know why I couldn't get it working using the hints and instructions here (sigh).
Offline