-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2017-11-20 at 17:34 +0200, andreil1@starlett.lv wrote:
On 11/20/2017 04:59 PM, Felix Miata wrote:
andreil1@starlett.lv composed on 2017-11-20 15:40 (UTC+0200):
According to: https://en.opensuse.org/SDB:Recover_root_password and elsewhere, I chroot thus:
mount /dev/sdX# /mnt mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys mount -o bind /dev /mnt/dev chroot /mnt
Thanks for clarification, Per and Felix !
Is this correct Grub2 reinstall sequence after "chroot /mnt" ? grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sdb2
Where sdb2 is a ext4 /boot partition sdb1 is swap, sdb3 - btrf root.
You did not say before that /boot was a separate partition. In this case, you must mount first sdb3 to /mnt, and then sdb2 to /mnt/boot. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAloTHy0ACgkQtTMYHG2NR9VTlACffXs+Hwz8TRp/iz7BixfekaAh QrwAn2x5WMQaBReRbkJILno2tqEmRTiX =mf30 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org