Make-initrd development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@kernel.org>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Расширение раздела с корнем
Date: Tue, 26 Nov 2024 18:32:14 +0100
Message-ID: <Z0YGHrFWRVc9pf-H@example.org> (raw)
In-Reply-To: <1b2a6d7e-0f31-4153-86ab-62eccc24db18@basealt.ru>

On Tue, Nov 26, 2024 at 08:22:37PM +0300, Антон Мидюков wrote:
> > Ясно. Предположу, что у вас только mmc карта, тогда ясно почему мы висим.
> > kickstart ждёт блочные устройства, которые понимает.
> > 
> > Вот так, думаю, будет работать:
> 
> Помогло, но проблема с разделами теперь, пытается увеличить /dev/mmcblk11 вместо /dev/mmcblk1p1:

Ты прав. Проблема будет и с nvme0n1p1

Нужно подумать как лучше исправить.

> ++ local partnum
> ++ read -r partnum
> +++ readlink-e /sys/class/block/mmcblk1p1
> ++ dev=/sys/devices/platform/fe320000.mmc/mmc_host/mmc1/mmc1:59b4/block/mmcblk1/mmcblk1p1
> ++ dev=/sys/devices/platform/fe320000.mmc/mmc_host/mmc1/mmc1:59b4/block/mmcblk1
> ++ dev=mmcblk1
> ++ verbose 'increasing partition /dev/mmcblk11'
> ++ '[' -n -v ']'
> ++ message 'increasing partition /dev/mmcblk11'
> ++ local arg= prefix=
> ++ '[' -n '' ']'
> ++ '[' -z '' ']'
> ++ printf '%s\n' 'part: increasing partition /dev/mmcblk11'
> part: increasing partition /dev/mmcblk11
> ++ printf ', %s\n' +
> ++ sfdisk -q -N 1 /dev/mmcblk1
> ++ ks_growfs /dev/mmcblk11
> ++ local PROG
> ++ local fs= requires= ret=0
> ++ PROG=kickstart
> ++ message 'command: ks_growfs /dev/mmcblk11'
> ++ local arg= prefix=
> ++ '[' -n '' ']'
> ++ '[' -z '' ']'
> ++ printf '%s\n' 'kickstart: command: ks_growfs /dev/mmcblk11'
> kickstart: command: ks_growfs /dev/mmcblk11
> +++ blkid --output value --match-tag TYPE -c /dev/null /dev/mmcblk11
> ++ fs=
> ++ return 0
> 
> 
> 
> 
> -- 
> С уважением, Антон Мидюков <antohami@basealt.ru>
> _______________________________________________
> Make-initrd mailing list
> Make-initrd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/make-initrd

-- 
Rgrds, legion



  reply	other threads:[~2024-11-26 17:32 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-16  5:23 Egor Shestakov
2024-11-16 13:28 ` Alexey Gladkov
2024-11-23 14:18   ` Антон Мидюков
2024-11-23 17:59     ` Alexey Gladkov
2024-11-24 10:34       ` Антон Мидюков
2024-11-24 12:51         ` Alexey Gladkov
2024-11-24 13:00           ` Антон Мидюков
2024-11-24 15:36           ` Антон Мидюков
2024-11-24 17:17             ` Alexey Gladkov
2024-11-24 17:29               ` Антон Мидюков
2024-11-25 19:02                 ` Антон Мидюков
2024-11-26 16:01                   ` Alexey Gladkov
2024-11-26 16:06                     ` Антон Мидюков
2024-11-26 16:32                       ` Alexey Gladkov
2024-11-26 16:47                       ` Alexey Gladkov
2024-11-26 17:22                         ` Антон Мидюков
2024-11-26 17:32                           ` Alexey Gladkov [this message]
2024-11-26 17:44                             ` Alexey Gladkov
2024-11-26 17:56                               ` Антон Мидюков
2024-11-26 18:16                                 ` Alexey Gladkov
2024-11-24 13:21         ` Alexey Gladkov
2024-11-24 13:22           ` Антон Мидюков
2024-11-24 13:34             ` Alexey Gladkov

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=Z0YGHrFWRVc9pf-H@example.org \
    --to=legion@kernel.org \
    --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