grub

All posts tagged grub

Resolution To resolve this issue, one or both of the following may be required, followed by rebuilding the initial ramdisk: Repair the LVM filter in /etc/lvm/lvm.conf to ensure it accepts the device associated with the root filesystem. Ensure that the root VG and LV paths references in the GRUB configuration are correct. The following steps offer one approach to troubleshooting and resolving this, making use of the dracut shell: Enter the dracut shell The dracut shell will replace a Read more...
Sometimes, if you modify the MBR of a x86 disk you can loose its content so you need to reinstall the grub again, for example after install a mixed linux/solarisx86 environment, or migrating a x86 physical machine to a virtualized environment. You have two options to boot the system, both using the CD-Rom: One is using the cdrom grub, to do that, press e after grub appears, and delete all the lines and add the next 3 lines: root (hd0,2,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive As Read more...
#When you forget root password, there is a way to set a new password accessing the console after booting or restarting the system. When grub load, edit the line kernel and add in the end of kernel parameters: init=/bin/bash The system will go up without requesting root password like in single user. After the system is up, re-mount / filesystem # mount -o remount,rw / Now the / filesystem is accesible and you can change root password with: # passwd root   Now reboot the machine Read more...