I am trying to puzzle out a linux boot configuration problem involving legacy grub (0.97), LVM2, and dracut and trying to eliminate a few red herrings.
My trial and error process goes like so:
- Modify grub.conf
- Install grub.conf into MBR via grub shell
- Reboot
- Kernel panic
In the interests of removing #4, am I missing a step in which I need to update the initramfs image?
What does the initramfs image contain that might pertain to which filesystems are mounted during boot?
I am trying to figure out how to script wholesale upgrades of running systems with minimal downtime by placing a new OS on a spare LVM partition, and then modifying grub.conf/menu.lst to boot from the spare partition.
The OS is based on CentOS 6, and we use the Anaconda installer - for some reason, Anaconda creates a /boot/grub/grub.conf
file and symlinks it to /boot/grub/menu.lst
.