Acer Aspire 3 a15-56 , Garuda Initial Ramdisk Loading Err

I want a Tutorial To Fix the Initial Ramdisk Err As https://wiki.archlinux.org/title/Laptop/Acer#Aspire_3_A315-56_internal_storage_not_showing_up

Send The Guide TO Use The Chroot TO Do this

garuda@garuda-dr460nized-gaming
-------------------------------
OS: Garuda Linux x86_64
Host: Aspire A315-56 V1.27
Kernel: 6.5.9-zen2-1-zen
Uptime: 35 mins
Battery: 100%% [Full]

Packages: 1812 (pacman)[stable]
Shell: fish 3.6.1
Terminal: konsole 23.8.2

CPU: Intel(R) Core(TM) i3-1005G1 (4) @ 3.40 GHz
GPU: Intel Iris Plus Graphics G1 (Ice Lake)
Memory: 1.15 GiB / 3.62 GiB (32%)

████████████████████████
████████████████████████

[WARN] - (starship::utils): Executing command "/usr/bin/sudo" timed out.
[WARN] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing.

╭─garuda@garuda in ~
╰─λ garuda-inxi
System:
Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZEDGAMING_RAPTOR quiet
systemd.show_status=1 ibt=off driver=nonfree nouveau.modeset=0
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Aspire A315-56 v: V1.27
serial: <superuser required>
Mobo: IL model: Sleepy_IL v: V1.27 serial: <superuser required>
UEFI: Insyde v: 1.27 date: 07/07/2022
Battery:
ID-1: BAT1 charge: 24.5 Wh (100.0%) condition: 24.5/36.7 Wh (66.8%)
volts: 12.1 min: 11.3 model: LGC AC14B18 type: Li-ion serial: N/A
status: full
CPU:
Info: model: Intel Core i3-1005G1 bits: 64 type: MT MCP arch: Ice Lake
gen: core 10 level: v4 note: check built: 2019-21 process: Intel 10nm
family: 6 model-id: 0x7E (126) stepping: 5 microcode: 0xBC
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 160 KiB desc: d-2x48 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 2100 min/max: 400/3400 scaling: driver: intel_pstate
governor: powersave cores: 1: 2100 2: 2100 3: 2100 4: 2100 bogomips: 9523
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Iris Plus Graphics G1 vendor: Acer Incorporated ALI
driver: i915 v: kernel arch: Gen-11 process: Intel 10nm built: 2019-21
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56
class-ID: 0300
Device-2: Quanta [] driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
lanes: 1 mode: 2.0 bus-ID: 1-7:2 chip-ID: 0408:a031 class-ID: 0e02
serial: <filter>
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: ChiMei InnoLux 0x15e6 built: 2016 res: 1366x768
hz: 60 dpi: 101 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
ratio: 16:9 modes: 1366x768
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (ICL GT1)
device-ID: 8086:8a56 memory: 3.54 GiB unified: yes
API: Vulkan v: 1.3.269 layers: 9 device: 0 type: integrated-gpu name: Intel
UHD Graphics (ICL GT1) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:8a56 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_icl
bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0403
API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.83 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Lite-On driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:0042 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:3
chip-ID: 04ca:3015 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 4.2
lmp-v: 8 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
Local Storage: total: 989.14 GiB used: 7.11 GiB (0.7%)
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: DataTraveler 3.0
size: 57.62 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: MQ04ABF100
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1J scheme: GPT
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 3.62 GiB used: 1.1 GiB (30.3%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 92.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 206 Uptime: 36m wakeups: 3 Memory: total: 4 GiB
available: 3.62 GiB used: 1.5 GiB (41.5%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1812 libs: 524 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.30
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.17-1):
System install date:     2024-01-31
Last full system update: 2024-01-30 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:            snapper-cleanup.service

I wish there was peace on earth.
Let’s see whose wish comes true first.

Btw, we wish as minimum that everyone post the garuda-inxi as text.

  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text
5 Likes

Man the entitlement is real. :eyes: I guess you don’t realize what a help vampire you sound like right now.

5 Likes

That is a “tutorial.”

If you need someone to read it to you, that’s a different thing.

I charge $200/hour for doing others’ research. Entitled little shitz pay up front.

2 Likes

Nah I don’t know how to Create those hooks. I’m a web dev not a OS Dev,

Without garuda-inxi this request will be moved to 412 Precondition Failed

I uploaded the inixi

This means your laptop is below the minimum requirements.

Aren’t we already at 5.27.10?

1 Like

That guidance is appropriate for a system using mkinitcpio, not dracut. To set that up with Garuda Linux you will have to make a dracut module and build it into the initramfs.

I asked a chat bot to suggest an approach for you; here you go:

If you’re using dracut instead of mkinitcpio, you’ll need to create custom dracut modules to achieve a similar effect. Dracut is the default initramfs infrastructure used by many Linux distributions, including Fedora.

Here’s a general guide on how you could adapt the ArchWiki solution for an Acer Aspire 3 A315-56 to dracut:

  1. Create a Custom Dracut Module:

    You need to create a custom dracut module to perform the necessary actions. Create the module directory:

    sudo mkdir /usr/lib/dracut/modules.d/99suspend-to-ram
    

    Inside this directory, create the following files:

    • /usr/lib/dracut/modules.d/99suspend-to-ram/module-setup.sh:

      #!/bin/bash
      
      check() {
          return 0
      }
      
      depends() {
          return 0
      }
      
      install() {
          inst_hook pre-udev 00 "$moddir/suspend-to-ram.sh"
      }
      
    • /usr/lib/dracut/modules.d/99suspend-to-ram/suspend-to-ram.sh:

      #!/bin/bash
      
      RTC_FILE='/sys/class/rtc/rtc0/wakealarm'
      
      if [ -e "$RTC_FILE" ]; then
          EPOCH_TIME=$(date '+%s')
      
          if ! echo 0 > "$RTC_FILE"; then
              reboot -f
          elif ! echo "$((EPOCH_TIME + 2))" > "$RTC_FILE"; then
              reboot -f
          elif ! echo mem > /sys/power/state; then
              reboot -f
          fi
      fi
      

    Make both scripts executable:

    sudo chmod +x /usr/lib/dracut/modules.d/99suspend-to-ram/module-setup.sh
    sudo chmod +x /usr/lib/dracut/modules.d/99suspend-to-ram/suspend-to-ram.sh
    
  2. Update Dracut Configuration:

    Edit the dracut configuration file to include the new module:

    sudo micro /etc/dracut.conf.d/99-suspend-to-ram.conf
    

    Add the following line:

    add_dracutmodules+=" suspend-to-ram "
    

    Save and exit.

  3. Regenerate the initramfs:

    After creating the custom dracut module and updating the configuration, regenerate the initramfs:

    sudo dracut-rebuild
    

    This will rebuild the initramfs with the new module.

  4. Reboot:

    Finally, reboot your system to apply the changes:

    reboot
    

This adaptation is a general guideline, and you may need to adjust it based on your specific system and requirements. Always make sure to back up important data before making changes to your system configuration.

I edited the command for rebuilding the initramfs to use Garuda’s dracut-rebuild command, and changed nano to micro but other than that I left it as-is. You can also use micro for creating the files mentioned (for example, sudo micro /usr/lib/dracut/modules.d/99suspend-to-ram/module-setup.sh).

I have no clue if it will work or not. :grin: Good luck! :saluting_face:

5 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.