*nix. Задай вопрос - получи ответ

Discussion in 'Linux, Freebsd, *nix' started by Xszz, 10 Jan 2008.

  1. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Ненормально. Какая именно файловая система установлена?
    В случае BTRFS, создаются snapshot - резервное сохранение данных партиции.

    Открой ту партицию с ncdu и увидется в графическом режиме, всё по размерам в файло-разделе.
    И для back-up данных своих, сегодня используется rsync, с такими опциями:

    [​IMG]

    cat /etc/fstab

    [​IMG]
     
    #2421 altblitz, 6 Apr 2020
    Last edited: 6 Apr 2020
  2. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Файловая система резервируемого раздела ext4, распаковывал в ext4. 26.8GB - сам образ dd.
    rsync испробую обязательно
     
  3. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Если есть она, видимая разница в размере сохранённого архива и реальном размере на диске,
    так (пред)полагается, что без спроса было использовано lz4, xz или иные алгоритмы архивации данных ext4.

    [​IMG]

    rsync - делает архивацию bit-perfect.
    Данные будут сохранены с точностью побайтовой и проверкой хэш-тэг каждого файла, записано+прочитано.

    В первый раз, стоит сделать тренировочный запуск комманды, со всеми важными опциями архивации.
    -n, --dry-run perform a trial run with no changes made
     
    #2423 altblitz, 7 Apr 2020
    Last edited: 7 Apr 2020
  4. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    После выключения как положено, система не загрузиться, зависнет на екране загрузки (tty недоступен).
    После выключения грубо, система загрузится, лог ниже.
    [ 10.134340] EXT4-fs (sdb4): re-mounted. Opts: errors=remount-ro
    [ 38.553381] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    [ 38.565151] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    [ 38.581850] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    [ 38.598558] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    [ 41.806344] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    [ 42.445772] [drm:nv_drm_master_drop [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] nv_drm_atomic_helper_disable_all failed with error code -22 !
    При этом hashcat нормально работает с GPU.
    Таки проверю корень (sdb4) fsck.
     
  5. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    В GNU/Linux - или всё работает, или не работает совсем.
    Гляньте, пожалуйста, на логи Xorg.log

    [​IMG]

    именно в том файле конфигурации /etc, где записаны аппартно-драйвер независимые настройки Вашего видео воспроизведения.
     
    samuro2 likes this.
  6. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Code:
    [    42.364]
    X.Org X Server 1.20.5
    X Protocol Version 11, Revision 0
    [    42.364] Build Operating System: Linux 4.4.0-170-generic x86_64 Ubuntu
    [    42.364] Current Operating System: Linux Lenovo-Z570 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64
    [    42.364] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic root=UUID=b35f1d0c-7f04-4f53-9b01-b45624b6bde8 ro vt.handoff=1
    [    42.364] Build Date: 18 December 2019  08:15:29AM
    [    42.364] xorg-server-hwe-18.04 2:1.20.5+git20191008-0ubuntu1~18.04.1 (For technical support please see http://www.ubuntu.com/support)
    [    42.364] Current version of pixman: 0.34.0
    [    42.364]    Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
    [    42.365] Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [    42.365] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr  8 22:27:33 2020
    [    42.390] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [    42.408] (==) No Layout section.  Using the first Screen section.
    [    42.408] (==) No screen section available. Using defaults.
    [    42.408] (**) |-->Screen "Default Screen Section" (0)
    [    42.408] (**) |   |-->Monitor "<default monitor>"
    [    42.409] (==) No device specified for screen "Default Screen Section".
       Using the first device section listed.
    [    42.409] (**) |   |-->Device "card0"
    [    42.409] (==) No monitor specified for screen "Default Screen Section".
       Using a default monitor configuration.
    [    42.409] (==) Automatically adding devices
    [    42.409] (==) Automatically enabling devices
    [    42.409] (==) Automatically adding GPU devices
    [    42.409] (==) Automatically binding GPU devices
    [    42.409] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [    42.409] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [    42.409]    Entry deleted from font path.
    [    42.409] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
    [    42.409]    Entry deleted from font path.
    [    42.409] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [    42.409]    Entry deleted from font path.
    [    42.409] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
    [    42.409]    Entry deleted from font path.
    [    42.409] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [    42.409]    Entry deleted from font path.
    [    42.409] (==) FontPath set to:
       /usr/share/fonts/X11/misc,
       /usr/share/fonts/X11/Type1,
       built-ins
    [    42.409] (==) ModulePath set to "/usr/lib/xorg/modules"
    [    42.409] (II) The server relies on udev to provide the list of input devices.
       If no devices become available, reconfigure udev or disable AutoAddDevices.
    [    42.409] (II) Loader magic: 0x55da16ad8020
    [    42.409] (II) Module ABI versions:
    [    42.409]    X.Org ANSI C Emulation: 0.4
    [    42.409]    X.Org Video Driver: 24.0
    [    42.409]    X.Org XInput driver : 24.1
    [    42.409]    X.Org Server Extension : 10.0
    [    42.411] (++) using VT number 7
    
    [    42.411] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [    42.415] (II) xfree86: Adding drm device (/dev/dri/card1)
    [    42.426] (II) xfree86: Adding drm device (/dev/dri/card0)
    [    42.438] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
    [    42.438] (**) OutputClass "Nvidia Prime" ModulePath extended to "/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
    [    42.438] (**) OutputClass "Nvidia Prime" setting /dev/dri/card1 as PrimaryGPU
    [    42.439] (--) PCI: (0@0:2:0) 8086:0116:17aa:397d rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
    [    42.439] (--) PCI:*(1@0:0:0) 10de:0df4:17aa:397d rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
    [    42.439] (II) LoadModule: "glx"
    [    42.439] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
    [    43.013] (II) Module glx: vendor="NVIDIA Corporation"
    [    43.013]    compiled for 4.0.2, module version = 1.0.0
    [    43.013]    Module class: X.Org Server Extension
    [    43.013] (II) NVIDIA GLX Module  390.116  Sun Jan 27 06:24:32 PST 2019
    [    43.013] (II) LoadModule: "intel"
    [    43.024] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [    43.127] (II) Module intel: vendor="X.Org Foundation"
    [    43.127]    compiled for 1.20.1, module version = 2.99.917
    [    43.127]    Module class: X.Org Video Driver
    [    43.127]    ABI class: X.Org Video Driver, version 24.0
    [    43.127] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
       i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
       915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
       Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
       GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
    [    43.128] (II) intel: Driver for Intel(R) HD Graphics
    [    43.128] (II) intel: Driver for Intel(R) Iris(TM) Graphics
    [    43.128] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
    [    43.155] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190619
    [    43.155] (II) intel(0): SNA compiled: xserver-xorg-video-intel-hwe-18.04 2:2.99.917+git20171229-1ubuntu1~18.04.1 (Timo Aaltonen <[email protected]>)
    [    43.155] (II) intel(0): SNA compiled for use with valgrind
    [    43.186] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
    [    43.186] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
    [    43.186] (II) intel(0): Creating default Display subsection in Screen section
       "Default Screen Section" for depth/fbbpp 24/32
    [    43.186] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [    43.186] (==) intel(0): RGB weight 888
    [    43.186] (==) intel(0): Default visual is TrueColor
    [    43.186] (**) intel(0): Option "Backlight" "intel_backlight"
    [    43.186] (II) intel(0): Output LVDS1 has no monitor section
    [    43.187] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
    [    43.187] (II) intel(0): Enabled output LVDS1
    [    43.187] (II) intel(0): Output VGA1 has no monitor section
    [    43.187] (II) intel(0): Enabled output VGA1
    [    43.187] (II) intel(0): Output HDMI1 has no monitor section
    [    43.187] (II) intel(0): Enabled output HDMI1
    [    43.187] (II) intel(0): Output DP1 has no monitor section
    [    43.187] (II) intel(0): Enabled output DP1
    [    43.187] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
    [    43.187] (II) intel(0): Output VIRTUAL1 has no monitor section
    [    43.187] (II) intel(0): Enabled output VIRTUAL1
    [    43.187] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
    [    43.188] (==) intel(0): TearFree disabled
    [    43.188] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
    [    43.188] (==) intel(0): DPI set to (96, 96)
    [    43.188] (II) Loading sub module "dri3"
    [    43.188] (II) LoadModule: "dri3"
    [    43.188] (II) Module "dri3" already built-in
    [    43.188] (II) Loading sub module "dri2"
    [    43.188] (II) LoadModule: "dri2"
    [    43.188] (II) Module "dri2" already built-in
    [    43.188] (II) Loading sub module "present"
    [    43.188] (II) LoadModule: "present"
    [    43.188] (II) Module "present" already built-in
    [    43.211] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend
    [    43.211] (==) intel(0): Backing store enabled
    [    43.211] (==) intel(0): Silken mouse enabled
    [    43.211] (II) intel(0): HW Cursor enabled
    [    43.212] (==) intel(0): DPMS enabled
    [    43.212] (==) intel(0): Display hotplug detection enabled
    [    43.212] (II) intel(0): [DRI2] Setup complete
    [    43.212] (II) intel(0): [DRI2]   DRI driver: i965
    [    43.212] (II) intel(0): [DRI2]   VDPAU driver: va_gl
    [    43.212] (II) intel(0): direct rendering: DRI2 enabled
    [    43.212] (II) intel(0): hardware support for Present enabled
    [    43.212] (II) Initializing extension Generic Event Extension
    [    43.212] (II) Initializing extension SHAPE
    [    43.213] (II) Initializing extension MIT-SHM
    [    43.213] (II) Initializing extension XInputExtension
    [    43.238] (II) Initializing extension XTEST
    [    43.239] (II) Initializing extension BIG-REQUESTS
    [    43.239] (II) Initializing extension SYNC
    [    43.240] (II) Initializing extension XKEYBOARD
    [    43.240] (II) Initializing extension XC-MISC
    [    43.240] (II) Initializing extension SECURITY
    [    43.241] (II) Initializing extension XFIXES
    [    43.241] (II) Initializing extension RENDER
    [    43.242] (II) Initializing extension RANDR
    [    43.242] (II) Initializing extension COMPOSITE
    [    43.243] (II) Initializing extension DAMAGE
    [    43.243] (II) Initializing extension MIT-SCREEN-SAVER
    [    43.243] (II) Initializing extension DOUBLE-BUFFER
    [    43.244] (II) Initializing extension RECORD
    [    43.244] (II) Initializing extension DPMS
    [    43.245] (II) Initializing extension Present
    [    43.245] (II) Initializing extension DRI3
    [    43.245] (II) Initializing extension X-Resource
    [    43.245] (II) Initializing extension XVideo
    [    43.246] (II) Initializing extension XVideo-MotionCompensation
    [    43.246] (II) Initializing extension SELinux
    [    43.246] (II) SELinux: Disabled on system
    [    43.246] (II) Initializing extension XFree86-VidModeExtension
    [    43.246] (II) Initializing extension XFree86-DGA
    [    43.247] (II) Initializing extension XFree86-DRI
    [    43.248] (II) Initializing extension DRI2
    [    43.248] (II) Initializing extension GLX
    [    43.248] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
    [    43.273] (II) intel(0): switch to mode [email protected] on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
    [    43.289] (II) intel(0): Setting screen physical size to 361 x 203
    [    43.373] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [    43.373] (**) Power Button: Applying InputClass "libinput keyboard catchall"
    [    43.373] (II) LoadModule: "libinput"
    [    43.373] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
    [    43.508] (II) Module libinput: vendor="X.Org Foundation"
    [    43.508]    compiled for 1.20.1, module version = 0.28.1
    [    43.508]    Module class: X.Org XInput Driver
    [    43.508]    ABI class: X.Org XInput driver, version 24.1
    [    43.508] (II) Using input driver 'libinput' for 'Power Button'
    [    43.508] (**) Power Button: always reports core events
    [    43.508] (**) Option "Device" "/dev/input/event2"
    [    43.508] (**) Option "_source" "server/udev"
    [    43.510] (II) event2  - Power Button: is tagged by udev as: Keyboard
    [    43.510] (II) event2  - Power Button: device is a keyboard
    [    43.510] (II) event2  - Power Button: device removed
    [    43.528] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
    [    43.528] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [    43.528] (**) Option "xkb_model" "pc105"
    [    43.528] (**) Option "xkb_layout" "us"
    [    43.530] (II) event2  - Power Button: is tagged by udev as: Keyboard
    [    43.530] (II) event2  - Power Button: device is a keyboard
    [    43.532] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
    [    43.532] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
    [    43.532] (II) Using input driver 'libinput' for 'Video Bus'
    [    43.532] (**) Video Bus: always reports core events
    [    43.532] (**) Option "Device" "/dev/input/event12"
    [    43.532] (**) Option "_source" "server/udev"
    [    43.533] (II) event12 - Video Bus: is tagged by udev as: Keyboard
    [    43.533] (II) event12 - Video Bus: device is a keyboard
    [    43.533] (II) event12 - Video Bus: device removed
    [    43.556] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input13/event12"
    [    43.556] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [    43.556] (**) Option "xkb_model" "pc105"
    [    43.556] (**) Option "xkb_layout" "us"
    [    43.557] (II) event12 - Video Bus: is tagged by udev as: Keyboard
    [    43.557] (II) event12 - Video Bus: device is a keyboard
    [    43.559] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
    [    43.559] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
    [    43.559] (II) Using input driver 'libinput' for 'Video Bus'
    [    43.559] (**) Video Bus: always reports core events
    [    43.559] (**) Option "Device" "/dev/input/event11"
    [    43.559] (**) Option "_source" "server/udev"
    [    43.560] (II) event11 - Video Bus: is tagged by udev as: Keyboard
    [    43.560] (II) event11 - Video Bus: device is a keyboard
    [    43.560] (II) event11 - Video Bus: device removed
    [    43.587] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:34/LNXVIDEO:00/input/input12/event11"
    [    43.588] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
    [    43.588] (**) Option "xkb_model" "pc105"
    [    43.588] (**) Option "xkb_layout" "us"
    [    43.588] (II) event11 - Video Bus: is tagged by udev as: Keyboard
    [    43.588] (II) event11 - Video Bus: device is a keyboard
    [    43.589] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
    [    43.589] (II) No input driver specified, ignoring this device.
    [    43.589] (II) This device may have been added with another device file.
    [    43.590] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [    43.590] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
    [    43.590] (II) Using input driver 'libinput' for 'Sleep Button'
    [    43.590] (**) Sleep Button: always reports core events
    [    43.590] (**) Option "Device" "/dev/input/event1"
    [    43.590] (**) Option "_source" "server/udev"
    [    43.590] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
    [    43.590] (II) event1  - Sleep Button: device is a keyboard
    [    43.590] (II) event1  - Sleep Button: device removed
    [    43.607] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
    [    43.608] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [    43.608] (**) Option "xkb_model" "pc105"
    [    43.608] (**) Option "xkb_layout" "us"
    [    43.609] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
    [    43.609] (II) event1  - Sleep Button: device is a keyboard
    [    43.610] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event17)
    [    43.610] (II) No input driver specified, ignoring this device.
    [    43.610] (II) This device may have been added with another device file.
    [    43.610] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event18)
    [    43.610] (II) No input driver specified, ignoring this device.
    [    43.610] (II) This device may have been added with another device file.
    [    43.611] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event19)
    [    43.611] (II) No input driver specified, ignoring this device.
    [    43.611] (II) This device may have been added with another device file.
    [    43.611] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event20)
    [    43.611] (II) No input driver specified, ignoring this device.
    [    43.611] (II) This device may have been added with another device file.
    [    43.613] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse (/dev/input/event4)
    [    43.613] (**) MI Dongle MI Wireless Mouse: Applying InputClass "libinput keyboard catchall"
    [    43.613] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse'
    [    43.613] (**) MI Dongle MI Wireless Mouse: always reports core events
    [    43.613] (**) Option "Device" "/dev/input/event4"
    [    43.613] (**) Option "_source" "server/udev"
    [    43.614] (II) event4  - MI Dongle MI Wireless Mouse: is tagged by udev as: Keyboard
    [    43.614] (II) event4  - MI Dongle MI Wireless Mouse: device is a keyboard
    [    43.614] (II) event4  - MI Dongle MI Wireless Mouse: device removed
    [    43.656] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:2717:003B.0001/input/input6/event4"
    [    43.656] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse" (type: KEYBOARD, id 10)
    [    43.656] (**) Option "xkb_model" "pc105"
    [    43.656] (**) Option "xkb_layout" "us"
    [    43.658] (II) event4  - MI Dongle MI Wireless Mouse: is tagged by udev as: Keyboard
    [    43.658] (II) event4  - MI Dongle MI Wireless Mouse: device is a keyboard
    [    43.661] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse (/dev/input/event5)
    [    43.661] (**) MI Dongle MI Wireless Mouse: Applying InputClass "libinput pointer catchall"
    [    43.661] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse'
    [    43.661] (**) MI Dongle MI Wireless Mouse: always reports core events
    [    43.661] (**) Option "Device" "/dev/input/event5"
    [    43.661] (**) Option "_source" "server/udev"
    [    43.663] (II) event5  - MI Dongle MI Wireless Mouse: is tagged by udev as: Mouse
    [    43.663] (II) event5  - MI Dongle MI Wireless Mouse: device is a pointer
    [    43.663] (II) event5  - MI Dongle MI Wireless Mouse: device removed
    [    43.708] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:2717:003B.0002/input/input7/event5"
    [    43.708] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse" (type: MOUSE, id 11)
    [    43.708] (**) Option "AccelerationScheme" "none"
    [    43.708] (**) MI Dongle MI Wireless Mouse: (accel) selected scheme none/0
    [    43.708] (**) MI Dongle MI Wireless Mouse: (accel) acceleration factor: 2.000
    [    43.708] (**) MI Dongle MI Wireless Mouse: (accel) acceleration threshold: 4
    [    43.710] (II) event5  - MI Dongle MI Wireless Mouse: is tagged by udev as: Mouse
    [    43.710] (II) event5  - MI Dongle MI Wireless Mouse: device is a pointer
    [    43.713] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse (/dev/input/mouse0)
    [    43.713] (II) No input driver specified, ignoring this device.
    [    43.713] (II) This device may have been added with another device file.
    [    43.716] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse Consumer Control (/dev/input/event6)
    [    43.716] (**) MI Dongle MI Wireless Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
    [    43.716] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse Consumer Control'
    [    43.716] (**) MI Dongle MI Wireless Mouse Consumer Control: always reports core events
    [    43.716] (**) Option "Device" "/dev/input/event6"
    [    43.716] (**) Option "_source" "server/udev"
    [    43.716] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: is tagged by udev as: Keyboard
    [    43.716] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: device is a keyboard
    [    43.716] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: device removed
    [    43.732] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:2717:003B.0002/input/input8/event6"
    [    43.732] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse Consumer Control" (type: KEYBOARD, id 12)
    [    43.732] (**) Option "xkb_model" "pc105"
    [    43.732] (**) Option "xkb_layout" "us"
    [    43.735] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: is tagged by udev as: Keyboard
    [    43.735] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: device is a keyboard
    [    43.737] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse Keyboard (/dev/input/event8)
    [    43.737] (**) MI Dongle MI Wireless Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
    [    43.737] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse Keyboard'
    [    43.737] (**) MI Dongle MI Wireless Mouse Keyboard: always reports core events
    [    43.737] (**) Option "Device" "/dev/input/event8"
    [    43.737] (**) Option "_source" "server/udev"
    [    43.739] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: is tagged by udev as: Keyboard
    [    43.739] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: device is a keyboard
    [    43.739] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: device removed
    [    43.799] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:2717:003B.0003/input/input10/event8"
    [    43.800] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse Keyboard" (type: KEYBOARD, id 13)
    [    43.800] (**) Option "xkb_model" "pc105"
    [    43.800] (**) Option "xkb_layout" "us"
    [    43.802] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: is tagged by udev as: Keyboard
    [    43.802] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: device is a keyboard
    [    43.804] (II) config/udev: Adding input device MI Dongle MI Wireless Mouse Consumer Control (/dev/input/event7)
    [    43.804] (**) MI Dongle MI Wireless Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
    [    43.804] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse Consumer Control'
    [    43.804] (**) MI Dongle MI Wireless Mouse Consumer Control: always reports core events
    [    43.804] (**) Option "Device" "/dev/input/event7"
    [    43.804] (**) Option "_source" "server/udev"
    [    43.804] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: is tagged by udev as: Keyboard
    [    43.804] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: device is a keyboard
    [    43.804] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: device removed
    [    43.839] (II) libinput: MI Dongle MI Wireless Mouse Consumer Control: needs a virtual subdevice
    [    43.839] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:2717:003B.0003/input/input9/event7"
    [    43.840] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse Consumer Control" (type: MOUSE, id 14)
    [    43.840] (**) Option "AccelerationScheme" "none"
    [    43.840] (**) MI Dongle MI Wireless Mouse Consumer Control: (accel) selected scheme none/0
    [    43.840] (**) MI Dongle MI Wireless Mouse Consumer Control: (accel) acceleration factor: 2.000
    [    43.840] (**) MI Dongle MI Wireless Mouse Consumer Control: (accel) acceleration threshold: 4
    [    43.840] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: is tagged by udev as: Keyboard
    [    43.840] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: device is a keyboard
    [    43.841] (II) config/udev: Adding input device Lenovo easy camera: Lenovo Easy (/dev/input/event16)
    [    43.841] (**) Lenovo easy camera: Lenovo Easy: Applying InputClass "libinput keyboard catchall"
    [    43.841] (II) Using input driver 'libinput' for 'Lenovo easy camera: Lenovo Easy'
    [    43.841] (**) Lenovo easy camera: Lenovo Easy: always reports core events
    [    43.841] (**) Option "Device" "/dev/input/event16"
    [    43.841] (**) Option "_source" "server/udev"
    [    43.841] (II) event16 - Lenovo easy camera: Lenovo Easy: is tagged by udev as: Keyboard
    [    43.841] (II) event16 - Lenovo easy camera: Lenovo Easy: device is a keyboard
    [    43.842] (II) event16 - Lenovo easy camera: Lenovo Easy: device removed
    [    43.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input20/event16"
    [    43.899] (II) XINPUT: Adding extended input device "Lenovo easy camera: Lenovo Easy" (type: KEYBOARD, id 15)
    [    43.899] (**) Option "xkb_model" "pc105"
    [    43.899] (**) Option "xkb_layout" "us"
    [    43.900] (II) event16 - Lenovo easy camera: Lenovo Easy: is tagged by udev as: Keyboard
    [    43.900] (II) event16 - Lenovo easy camera: Lenovo Easy: device is a keyboard
    [    43.901] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
    [    43.901] (II) No input driver specified, ignoring this device.
    [    43.901] (II) This device may have been added with another device file.
    [    43.901] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event14)
    [    43.901] (II) No input driver specified, ignoring this device.
    [    43.901] (II) This device may have been added with another device file.
    [    43.902] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
    [    43.902] (II) No input driver specified, ignoring this device.
    [    43.902] (II) This device may have been added with another device file.
    [    43.902] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event10)
    [    43.902] (**) Ideapad extra buttons: Applying InputClass "libinput keyboard catchall"
    [    43.902] (II) Using input driver 'libinput' for 'Ideapad extra buttons'
    [    43.902] (**) Ideapad extra buttons: always reports core events
    [    43.902] (**) Option "Device" "/dev/input/event10"
    [    43.902] (**) Option "_source" "server/udev"
    [    43.903] (II) event10 - Ideapad extra buttons: is tagged by udev as: Keyboard
    [    43.903] (II) event10 - Ideapad extra buttons: device is a keyboard
    [    43.903] (II) event10 - Ideapad extra buttons: device removed
    [    43.916] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input11/event10"
    [    43.917] (II) XINPUT: Adding extended input device "Ideapad extra buttons" (type: KEYBOARD, id 16)
    [    43.917] (**) Option "xkb_model" "pc105"
    [    43.917] (**) Option "xkb_layout" "us"
    [    43.918] (II) event10 - Ideapad extra buttons: is tagged by udev as: Keyboard
    [    43.918] (II) event10 - Ideapad extra buttons: device is a keyboard
    [    43.919] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
    [    43.919] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
    [    43.919] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
    [    43.919] (**) AT Translated Set 2 keyboard: always reports core events
    [    43.919] (**) Option "Device" "/dev/input/event3"
    [    43.919] (**) Option "_source" "server/udev"
    [    43.919] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
    [    43.919] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
    [    43.919] (II) event3  - AT Translated Set 2 keyboard: device removed
    [    43.940] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
    [    43.940] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 17)
    [    43.940] (**) Option "xkb_model" "pc105"
    [    43.940] (**) Option "xkb_layout" "us"
    [    43.942] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
    [    43.942] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
    [    43.944] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event9)
    [    43.944] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
    [    43.944] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
    [    43.944] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
    [    43.944] (II) LoadModule: "synaptics"
    [    43.944] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [    43.944] (II) Module synaptics: vendor="X.Org Foundation"
    [    43.944]    compiled for 1.20.1, module version = 1.9.1
    [    43.944]    Module class: X.Org XInput Driver
    [    43.944]    ABI class: X.Org XInput driver, version 24.1
    [    43.945] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
    [    43.945] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [    43.945] (**) Option "Device" "/dev/input/event9"
    [    43.987] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5728 (res 46)
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4902 (res 83)
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
    [    43.988] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [    43.988] (**) SynPS/2 Synaptics TouchPad: always reports core events
    [    44.027] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event9"
    [    44.027] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 18)
    [    44.028] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
    [    44.028] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
    [    44.028] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.036
    [    44.028] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    [    44.028] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
    [    44.028] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
    [    44.028] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
    [    44.028] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
    [    44.029] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
    [    44.029] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
    [    44.041] (**) MI Dongle MI Wireless Mouse Consumer Control: Applying InputClass "libinput keyboard catchall"
    [    44.041] (II) Using input driver 'libinput' for 'MI Dongle MI Wireless Mouse Consumer Control'
    [    44.041] (**) MI Dongle MI Wireless Mouse Consumer Control: always reports core events
    [    44.041] (**) Option "Device" "/dev/input/event7"
    [    44.041] (**) Option "_source" "_driver/libinput"
    [    44.041] (II) libinput: MI Dongle MI Wireless Mouse Consumer Control: is a virtual subdevice
    [    44.041] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:2717:003B.0003/input/input9/event7"
    [    44.041] (II) XINPUT: Adding extended input device "MI Dongle MI Wireless Mouse Consumer Control" (type: KEYBOARD, id 19)
    [    44.041] (**) Option "xkb_model" "pc105"
    [    44.041] (**) Option "xkb_layout" "us"
    [    44.051] (II) intel(0): EDID vendor "LGD", prod id 732
    [    44.051] (II) intel(0): Printing DDC gathered Modelines:
    [    44.051] (II) intel(0): Modeline "1366x768"x0.0   70.00  1366 1402 1450 1492  768 771 776 782 -hsync -vsync (46.9 kHz eP)
    [    44.476] (II) intel(0): resizing framebuffer to 8x8
    [    44.485] (II) intel(0): resizing framebuffer to 1366x768
    [    44.485] (II) intel(0): switch to mode [email protected] on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
    [    70.742] (II) event2  - Power Button: device removed
    [    70.756] (II) event12 - Video Bus: device removed
    [    70.772] (II) event11 - Video Bus: device removed
    [    70.788] (II) event1  - Sleep Button: device removed
    [    70.812] (II) event4  - MI Dongle MI Wireless Mouse: device removed
    [    70.852] (II) event5  - MI Dongle MI Wireless Mouse: device removed
    [    70.895] (II) event6  - MI Dongle MI Wireless Mouse Consumer Control: device removed
    [    70.931] (II) event8  - MI Dongle MI Wireless Mouse Keyboard: device removed
    [    70.976] (II) event16 - Lenovo easy camera: Lenovo Easy: device removed
    [    71.100] (II) event10 - Ideapad extra buttons: device removed
    [    71.116] (II) event3  - AT Translated Set 2 keyboard: device removed
    [    71.172] (II) event7  - MI Dongle MI Wireless Mouse Consumer Control: device removed
    [    71.197] (II) UnloadModule: "libinput"
    [    71.299] (II) UnloadModule: "synaptics"
    [    71.299] (II) UnloadModule: "libinput"
    [    71.299] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.300] (II) UnloadModule: "libinput"
    [    71.301] (II) UnloadModule: "libinput"
    [    71.391] (II) Server terminated successfully (0). Closing log file.
    
    Ошибок нет, лишь несколько предупреждений в начале (The directory ... does not exist).
     
    altblitz likes this.
  7. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Ошибка есть, начиная с этого момента:
    [ 42.411] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

    И как видится в ситуации данной,
    > -keeptty and -keeptty was not provided, disabling logind integration
    > зависнет на екране загрузки (tty недоступен)

    Вот потому и логин клавиатурный стал недоступен.
    Возможно ли исправить эту ошибку? Ответ позитивный.

    Следует записать module keyboard, оно же tty в настройку HOOKS компиляции ядра-кернела.
    Так всё просто ))

    [​IMG]
     
    samuro2 likes this.
  8. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Тем временем, пока я ищу этот файл настройки (пока безуспешно), добавлю, что пока запускаю ядро без splash.
     
    altblitz likes this.
  9. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Здесь он спрятался, от очей твоих - /etc/mkinitcpio.conf ))
    Стандартный файл конфигурации кернела, и без него - никак.

    Достаточно глянуть только ту строку, что начинается с HOOKS.
     
    samuro2 likes this.
  10. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Увы, нету. Наверное потому, что у меня backbox (ubuntu 18.04 LTS), а не arch linux. А я не сообщил о этом ранее.
    Пока поиски привели меня к /etc/initramfs-tools/initramfs.conf и команде update-initramfs -u

    Code:
    #
    # initramfs.conf
    # Configuration file for mkinitramfs(8). See initramfs.conf(5).
    #
    # Note that configuration options from this file can be overridden
    # by config files in the /etc/initramfs-tools/conf.d directory.
    
    #
    # MODULES: [ most | netboot | dep | list ]
    #
    # most - Add most filesystem and all harddrive drivers.
    #
    # dep - Try and guess which modules to load.
    #
    # netboot - Add the base modules, network modules, but skip block devices.
    #
    # list - Only include modules from the 'additional modules' list
    #
    
    MODULES=most
    
    #
    # BUSYBOX: [ y | n | auto ]
    #
    # Use busybox shell and utilities.  If set to n, klibc utilities will be used.
    # If set to auto (or unset), busybox will be used if installed and klibc will
    # be used otherwise.
    #
    
    BUSYBOX=auto
    
    #
    # COMPCACHE_SIZE: [ "x K" | "x M" | "x G" | "x %" ]
    #
    # Amount of RAM to use for RAM-based compressed swap space.
    #
    # An empty value - compcache isn't used, or added to the initramfs at all.
    # An integer and K (e.g. 65536 K) - use a number of kilobytes.
    # An integer and M (e.g. 256 M) - use a number of megabytes.
    # An integer and G (e.g. 1 G) - use a number of gigabytes.
    # An integer and % (e.g. 50 %) - use a percentage of the amount of RAM.
    #
    # You can optionally install the compcache package to configure this setting
    # via debconf and have userspace scripts to load and unload compcache.
    #
    
    COMPCACHE_SIZE=""
    
    #
    # COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
    #
    
    COMPRESS=gzip
    
    #
    # NFS Section of the config.
    #
    
    #
    # DEVICE: ...
    #
    # Specify a specific network interface, like eth0
    # Overridden by optional ip= bootarg
    #
    
    DEVICE=
    
    #
    # NFSROOT: [ auto | HOST:MOUNT ]
    #
    
    NFSROOT=auto
    
    
     
    #2430 samuro2, 9 Apr 2020
    Last edited: 9 Apr 2020
  11. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Заковыристо, желаю вам сказать, однако в этих Ubuntu. Всё запрятано, куда подалее от глаз пользователя.

    В Arch - куда всё проще и легче. Все настройки OS - хранятся в доступных логике человека место-нахождениях файлах.
    Veni, vidi, vici - Зашёл, увидел и сделал так, как и требуется - по своему велению и хотению.

     
    molemime likes this.
  12. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Подошел к следующему (на основании 'Оптимизация initrams в Debian" и '
    initramfs-tools - an introduction to writing scripts for mkinitramfs" и "Разблокировка через SSH полностью зашифрованного ubuntu-server 12.04" и "Отображение русского в консоли Ubuntu 11.04 Natty").

    Вариант 1
    1. Получить список владельцев хуков
    Code:
    intel-microcode: /usr/share/initramfs-tools/hooks/intel_microcode
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/thermal
    kbd: /usr/share/initramfs-tools/hooks/kbd
    plymouth: /usr/share/initramfs-tools/hooks/plymouth
    klibc-utils: /usr/share/initramfs-tools/hooks/klibc-utils
    kmod: /usr/share/initramfs-tools/hooks/kmod
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/fixrtc
    udev: /usr/share/initramfs-tools/hooks/udev
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/compcache
    isc-dhcp-client: /usr/share/initramfs-tools/hooks/zz-dhclient
    nvidia-kernel-common-390: /usr/share/initramfs-tools/hooks/framebuffer-nvidia
    busybox-initramfs: /usr/share/initramfs-tools/hooks/zz-busybox-initramfs
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/resume
    fuse: /usr/share/initramfs-tools/hooks/fuse
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/fsck
    brltty: /usr/share/initramfs-tools/hooks/brltty
    initramfs-tools-core: /usr/share/initramfs-tools/hooks/framebuffer
    amd64-microcode: /usr/share/initramfs-tools/hooks/amd64_microcode
    dmsetup: /usr/share/initramfs-tools/hooks/dmsetup
    keyboard-configuration: /usr/share/initramfs-tools/hooks/console_setup
    ntfs-3g: /usr/share/initramfs-tools/hooks/ntfs_3g
    

    2. Разместить в /etc/initramfs-tools/hooks/ собственный скрипт
    Code:
    #!/bin/sh
                  PREREQ="keyboard-configuration"
                  prereqs()
                  {
                       echo "$PREREQ"
                  }
    
                  case $1 in
                  prereqs)
                       prereqs
                       exit 0
                       ;;
                  esac
    
                  . /usr/share/initramfs-tools/hook-functions
                  # Begin real processing below this line

    3. Сделать файл исполняемым
    Code:
    sudo chmod +x /etc/initramfs-tools/hooks/add-hook-keyboard.sh
    4. Обновить образ initramfs
    Code:
    sudo update-initramfs -u
    Вариант 2
    1. Включить настройку консоли при загрузке, добавив параметр FRAMEBUFFER=Y в файл конфигурации в /etc/initramfs-tools/
    Code:
    #
    # initramfs.conf
    # Configuration file for mkinitramfs(8). See initramfs.conf(5).
    #
    # Note that configuration options from this file can be overridden
    # by config files in the /etc/initramfs-tools/conf.d directory.
    
    #
    # MODULES: [ most | netboot | dep | list ]
    #
    # most - Add most filesystem and all harddrive drivers.
    #
    # dep - Try and guess which modules to load.
    #
    # netboot - Add the base modules, network modules, but skip block devices.
    #
    # list - Only include modules from the 'additional modules' list
    #
    
    MODULES=most
    
    #
    # BUSYBOX: [ y | n | auto ]
    #
    # Use busybox shell and utilities.  If set to n, klibc utilities will be used.
    # If set to auto (or unset), busybox will be used if installed and klibc will
    # be used otherwise.
    #
    
    BUSYBOX=auto
    
    #
    # COMPCACHE_SIZE: [ "x K" | "x M" | "x G" | "x %" ]
    #
    # Amount of RAM to use for RAM-based compressed swap space.
    #
    # An empty value - compcache isn't used, or added to the initramfs at all.
    # An integer and K (e.g. 65536 K) - use a number of kilobytes.
    # An integer and M (e.g. 256 M) - use a number of megabytes.
    # An integer and G (e.g. 1 G) - use a number of gigabytes.
    # An integer and % (e.g. 50 %) - use a percentage of the amount of RAM.
    #
    # You can optionally install the compcache package to configure this setting
    # via debconf and have userspace scripts to load and unload compcache.
    #
    
    COMPCACHE_SIZE=""
    
    #
    # COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
    #
    
    COMPRESS=gzip
    
    #
    # NFS Section of the config.
    #
    
    #
    # DEVICE: ...
    #
    # Specify a specific network interface, like eth0
    # Overridden by optional ip= bootarg
    #
    
    DEVICE=
    
    #
    # NFSROOT: [ auto | HOST:MOUNT ]
    #
    
    NFSROOT=auto
    
    

    2. Обновить образ initramfs
    Code:
    sudo update-initramfs -u
    Вопросы
    Какой вариант больше похож на правду? Не сломаю ли этим я загрузку? Если все не верно, в какую сторону копать дальше?
     
    altblitz likes this.
  13. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Как видится мне, оба варианта загрузки писались авторами под свои личные и конкретные потребности.

    Вариант I - универсальней в том, что заложена загрузка софтвер драйверов для широкого спектра хардвер производителей девайсов.
    Можно начинать с него и затем смотреть в htop, что определилось из модулей и правильно загрузилось.

    It's not a rocket science, включается здравый смысл свой ))

    И вот ещё что.
    blackbox и initramfs отвечает лишь за инициализацию загрузки OS, первые ~20 строк на терминале, те, что в логах не сохраняются.
    Далее - начинается сама загрузка OS, с логами диагностики загрузки каждого модуля.
     
    #2433 altblitz, 10 Apr 2020
    Last edited: 10 Apr 2020
    samuro2 likes this.
  14. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Крайне мало знаю, ведь только седьмой день как копаюсь в *nix. До этого - устанавливал несколько разных дистрибутовов, стандартно, установщиком да с руководством пошаговым. Не пользовался. Загружал только handshake поймать. Да и после около пяти дней в дебрях неизвестной ОС (приводил к нужному мне функционалу), не хочеться сильно поломать.

    Теперь к теме. Сделал, загрузился.
    Следующая неполадка (проявлялась и раньше, но я думал что это одно с предыдущей неисправностью, точнее что решу ее предыдущими действими).

    Загружаюсь, доступен tty. Splash не появляется. Выключаю удержанием кнопки питания.
    Загружаюсь, все ок.
    Смотреть конец строки
    Code:
    [    42.833] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic root=UUID=b35f1d0c-7f04-4f53-9b01-b45624b6bde8 ro quiet splash
    Смотреть конец строки
    Code:
    [    42.833] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic root=UUID=b35f1d0c-7f04-4f53-9b01-b45624b6bde8 ro quiet splash vt.handoff=1

    В остальном файлы идентичны (до и после этой строки). Как видно, при одинаковой загрузке, имеем: в первом случае отсутсвие параметра загрузки (vt.handoff=1, насколько понял, отвечает за splash, присутствует только в ubuntu), во втором - наличие.
    Замечу, в grub вибирается один и тот же пункт из меню, по умолчанию.
     
    #2434 samuro2, 10 Apr 2020
    Last edited: 10 Apr 2020
  15. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Code:
    Загружаюсь, доступен tty. Splash не появляется. Выключаю удержанием кнопки питания.
    Загружаюсь, все ок.
    
    Splash - не во всех дистро включено оно в kernel settings by default. И называется bootsplash, ясности и прозрачности для.
    https://superuser.com/questions/736423/changing-kernel-bootsplash-image
     
  16. samuro2

    samuro2 New Member

    Joined:
    18 Nov 2018
    Messages:
    24
    Likes Received:
    4
    Reputations:
    0
    Я не точно выразился, поправлюсь:
    Загружаюсь, доступен только tty. Splash, как и окно авторизации с прочими графическими интерфейсами не появляется (тоесть Ctrl+Alt+7 даже не отрабатывает), xstrart безуспешен. Выключаю удержанием кнопки питания.
    Разглядел странность с пераметром загрузи ядра - прописан, но в некоторых случаях он куда-то девается. Как такое возможно? Разве grub ошибается?
     
  17. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Не хотеть твоей, искать и решать проблемы с grub. С этим десятилетной давности мамонтом дремучих лесов.
    Потянет он тут же за собой - вагон и телегу ту, зависимостей своих, размером в целую OS.

    [​IMG]

    # bootctl install
    # bootctl update

    that's all.
     
    samuro2 likes this.
  18. amanat777

    amanat777 Member

    Joined:
    19 Mar 2020
    Messages:
    189
    Likes Received:
    8
    Reputations:
    0
    Доброго верени, колееги. Установил вчера Arch, система очень интересная, но для меня новая. Вопрос следующий, КАК СМЕНИТЬ МАК АДРЕС СЕТЕВОЙ КАРТЫ?? Читал документацию, пробовал, не выходит. Раньше сидел на Debian10, там менял мак на рандом через networkmanager без проблем, но тут все по-другому. Заранее спасибо за помощь.
     
  19. altblitz

    altblitz Elder - Старейшина

    Joined:
    5 Jun 2009
    Messages:
    3,694
    Likes Received:
    3,149
    Reputations:
    236
    Кто пользуется Arch, не пользуются networkmanager.
    Всё исполняется парой строк в файлах конфигурации /etc/systemd/network
    Code:
    [Link]
    MACAdressPolicy=random
    [​IMG]

    Настраивается systemd network один раз. Сложно, да, в первый раз. Но работает, и лучше сторонних менеджеров сети.
     
    amanat777 likes this.
  20. amanat777

    amanat777 Member

    Joined:
    19 Mar 2020
    Messages:
    189
    Likes Received:
    8
    Reputations:
    0

    У меня в /etc/systemd/network ничего нет. Как это настроить или где об этом почитать??