Article 55MZV mount iso in single user mode

mount iso in single user mode

by
zdolar
from LinuxQuestions.org on (#55MZV)
Hi!

Virtualbox Slackware64-current
I somehow lost a few files in a folder /etc/pam.d.
So I can not boot root (or any other user).
I can boot into a single user mode and
Code:/sbin/mount /dev/sda1 / -o remount,rw works, so I can access the system read/write.
I wish to copy missing files from another working VBOX Slackware (same version).
I've created an ISO image from a working /etc/pam.d with all files included.

When I want to mount that ISO, I got:
Code:mount: /mnt/dvd: mount failed: Operation not permitted.If I try to force -ro mount, then I got:
Code:mount: /mnt/dvd: can't find in /etc/fstab.How to mount ISO to copy files from it?
Is there any other option? - There's no network, no modules, so I see only ISO mount possible.latest?d=yIl2AUoC8zA latest?i=WrdS9lG-QpU:khA6NtIxr3U:F7zBnMy latest?i=WrdS9lG-QpU:khA6NtIxr3U:V_sGLiP latest?d=qj6IDK7rITs latest?i=WrdS9lG-QpU:khA6NtIxr3U:gIN9vFwWrdS9lG-QpU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments