[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: /etc/fstab question (problem)?



On 4/19/23 17:24, Default User wrote:

>>>>>> On Wed, 2023-04-19 at 18:07 +0700, Max Nikulin wrote:
>>>>>>> Perhaps update-initramfs is necessary after restoring of
>>>>>>> /etc/fstab in any chosen approach.


Looking at the Wikipedia page "Initial ramdisk":

https://en.wikipedia.org/wiki/Initrd

AIUI /tmp is mounted after the boot process is finished with the initial ramdisk. So, there is no need to run update-initramfs(8).


Okay . . .  The problem seems to be solved!

What I did:

1) Booted into Debian 11.6 Live/install usb thumb drive.

2) As root, mounted the / partition from the internal ssd.

3) On the internal ssd, replaced /etc/fstab with /etc/fstab.original.
(On the internal ssd, I did not delete /tmp or its contents, and did
not delete the tmp partition or its contents.)

4) Unmounted the / partition on the internal ssd.

5) Shutdown and removed the usb thumb drive.

6) Booted in to the computer as usual.

It *seems* to have worked fine, with /tmp mounted on its dedicated
partition again.
But there may still be leftover stuff in /tmp, so maybe later I will
again boot from the live usb, delete everything in /tmp (but not /tmp
itself) on the internal ssd, and reboot into the system, which will
presumably have re-populated with no leftovers.

So far, so good.

Much thanks to all who have weighed in on this!


I am glad it worked out.  :-)


David


Reply to: