From: "Александр Шеметов" <shemetov-174@yandex.ru> To: Alexey Gladkov <gladkov.alexey@gmail.com> Cc: "make-initrd@lists.altlinux.org" <make-initrd@lists.altlinux.org> Subject: Re: [make-initrd] make-initrd Date: Wed, 22 Jan 2020 20:32:02 +0500 Message-ID: <563361579707122@sas1-438a02fc058e.qloud-c.yandex.net> (raw) In-Reply-To: <6729421579614757@sas8-004ac07304b9.qloud-c.yandex.net> Удалось продвинуться в моём вопросе. Потребовалось привести файл /etc/initrd.mk к содержимому: # trying to detect modules and features to access to root volume AUTODETECT = all MODULES_PRELOAD += autofs4 fuse ntfs ata_generic scsi_mod ahci ata_piix pata_acpi sd_mod jbd2 mbcache crc16 ext4 MODULES_ADD += fuse ntfs ata_generic scsi_mod ahci ata_piix pata_acpi sd_mod jbd2 mbcache crc16 ext4 FEATURES += plymouth Затем создать файл /usr/share/make-initrd/data/etc/rc.d/init.d/looproot со следующим содержимым: #!/bin/sh ### BEGIN INIT INFO # Provides: mount loop root # Required-Start: modules # Should-Start: # Required-Stop: # Should-Stop: # Default-Start: 3 4 5 # Default-Stop: # Short-Description: Mount loop file system # Description: Mount loop file system ### END INIT INFO . /.initrd/initenv export looproot=/looproot mkdir -p /looproot mount -n -t ntfs -o nodiratime,noatime ${ROOT} ${looproot} mount -n -t ext4 -o loop ${looproot}/basealt.img ${rootmnt} После этого система начинает стартовать из образа, но не запускается. При запуске сервисов вижу первую ошибку: [FAILED] Failed to start Remount Root and Kernel File Systems. See 'systemctl status systemd-remount-fs.service' for details. Далее присутствует ряд других. Создаётся впечатление, что /root смонтировался в ro. Всё это происходит, вероятно, в момент перемонтирования /root. Могу только видеть сообщения на 12 консоли, на остальных отсутствует приглашение ввода. Может подскажите, куда посмотреть, чтобы решить ? Заранее спасибо. -- С уважением, Александр Шеметов
next prev parent reply other threads:[~2020-01-22 15:32 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-16 9:49 ` Alexey Gladkov 2020-01-18 10:11 ` Александр Шеметов 2020-01-18 11:33 ` Alexey Gladkov 2020-01-18 15:41 ` Александр Шеметов 2020-01-18 18:44 ` Alexey Gladkov 2020-01-21 13:52 ` Александр Шеметов 2020-01-22 15:32 ` Александр Шеметов [this message] 2020-01-23 6:37 ` Александр Шеметов
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=563361579707122@sas1-438a02fc058e.qloud-c.yandex.net \ --to=shemetov-174@yandex.ru \ --cc=gladkov.alexey@gmail.com \ --cc=make-initrd@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Make-initrd development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \ make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com public-inbox-index make-initrd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.make-initrd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git