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.


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.