Не отключайте рекламу на сайте - поможете проектуx86_64: LFD10-23.05 ; Roll23.05-23.06 ; LFU22 ; FASi686: DDR01-21.08 Русские PuppyLinux
0 Пользователей и 1 Гость просматривают эту тему.
заработает c initramfs из test2
послало лесом.
Буду пробовать собрать.
подключить к пра03 репу http://mirror.yandex.ru/puppyrus/2a-aarch64/pkg-repo/2a-any/, sudo pacman -Sy mkinitcpio-rootaufs2 и собрать штатно http://wiki.puppyrus.org/soft/arch-initrd
Сделал, все получилось.
Про сборку штатно в wiki написано не понятно, без подробностей, нужно с примером команды сборки.
Так достаточно?
Кодlive@pra:~$ sudo mkinitcpio -c /etc/mkinitcpio-rootaufs2.conf -g /boot/initramfs-32.img==> Starting build: 4.5.1-pf1 -> Running build hook: [base]==> ERROR: Hook 'udev' cannot be found -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] -> Running build hook: [rootaufs2] -> Running build hook: [subdir2]==> ERROR: module not found: `iso9660'==> WARNING: No modules were added to the image. This is probably not what you want.==> Creating xz-compressed initcpio image: /boot/initramfs-32.img==> WARNING: errors were encountered during the build. The image may not be complete.
live@pra:~$ sudo mkinitcpio -c /etc/mkinitcpio-rootaufs2.conf -g /boot/initramfs-32.img==> Starting build: 4.5.1-pf1 -> Running build hook: [base]==> ERROR: Hook 'udev' cannot be found -> Running build hook: [autodetect] -> Running build hook: [modconf] -> Running build hook: [block] -> Running build hook: [filesystems] -> Running build hook: [keyboard] -> Running build hook: [fsck] -> Running build hook: [rootaufs2] -> Running build hook: [subdir2]==> ERROR: module not found: `iso9660'==> WARNING: No modules were added to the image. This is probably not what you want.==> Creating xz-compressed initcpio image: /boot/initramfs-32.img==> WARNING: errors were encountered during the build. The image may not be complete.
Делал в pra03-middle так: sudo mkinitcpio -с /etc/mkinitcpio-rootaufs2-pf.conf -g /boot/initramfs.img, но была ругань, что не найден хук fsck - где его брать?
Оказывается с этим initramfs.img грузится и pra64full.
Сейчас попробовал собрать в pra32full с другим конфигом:
==> ERROR: Hook 'udev' cannot be found
==> ERROR: module not found: `iso9660'
Наверное он хотел fsck.aufs - как понимаешь его не существует
Собираюсь пользоваться только ядрами от Pro
размер initramfs.img получается разный при сборке в pra03-middle (1534 Кб) и в pra32full (1781 Кб)
все равно значительно меньше, чем initramfs-*-fallback.img из твоего iso.
initramfs-*fallback отличается от initramfs отсутствием хука autodetect. Т.е. включены все модули ядра
как сделать, чтобы не было автомонтирования всех разделов при загрузке системы. Параметр noauto здесь не работает.
Лог загрузки /var/log/initrd.log
Наверное из-за системд
Цитата: RoDoN от 02 Август 2017, 12:05:00 как сделать, чтобы не было автомонтирования всех разделов при загрузке системы. Параметр noauto здесь не работает.Работает (перепроверил)
все ext2/3/4 монтируются автоматом
Перепроверил в пра-roll.