grub-install does not see block device while being in chroot user environment
block device: Not found or not a block device.
While in chroot mode issuing lsscsi reports:
error: Unable to open /proc/mounts for reading Unable to locate sysfsroot. If kernel>= 2.6.0 Try something like ‘mount -t sysfs none /sys’.
Before changing environment to root the following commands needs to be issued:
mount –bind /proc /CurrentMountPointofRootPartition/proc
mount –bind /dev /CurrentMountPointofRootPartition/dev
mount –bind /sys /CurrentMountPointofRootPartition/sys
After that the command chroot /CurrentMountPointofRootPartition can be issued and the virtual proc, sys and dev filesystems will be available from within the chroot environment so that commands like grub-install can function.