Различия

Здесь показаны различия между выбранной ревизией и текущей версией данной страницы.

Ссылка на это сравнение

soft:arch-initrd-rootaufs2 [2023/01/06 09:25]
sfs [noswap]
soft:arch-initrd-rootaufs2 [2023/02/15 15:17] (текущий)
sfs [changes[=path]]
Строка 7: Строка 7:
   *Форкнуты [[https://github.com/fandrieu/archlinux-aur/tree/master/mkinitcpio-rootaufs|mkinitcpio-rootaufs]], [[https://aur.archlinux.org/packages/mkinitcpio-loop-subdir/|mkinitcpio-loop-subdir]] и доработаны [[http://forum.puppyrus.org/index.php?action=profile;u=4423|sfs]] в стиле [[http://wiki.puppyrus.org/soft/porteus-initrd|porteus-initrd]]   *Форкнуты [[https://github.com/fandrieu/archlinux-aur/tree/master/mkinitcpio-rootaufs|mkinitcpio-rootaufs]], [[https://aur.archlinux.org/packages/mkinitcpio-loop-subdir/|mkinitcpio-loop-subdir]] и доработаны [[http://forum.puppyrus.org/index.php?action=profile;u=4423|sfs]] в стиле [[http://wiki.puppyrus.org/soft/porteus-initrd|porteus-initrd]]
   *Создает корневую aufs файловую систему из каталогов и(или) [[/puppyrus/pr218/pfs3|модулей.pfs]] (squashfs). Т.е. [[setups/full-vs-frugal|frugal и full]] c сохраненкой в раздел, каталог или файл   *Создает корневую aufs файловую систему из каталогов и(или) [[/puppyrus/pr218/pfs3|модулей.pfs]] (squashfs). Т.е. [[setups/full-vs-frugal|frugal и full]] c сохраненкой в раздел, каталог или файл
 +  *[[users/totiks2012/ventoy#rootaufs2_initrd_prar|Загрузка дистрибутивов в Ventoy из iso]]
  
 ====== Параметры загрузки ====== ====== Параметры загрузки ======
-  *Структура каталогов, слои aufs, параметры загрузки : //dir changes load noload ramsize copy2ram rammod debug sort noauto base_only// - см. в документации [[http://wiki.puppyrus.org/soft/porteus-initrd|porteus-initrd]]+  *Структура каталогов, слои aufs, параметры загрузки : **dir changes extramod load noload ramsize copy2ram rammod debug sort noauto base_only zram** - см. в документации [[http://wiki.puppyrus.org/soft/porteus-initrd|porteus-initrd]]
   *noauto реализовано в системе (systemd: mountall.service), а не initrd   *noauto реализовано в системе (systemd: mountall.service), а не initrd
  
Строка 34: Строка 35:
   *Создание ext2.img :   *Создание ext2.img :
  
-  truncate -s 2G /test/ext2.img && losetup /dev/loop40 /test/ext2.img && mkfs.ext2 /test/ext2.img && losetup -d /dev/loop40+  truncate -s 2G /test/ext2.img && losetup /dev/loop150 /test/ext2.img && mkfs.ext2 /test/ext2.img && losetup -d /dev/loop150
 Примонтировать для редактирования: Примонтировать для редактирования:
   mkdir /tmp/img && mount /test/ext2.img /tmp/img   mkdir /tmp/img && mount /test/ext2.img /tmp/img
Строка 41: Строка 42:
      
 ===== delay= ===== ===== delay= =====
 +  *С версии 230107 
   *Для совместимости с [[soft/porteus-initrd?&#delay|porteus-initrd]]   *Для совместимости с [[soft/porteus-initrd?&#delay|porteus-initrd]]
   *Аналогично [[soft/arch-initrd#rootdelay|rootdelay=]]   *Аналогично [[soft/arch-initrd#rootdelay|rootdelay=]]
Строка 58: Строка 60:
  
 ===== mopt= ===== ===== mopt= =====
 +  *С версии 230107 
   *Для совместимости с [[soft/porteus-initrd?&#mopt|porteus-initrd]]   *Для совместимости с [[soft/porteus-initrd?&#mopt|porteus-initrd]]
   *Аналогично [[soft/arch-initrd#rootdelay|rootflag=]]   *Аналогично [[soft/arch-initrd#rootdelay|rootflag=]]
Строка 78: Строка 81:
     Отключает (комментирует в /etc/fstab) все строки с " / "     Отключает (комментирует в /etc/fstab) все строки с " / "
  
 +===== ro;rw =====
 +  *С версии 230107 можно принудительно не задавать. 
 +  *Всегда будет [[soft/arch-initrd#rorw|rw]]. Перемонтировать : 
 +
 +  mount -o remount,ro /run/archroot/root_ro
 ===== root= ===== ===== root= =====
   *С версии 230107 можно принудительно не задавать. Добавлен автопоиск.    *С версии 230107 можно принудительно не задавать. Добавлен автопоиск. 
Печать/экспорт