SELinux enforces the idea that programs should be limited in what files they can access and what actions they can take. However, by default it is turned off under RHEL / CentOS 5.x server? How do I turn it on?
Q. After windows XP installation I lost my Grub boot loader and now when I try to run grub-install command to restore Grub in master boot record. But I am getting an error that read as follows:
/dev/sda does not have any corresponding BIOS drive
How do I fix this problem?
A. grub-install is use to install GRUB on your drive. If you are getting error try to recheck device map.
Type the command as follows:
# grub-install --recheck /dev/sdaWhere,
- –recheck: Probe a device map even if it already exists
- /dev/sda : Replace /dev/sda with your actual device name.
Above command should fix the problem.