On 17 December 2014 at 15:44, Phillip Susi <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/17/2014 9:37 AM, Michal Suchanek wrote:
>> Indeed, I have # UNCONFIGURED FSTAB FOR BASE SYSTEM
>>
>> However, recovering from damaged or misconfigured fstab is also
>> valid recovery scenario.
>>
>> How am I supposed to fix the fstab when the root filesystem cannot
>> be remounted to update the fstab when the fstab is invalid?
>
> Well, as you figured out, you mount /proc.  Did you mention this used
> to work though?  In what version?  If it used to work then stopped
> then it may have been unintentional and I'll check with upstream.

"It used to work" in the sense that I routinely recover systems with
broken init by using a shell in place of init and mounting the /
readwrite.

I am not sure I had to recover broken fstab in the past.

Also note that I mounted proc and then bind-mounted mtab. This results
in mtab becoming unreadable (which is possibly bug in itself) and
allows mount to proceed mounting /. Just mounting proc is not enough.

This is not obvious or straightforward solution to the problem.

Thanks

Michal


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to