public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Covici <covici@ccs.covici.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts
Date: Tue, 31 Aug 2021 09:33:06 -0400	[thread overview]
Message-ID: <m3o89divsd.wl-covici@ccs.covici.com> (raw)
In-Reply-To: <2146722.vFx2qVVIhK@robert-notebook>


On Tue, 31 Aug 2021 07:11:53 -0400,
Robert David wrote:
> 
> Hi John,
> 
> my approach is to have EFI partition with staticly compiled grub, alpine
> linux rescue system and kernel with tiny initramfs for zfs root.
> 
> It works really well, only thing you need to consider is when upgrading
> root pool, you will not be able to boot to previous BE with old zfs.
> Without upgrading the pool, the transition is just easy as recompiling
> new kernel and upgrading the zfs userspace tools.
> 
> For the alpine I use script to put a new version on /boot
> https://github.com/robertek/root-scripts/blob/master/alpine_recovery_update
> 
> and having grub entry:
> 
> menuentry "Alpine linux recovery" {
>         linux   /boot/vmlinuz-lts modules=loop,squashfs,sd-mod,nvme quiet 
> nomodeset
>         initrd  /boot/initramfs-lts
> }
> 
> The alpine extended version contains zfs modules, so you only need to
> "apk add zfs" and then modprobe zfs.
> 
> The extended version is little bit bigger, but I'm fine to live with 1G efi
> partition.
> 
> Robert.
> 
> On Monday, August 23, 2021 10:15:10 AM CEST John Covici wrote:
> > Hi.  I have been using 5.4 lts kernels for a while, but it seems I
> > need to change to 5.10 lts -- even Debian is now using 5.10, so it
> > seems time to do this.
> > 
> > Now, the problem is that I am using zfs and will not give it up, and
> > the version I have been using 0.8.6 is no longer supported in 5.10
> > versions of the kernel.  So, I need a newer version of zfs and a
> > rescue cd in case I get into trouble.  Sysresc seems to no longer be
> > compatible withgentoo linux, so what is available?  I could use gentoo
> > catalyst to make something -- I have done that in the past, but its
> > quite a bit of work and I would prefer if there were something
> > available I could use out of the box.
> > 
> > Thanks in advance for any suggestions.
> 
> 
> 
> 
> 

Well, I never use a boot pool, I boot with ext4 and just do the root
on zfs.  But, I was more interested in some external media, so I am
looking at that Linux Recovery file system to see if I can get that
working, or if there is a way to add zfs to the sysresc cd, I might do
that.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


  reply	other threads:[~2021-08-31 13:33 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23  8:15 [gentoo-user] rescue cd for zfs 2.1 or thereabouts John Covici
2021-08-23  9:51 ` Miles Malone
2021-08-23 12:13   ` John Covici
2021-08-23 13:52     ` Rich Freeman
2021-08-23 14:13       ` John Covici
2021-08-23 14:24         ` Rich Freeman
2021-08-23 15:11 ` Neil Bothwick
2021-08-23 15:24   ` Rich Freeman
2021-08-23 17:38 ` Meik Frischke
2021-08-23 21:01   ` John Covici
2021-08-31 11:11 ` Robert David
2021-08-31 13:33   ` John Covici [this message]
2021-08-31 14:04     ` Rich Freeman
2021-08-31 14:33       ` Matt Connell (Gmail)
2021-08-31 17:51         ` Michael
2021-08-31 18:21           ` Rich Freeman
2021-08-31 19:21             ` Neil Bothwick
2021-08-31 19:44               ` Michael
2021-08-31 19:54                 ` Rich Freeman
2021-08-31 20:20                   ` Michael
2021-08-31 20:42                     ` Jack
2021-08-31 21:09                 ` Neil Bothwick
2021-08-31 15:02     ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2021-08-23  9:49 Vitor Hugo Nunes dos Santos
2021-08-23 15:45 Vitor Hugo Nunes dos Santos
2021-08-23 17:37 ` Rich Freeman
2021-08-23 17:57   ` Neil Bothwick
2021-08-23 18:02     ` Rich Freeman
2021-08-23 18:13       ` Neil Bothwick
2021-08-23 18:29         ` Rich Freeman
2021-08-23 19:50         ` Vitor Hugo Nunes dos Santos
2021-08-23 20:13           ` Neil Bothwick
2021-08-23 20:21           ` Vitor Hugo Nunes dos Santos
2021-08-23 20:13         ` Vitor Hugo Nunes dos Santos
2021-08-23 20:57         ` John Covici
2021-08-23 21:21           ` Neil Bothwick
2021-08-24  6:57             ` John Covici
2021-08-24  7:33               ` Neil Bothwick

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=m3o89divsd.wl-covici@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox