Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 20:44:50 +0100, Michael wrote: > > systemd-boot and refind both support everything on EFI. I am pretty > > sure GRUB does too, but I have no reason to use GRUB with EFI. My > > setup on this box is /boot on FAT32 and / (and everything else) on > > btrfs. I've also used the

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Jack
On 2021.08.31 16:20, Michael wrote: [snip] Is there some particular need to resize boot? Is there even a need to have a pool for it? It seems to me having a stand alone simple VFAT partition for / boot which doubles up as ESP with a /boot/EFI subdirectory will do the job, although I

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Michael
On Tuesday, 31 August 2021 20:54:14 BST Rich Freeman wrote: > On Tue, Aug 31, 2021 at 3:44 PM Michael wrote: > > Please beware, I have not used zfs to date, only btrfs, so the above > > merely > > reflects my understanding rather than in depth experience of the > > difficulty in managing such a

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 3:44 PM Michael wrote: > > Please beware, I have not used zfs to date, only btrfs, so the above merely > reflects my understanding rather than in depth experience of the difficulty in > managing such a setup. To save you digging through the thread, the issue with zfs is

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Michael
On Tuesday, 31 August 2021 20:21:58 BST Neil Bothwick wrote: > On Tue, 31 Aug 2021 14:21:35 -0400, Rich Freeman wrote: > > > If you are multibooting frequently and getting into the UEFI boot > > > menu to change the boot order or running efibootmgr is too much > > > hassle, then a 3rd party boot

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 14:21:35 -0400, Rich Freeman wrote: > > If you are multibooting frequently and getting into the UEFI boot > > menu to change the boot order or running efibootmgr is too much > > hassle, then a 3rd party boot manager will be useful. Your choice of > > GRUB, rEFInd,

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 1:51 PM Michael wrote: > > > > > In a small nutshell, you have a small EFI+boot partition, set to type > > 'EFI System' and formatted FAT32, then tell grub to use it as an EFI > > directory when calling grub-install. > > In simple(r) systems where you only boot the same OS

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Michael
On Tuesday, 31 August 2021 15:33:07 BST Matt Connell (Gmail) wrote: > On Tue, 2021-08-31 at 10:04 -0400, Rich Freeman wrote: > > What I probably should get around to is grokking EFI+linux. I'm not > > sure what the cleanest solution for that is these days - I've never > > actually set up EFI on

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 09:33:06 -0400, John Covici wrote: > or if there is a way to add zfs to the sysresc cd, I might do > that. There is, I posted a link last week. >> You can also add additional modules to sysrescd, so it may be easier to >> stick with that and add ZFS to it. >> >> Looking at

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Matt Connell (Gmail)
On Tue, 2021-08-31 at 10:04 -0400, Rich Freeman wrote: > What I probably should get around to is grokking EFI+linux.  I'm not > sure what the cleanest solution for that is these days - I've never > actually set up EFI on linux, mostly because I'm not sure what the > best practice is. I can't

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Rich Freeman
On Tue, Aug 31, 2021 at 9:33 AM John Covici wrote: > > 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

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread John Covici
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 >

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Robert David
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

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-24 Thread Neil Bothwick
On Tue, 24 Aug 2021 02:57:04 -0400, John Covici wrote: > OK, I will check that out, thanks. It looks like that complete gentoo > system mentioned in the forums is looking decent, except its quite > large, I am checking that one also. You can also add additional modules to sysrescd, so it may be

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-24 Thread John Covici
On Mon, 23 Aug 2021 17:21:35 -0400, Neil Bothwick wrote: > > [1 ] > On Mon, 23 Aug 2021 16:57:11 -0400, John Covici wrote: > > > So back to my original question, I downloaded -- after a lot of > > trouble finding it -- the Ubuntu 21.04 live server as they call it, > > but I cannot find any

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 16:57:11 -0400, John Covici wrote: > So back to my original question, I downloaded -- after a lot of > trouble finding it -- the Ubuntu 21.04 live server as they call it, > but I cannot find any documentation as to how to use it as a rescue > disk -- seems to be just an

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread John Covici
On Mon, 23 Aug 2021 13:38:45 -0400, Meik Frischke wrote: > > Am Mo., 23. Aug. 2021 um 10:15 Uhr schrieb John Covici > : > > > > 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. > >

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread John Covici
On Mon, 23 Aug 2021 14:13:30 -0400, Neil Bothwick wrote: > > [1 ] > On Mon, 23 Aug 2021 14:02:29 -0400, Rich Freeman wrote: > > > > Aren't new features only applied to newly created pools and datasets? > > > If /boot was compatible with GRUB it should still be. At least that's > > > how I read

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Vitor Hugo Nunes dos Santos
Don't complain to me on the Gentoo mailling list. Go bother: A.The ZFS mailling list B.The GRUB mailling list IIRC this has to do with the whole CDDL x GPL situation. On the topic of not having UEFI as a possibility: Either upgrade your machine or go back to the steps mentioned above. I

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 19:50:38 +, Vitor Hugo Nunes dos Santos wrote: > GRUB purposefully has lacking documentation, as they are not friendly > towards ZFS as a whole That's ridiculous, if they can support it with code, they can support it with documentation. > and also because most people

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Vitor Hugo Nunes dos Santos
To expand on this even further: GRUB usage with ZFS, in my experience, requires the following patch: https://vhns.com.br/pix/grub-zfs-patch.html I took it from GRUB's mailling list. I don't really recall who wrote it. August 23, 2021 4:51 PM, "Vitor Hugo Nunes dos Santos" wrote: > You set

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Vitor Hugo Nunes dos Santos
You set yourself up for failure by sharing the same pool for /boot and root. Here's the flags you're meant to use for your boot pool: https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html#step-2-disk-formatting Under "Create boot pool". GRUB

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 2:13 PM Neil Bothwick wrote: > > All I could find was this: > > http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#n276 > > For a program with so much documentation, GRUB seems sorely lacking in > this respect. It makes me glad I decided to keep /boot

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 14:02:29 -0400, Rich Freeman wrote: > > Aren't new features only applied to newly created pools and datasets? > > If /boot was compatible with GRUB it should still be. At least that's > > how I read the einfo messages zfs spits out. > > That is correct. I want to know when

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 1:57 PM Neil Bothwick wrote: > > On Mon, 23 Aug 2021 13:37:01 -0400, Rich Freeman wrote: > > > > Your root pool setup doesn't really matter for GRUB compatibility. > > > What's important is that you have the proper features setup on your > > > boot pool. That's the one

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 13:37:01 -0400, Rich Freeman wrote: > > Your root pool setup doesn't really matter for GRUB compatibility. > > What's important is that you have the proper features setup on your > > boot pool. That's the one GRUB loads. > > Sure, and in this case /boot is on my root pool.

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Meik Frischke
Am Mo., 23. Aug. 2021 um 10:15 Uhr schrieb John Covici : > > 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 >

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 11:45 AM Vitor Hugo Nunes dos Santos wrote: > > Your root pool setup doesn't really matter for GRUB compatibility. What's > important is that you have the proper features setup on your boot pool. > That's the one GRUB loads. Sure, and in this case /boot is on my root

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Vitor Hugo Nunes dos Santos
Your root pool setup doesn't really matter for GRUB compatibility. What's important is that you have the proper features setup on your boot pool. That's the one GRUB loads. On Aug 23, 2021 12:24 PM, Rich Freeman wrote: > > On Mon, Aug 23, 2021 at 11:11 AM Neil Bothwick wrote: > > > > On Mon,

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 11:11 AM Neil Bothwick wrote: > > On Mon, 23 Aug 2021 04:15:10 -0400, John Covici wrote: > > > 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

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 04:15:10 -0400, John Covici wrote: > 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

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 10:13 AM John Covici wrote: > > So, which image is it exactly and how to boot up to a virtual console, > rather than some kind of gui? It has been a while, but I usually just download their desktop installer. I suspect their server installer would make it easier to get

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread John Covici
On Mon, 23 Aug 2021 09:52:10 -0400, Rich Freeman wrote: > > On Mon, Aug 23, 2021 at 8:13 AM John Covici wrote: > > > > Well, I cannot find any zfs packages and it does not say even what > > kernel version it has -- but the whole point is I do need zfs and it > > seems not to be there. > > > >

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Rich Freeman
On Mon, Aug 23, 2021 at 8:13 AM John Covici wrote: > > Well, I cannot find any zfs packages and it does not say even what > kernel version it has -- but the whole point is I do need zfs and it > seems not to be there. > I've also been using the Ubuntu image. It is pretty easy to install zfs on

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread John Covici
On Mon, 23 Aug 2021 05:51:38 -0400, Miles Malone wrote: > > What is it makes you think system rescue cd isnt compatible with > gentoo? it's built on arch these days, but it's still the go-to > rescue and install CD, and I cannot imagine it being an issue. I > suggest giving it a go and make

Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Miles Malone
What is it makes you think system rescue cd isnt compatible with gentoo? it's built on arch these days, but it's still the go-to rescue and install CD, and I cannot imagine it being an issue. I suggest giving it a go and make sure it mounts your ZFS array without issues, and go from there. It's

[gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Vitor Hugo Nunes dos Santos
Use Ubuntu's livecdOn Aug 23, 2021 5:15 AM, 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

[gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread John Covici
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