Re: /etc/fstab question (problem)?
On Wed, 2023-04-19 at 18:07 +0700, Max Nikulin wrote:
> On 19/04/2023 16:16, David Christensen wrote:
> > On 4/18/23 20:16, Stefan Monnier wrote:
> >
> > > You can also do
> > >
> > > mount --bind / /mnt
> > >
> > > and then look at /mnt/tmp.
> > > No need to reboot into single-user mode for that.
> >
> > +1 I like that better than the reboot/ live drive idea I posted.
>
> I think, it is the case when reboot is safer. Open file descriptors
> remain on the original partition. However I do not expect that single
> user mode or booting from live image is required. Just restore
> original
> /etc/fstab and reboot.
>
> Perhaps update-initramfs is necessary after restoring of /etc/fstab
> in
> any chosen approach.
>
>
1) Would there be anything actually wrong with doing the procedure from
a live usb as I suggested? Even if not strictly necessary?
2) At what point in the procedure would I need to issue the update-
initramfs command. I assume it would be as root user.
Reply to: