You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
my server boot on zfs.
Recently i change some pam.d file ( common-auth, common-password...) after that i can not use my ubuntu os.
I try to rescue with xubuntu live cd, and using zfs mount -a to rebuild my dataset zpool, but i can not find the original /etc folder
I see all other dataset bunt not /etc/pam.d
Please help
The text was updated successfully, but these errors were encountered:
This is probably more a question for an ubuntu forum than here. You might also ask this on zfs discussion list.
Consider closing this issue as it's not directly developpment related.
zfs mount -a will not mount the root dataset, as it has canmount=noauto set. This is done because there may be multiple clones (in the future, if you were using something like beadm).
Here's what you want in the Live CD (where rpool is the name of your pool): apt install zfsutils-linux zpool import -N -R /mnt rpool zfs mount rpool/ROOT/ubuntu zfs mount -a
Then, your whole system should be accessible at /mnt. You can fix the file from the Live CD environment.
If you need to chroot into your environment, do this: mount --rbind /dev /mnt/dev mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys chroot /mnt /bin/bash --login
Hi,
my server boot on zfs.
Recently i change some pam.d file ( common-auth, common-password...) after that i can not use my ubuntu os.
I try to rescue with xubuntu live cd, and using zfs mount -a to rebuild my dataset zpool, but i can not find the original /etc folder
I see all other dataset bunt not /etc/pam.d
Please help
The text was updated successfully, but these errors were encountered: