LINUX.ORG.RU

Сообщения Sensize

 

GRUB не может найти указанные файлы

Я столкнулся с проблемой при попытке загрузить Android(Х86 primeOS) на своем устройстве. Я использую GRUB для загрузки, и вот что я ввел в конфигурацию:

search --file --no-floppy --set=root /android/system.sfs selinux=0
linux /android/kernel quiet root=/dev/ram0 androidboot.selinux=permissive buildvariant=userdebug SRC=/android
initrd /android/initrd.img

при попытке загрузки я получаю следующие ошибки:

error: no such device: /android/system.sfs.
error: file /android/kernel' not found.
error: you need to load the kernel first.
Press any key to continue...

вывод ❯ sudo fdisk -l:

Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: XrayDisk 512GB S
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4BCEBB22-F155-4E41-BF30-448700227ADA
Device       Start        End   Sectors   Size Type
/dev/sda1     2048    2099199   2097152     1G EFI System
/dev/sda2  2099200 1000214527 998115328 475.9G Linux root (x86-64)
Disk /dev/zram0: 4 GiB, 4294967296 bytes, 1048576 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/loop0: 104.19 MiB, 109252608 bytes, 213384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

а так же:

❯ sudo ls /
android  bin  boot  dev  etc  home  lib  lib64	mnt  opt  proc	root  run  sbin  snap  srv  sys  tmp  usr  var

❯ sudo ls /android/
data.img  initrd.img  install.img  kernel  ramdisk.img	system.sfs

Буду благодарен за любые советы и помощь :)

Перемещено hobbit из general

 , ,

Sensize
()

Нету звука на линуксе

Здравствуйте, у меня возникла такая проблема после установки Linux, у меня просто-напросто нет звука, перепробовал уже всё, ничего не помогает, просмотрел все томы по данной теме, но ничего не нашёл. Немного прединформации:

Честно сам не знаю для чего, но может быть понадобится

OS: Arch Linux x86_64
Kernel: 6.12.7-arch1-1
Uptime: 9 mins
Packages: 1231 (pacman)
Shell: fish 3.7.1
Resolution: 1920x1080
WM: bspwm
Theme: Dracula-pink-accent [GTK2/3]
Icons: Papirus [GTK2], dracula-icons-main [GTK3]
Terminal: alacritty
CPU: Intel Celeron N5095A (4) @ 2.001GHz
GPU: Intel JasperLake [UHD Graphics]
Memory: 1867MiB / 11734MiB
CPU Usage: 32%
Disk (/): 15G / 468G (4%)

**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci -v

00:00.0 Host bridge: Intel Corporation Device 4e24
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
libkmod: kmod_config_parse: /etc/modprobe.d/alsa-base.conf line 1: ignoring bad line starting with 'snd-hda-intel'

00:02.0 VGA compatible controller: Intel Corporation JasperLake [UHD Graphics] (rev 01) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Flags: bus master, fast devsel, latency 0, IRQ 127
	Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Dynamic Tuning service
	DeviceName: Onboard - Other
	Flags: fast devsel, IRQ 16
	Memory at 6001310000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy

00:08.0 System peripheral: Intel Corporation Device 4e11
	DeviceName: Onboard - Other
	Flags: fast devsel, IRQ 255
	Memory at 6001331000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation Jasper Lake USB 3.1 xHCI Host Controller (rev 01) (prog-if 30 [XHCI])
	DeviceName: Onboard - Other
	Flags: bus master, medium devsel, latency 0, IRQ 122
	Memory at 6001300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:14.1 USB controller: Intel Corporation Device 4dee (rev 01) (prog-if fe [USB Device])
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at 6001000000 (64-bit, non-prefetchable) [size=2M]
	Memory at 6001330000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: dwc3-pci
	Kernel modules: dwc3_pci

