From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732906856; bh=Q5XL3qsgxq4MrgwkGC3ZpWLrBFnn1lUT6htvgwp5CRc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=f7ZPfR8E7jYPBNHX2YPsQWlipx8X5XkijNKoOEbM1hjVQdlZHBY+KbzQwx73un0YK dMJuEuBxUEkJebYuvlCiQLk8d7RVnwpgoR6VuzNfeiviybQYeriplLr2EqmXkg2Jda y4IZWI3kmAx/oVu8MRB/Pnk8qJmcSxIwies+0EPeY1XwWpAvXzv1iLcCTJojVCCHvv Hq2GCkYrJANLyodZL5Is6cx4KtbRcowdK/Mx1bEWJGNCCfv7xyxRxgttZUtQ79Rr0E st/qSFAYggSwSVTidmYOEFszCP64nGhFYF8Ae74WVK8aREjW8L68YKoJmqxZLTL9Sh dqFtSxRdHoS2A== Date: Fri, 29 Nov 2024 20:00:52 +0100 From: Alexey Gladkov To: make-initrd@lists.altlinux.org Message-ID: References: <631122a2-0586-4e1d-b181-9a130075349d@basealt.ru> <73534df6-1402-4775-917e-015095c0ab8a@basealt.ru> <0a970589-62c2-4811-b268-db4283082095@basealt.ru> <383e0064-3633-4410-bc86-4035084e4260@basealt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <383e0064-3633-4410-bc86-4035084e4260@basealt.ru> Subject: Re: [make-initrd] =?utf-8?b?0KDQsNGB0YjQuNGA0LXQvdC40LUg0YDQsNC30LQ=?= =?utf-8?b?0LXQu9CwINGBINC60L7RgNC90LXQvA==?= X-BeenThere: make-initrd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: make-initrd@lists.altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2024 19:01:01 -0000 Archived-At: List-Archive: On Fri, Nov 29, 2024 at 09:13:39PM +0300, Антон Мидюков wrote: > >>> Понятно. Это общая проблема: > >>> > >>> Из kicstart_not_resizefs.txt: > >>> > >>> ++ e2fsck -yf /dev/mmcblk1p2 > >>> e2fsck 1.47.1 (20-May-2024) > >>> Pass 1: Checking inodes, blocks, and sizes > >>> Pass 2: Checking directory structure > >>> Pass 3: Checking directory connectivity > >>> Pass 4: Checking reference counts > >>> Pass 5: Checking group summary information > >>> /dev/mmcblk1p2: 36511/263472 files (0.3% non-contiguous), 603579/1051904 blocks > >>> ++ resize2fs /dev/mmcblk1p2 > >>> resize2fs 1.47.1 (20-May-2024) > >>> Please run 'e2fsck -f /dev/mmcblk1p2' first. > >>> > >>> ++ ret=1 > >>> ++ return 1 > >>> > >>> > >>> Из kicstart_resizefs_success.txt: > >>> > >>> ++ e2fsck -yf /dev/mmcblk1p2 > >>> e2fsck 1.47.1 (20-May-2024) > >>> Pass 1: Checking inodes, blocks, and sizes > >>> Pass 2: Checking directory structure > >>> Pass 3: Checking directory connectivity > >>> Pass 4: Checking reference counts > >>> Pass 5: Checking group summary information > >>> /dev/mmcblk1p2: 36535/263472 files (0.3% non-contiguous), 605515/1051904 blocks > >>> ++ resize2fs /dev/mmcblk1p2 > >>> resize2fs 1.47.1 (20-May-2024) > >>> Resizing the filesystem on /dev/mmcblk1p2 to 7567872 (4k) blocks. > >>> The filesystem on /dev/mmcblk1p2 is now 7567872 (4k) blocks long. > >>> > >>> ++ return 0 > >>> > >> > >> А что можно с этим поделать? > > > > Я запушил в for-master исправление. Теперь должно работать. > > > > https://github.com/osboot/make-initrd/commit/932f55f062e6cf7f7355b61c4da99d85f664b487 > > > > Не помогло. > > ++ printf '%s\n' 'kickstart: Increase filesystem to partition size: /dev/mmcblk1p2' > kickstart: Increase filesystem to partition size: /dev/mmcblk1p2 > ++ case "$fs" in > ++ e2fsck -y -p -f /dev/mmcblk1p2 > /dev/mmcblk1p2: 36511/263472 files (0.3% non-contiguous), 603585/1051904 blocks > ++ '[' 0 -le 2 ']' > ++ resize2fs /dev/mmcblk1p2 > resize2fs 1.47.1 (20-May-2024) > Please run 'e2fsck -f /dev/mmcblk1p2' first. > > ++ ret=1 > ++ return 1 > + rc=1 Хм. А вот это неожиданно. Тогда думаю нужно делать resize2fs -f . Если добавить -f будет работать ? -- Rgrds, legion