Re: [Discuss] Running things from initramfs

2021-03-17 Thread Dale R. Worley
Thanks to everyone for ideas! Out of cussedness, I dug enough to figure out how to get at the disk partitions from the initramfs environment. The details of the procedure depend on your initramfs environment and disk configuration, but the pattern is simple enough that having seen an example, you

Re: [Discuss] Running things from initramfs

2021-03-06 Thread David Rosenstrauch
On 3/5/21 9:07 PM, Dale R. Worley wrote: Here's a messy problem. I suspect the answer is simple, but obscure: I have an Oracle Linux (a Red Hat derivative) computer and I'd like to run "xfs_repair /dev/mapper/ol-root". The problem of course is that partition is the root partition and xfs_re

Re: [Discuss] Running things from initramfs

2021-03-06 Thread Dan Ritter
grg wrote: > On Fri, Mar 05, 2021 at 09:07:56PM -0500, Dale R. Worley wrote: > > I have an Oracle Linux (a Red Hat derivative) computer and I'd like to > > run "xfs_repair /dev/mapper/ol-root". The problem of course > > is that partition is the root partition and xfs_repair can't operate > > on a

Re: [Discuss] Running things from initramfs

2021-03-06 Thread grg
On Fri, Mar 05, 2021 at 09:07:56PM -0500, Dale R. Worley wrote: > The problem is that this environment is not at all set up, and even > /dev is nearly empty. There is an xfs_repair binary, so I figure if I > could just get /dev/mapper/ol-root set up correctly, I could > repair it. There is an "lv

Re: [Discuss] Running things from initramfs

2021-03-05 Thread Matthew Gillen
On 3/5/2021 9:07 PM, Dale R. Worley wrote: > Here's a messy problem. I suspect the answer is simple, but obscure: > > I have an Oracle Linux (a Red Hat derivative) computer and I'd like to > run "xfs_repair /dev/mapper/ol-root". The problem of course > is that partition is the root partition and

[Discuss] Running things from initramfs

2021-03-05 Thread Dale R. Worley
Here's a messy problem. I suspect the answer is simple, but obscure: I have an Oracle Linux (a Red Hat derivative) computer and I'd like to run "xfs_repair /dev/mapper/ol-root". The problem of course is that partition is the root partition and xfs_repair can't operate on a partition that's mount