00:14.2 RAM memory: Intel Corporation Jasper Lake Shared SRAM (rev 01)
	DeviceName: Onboard - Other
	Flags: fast devsel
	Memory at 6001324000 (64-bit, non-prefetchable) [disabled] [size=8K]
	Memory at 600132f000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:15.0 Serial bus controller: Intel Corporation Jasper Lake Serial IO I2C Host Controller #0 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 4010000000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller: Intel Corporation Jasper Lake Serial IO I2C Host Controller #1 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at 4010001000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.2 Serial bus controller: Intel Corporation Jasper Lake Serial IO I2C Host Controller #2 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at 4010002000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.3 Serial bus controller: Intel Corporation Jasper Lake Serial IO I2C Host Controller #3 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at 4010003000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Management Engine Interface (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 128
	Memory at 600132a000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Jasper Lake SATA AHCI Controller (rev 01) (prog-if 01 [AHCI 1.0])
	DeviceName: Onboard - SATA
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 121
	Memory at 7fd00000 (32-bit, non-prefetchable) [size=8K]
	Memory at 7fd03000 (32-bit, non-prefetchable) [size=256]
	I/O ports at 4090 [size=8]
	I/O ports at 4080 [size=4]
	I/O ports at 4060 [size=32]
	Memory at 7fd02000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:19.0 Serial bus controller: Intel Corporation Jasper Lake Serial IO I2C Host Controller #4 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 32
	Memory at 4010004000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1c.0 PCI bridge: Intel Corporation Jasper Lake PCIe Root Port #7 (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 120
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 3000-3fff [size=4K] [16-bit]
	Memory behind bridge: 7fc00000-7fcfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1e.0 Communication controller: Intel Corporation Jasper Lake Serial IO UART Controller #0 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at 4010005000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1e.3 Serial bus controller: Intel Corporation Jasper Lake Serial IO SPI Controller #1 (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0, IRQ 23
	Memory at 4010006000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1f.0 ISA bridge: Intel Corporation Jasper Lake eSPI Controller (rev 01)
	DeviceName: Onboard - Other
	Flags: bus master, fast devsel, latency 0

00:1f.3 Audio device: Intel Corporation Jasper Lake HD Audio (rev 01) (prog-if 80)
	DeviceName: Onboard - Sound
	Flags: bus master, fast devsel, latency 32, IRQ 131
	Memory at 6001320000 (64-bit, non-prefetchable) [size=16K]
	Memory at 6001200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_icl

00:1f.4 SMBus: Intel Corporation Jasper Lake SMBus (rev 01)
	DeviceName: Onboard - Other
	Flags: medium devsel, IRQ 16
	Memory at 6001326000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller: Intel Corporation Jasper Lake SPI Controller (rev 01)
	DeviceName: Onboard - Other
	Flags: fast devsel
	Memory at 7fd04000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci

01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
	Subsystem: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 132
	I/O ports at 3000 [size=256]
	Memory at 7fc00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rtw_8821ce
	Kernel modules: rtw88_8821ce

                    USER        PID ACCESS COMMAND
/dev/snd/controlC1: user        788 F.... pulseaudi

pactl list sinks

Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.hdmi-surround71-extra1
	Description: Built-in Audio Digital Surround 7.1 (HDMI 2)
	Driver: module-alsa-card.c
	Sample Specification: s16le 8ch 44100Hz
	Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 19661 /  30% / -31.37 dB,   front-right: 19661 /  30% / -31.37 dB,   rear-left: 99957 / 153% / 11.00 dB,   rear-right: 99957 / 153% / 11.00 dB,   front-center: 58320 /  89% / -3.04 dB,   lfe: 61600 /  94% / -1.61 dB,   side-left: 65536 / 100% / 0.00 dB,   side-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.hdmi-surround71-extra1.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 1"
		alsa.id = "HDMI 1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "7"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6001320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "4dc8"
		device.product.name = "Jasper Lake HD Audio"
		device.form_factor = "internal"
		device.string = "hdmi:1,1"
		device.buffering.buffer_size = "1411200"
		device.buffering.fragment_size = "705600"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-surround71-extra1"
		device.profile.description = "Digital Surround 7.1 (HDMI 2)"
		device.description = "Built-in Audio Digital Surround 7.1 (HDMI 2)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, not available)
	Active Port: hdmi-output-1
	Formats:
		pcm

Прошу прощения за отнятое время. Буду внимательно следить за вашими ответами. С наступающим новым годом :)

 , , ,

Sensize
()

RSS подписка на новые темы