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. On 11/20/2017 04:59 PM, Felix Miata wrote:
andreil1@starlett.lv composed on 2017-11-20 15:40 (UTC+0200):
I had a problem with non-bootable Leap 42.2 system after dd clone from 1TB disk to hardware RAID 5 (HP P410i with backup battery). Initially, this HD taken from HP DL160 G6 and moved to HP DL360 G7 where it was cloned to RAID5. This 1TB HD boots on HP DL360 G7 without any problem. Thanks to the OpenSuSE community, I'm sure for 90% that reason of non-bootable system is missing HP P410i RAID driver module (hpsa ?) in initrd. This is running server, so I can take it offline for minimum amount of time. Plan is following. Boot from SuSE Argon LiveDVD (which is based on Leap). http://download.opensuse.org/repositories/KDE:/Medias/images/iso/ and follow this instruction written by Knurpht https://forums.opensuse.org/content.php/146-Using-a-LiveCD-to-take-over-repa... su mount /dev/sdX# /mnt Let the installed system be aware of the available hardware mount --bind /dev /mnt/dev Change root to the installed system, mount /proc and /sys to make it complete chroot /mnt mount /proc mount /sys Last comment on that URL indicates a problem with the instruction....
Add "hpsa" to the list of modules in initrd ( /etc/sysconfig/kernel -> INITRD_MODULES="...") and run "mkinitrd". Is this correct or I missing something ? 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
Following is alternate syntax:
mount /dev/sdX# /mnt mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev chroot /mnt
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org