Make-initrd development discussion
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: make-initrd@lists.altlinux.org
Subject: [make-initrd] CLB 2
Date: Tue, 30 Apr 2019 01:34:10 +0200
Message-ID: <19e2c024-e30e-278a-6c33-0d233c9e2fdc@complife.ru> (raw)

Ура, у нас есть первая адаптация CLB под MI2:
http://mak.complife.ru/MI2/clb.cpio

Пока реализовано в виде дополнительной initramfs, совместимо с текущим 
initrd из master.

Это преальфа, PoC и всё такое, но уже сейчас с его помощью можно 
полностью загрузить машину по сети.

В частности, замечательно загружается squashfs, выдранный из 
regular-rescue: http://mak.complife.ru/MI2/rescue.squashfs

Или, что приятнее, ливка из regular-xfce:
http://mak.complife.ru/MI2/live.squashfs

Леонид, что вы еще хотели от фичи liveboot?



примерный initrd.mk:
AUTODETECT = all
FEATURES += network
DISABLE_GUESS += ucode root
MODULES_ADD += overlay squashfs loop
(готовый initrd: http://mak.complife.ru/MI2/initrd-5.0.6-un-def-alt1.img)


примерная cmdline:
ip=eth0:dhcp4 clb_root=http://192.168.222.1/alt/rescue.squashfs


Из замеченных общих минусов - перед переключением в общую систему стоит 
полностью гасить сеть. Иначе эффекты будут самые разнообразные - NM 
считает такой интерфейс unmanaged и не поднимает на нём подключение, 
rescue судя по всему вообще не инициализирует сеть (resolv.conf у него 
там очень весёлый внутри)


             reply	other threads:[~2019-04-29 23:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-29 23:34 Michael A. Kangin [this message]
2019-04-30 12:35 ` Leonid Krivoshein
2019-04-30 13:04   ` Michael A. Kangin
2019-04-30 19:21     ` [make-initrd] Network-Manager (was: Re: CLB 2) Alexey Gladkov
2019-04-30 22:31       ` [make-initrd] Network-Manager Leonid Krivoshein
2019-05-01 14:32       ` Michael A. Kangin
2019-04-30 12:48 ` [make-initrd] CLB 2 Leonid Krivoshein

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=19e2c024-e30e-278a-6c33-0d233c9e2fdc@complife.ru \
    --to=mak@complife.ru \
    --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