craig0927
March 27th, 2010, 08:26 AM
Please help...I'm really desperate. If I can't get this fixed by tomorrow, my only option will be a complete reinstall as I have to have everything operational for a new job I'm staring on Monday.
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster.
I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have.
To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID.
From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs).
https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors:
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error:
$sudo grub-install --root-directory=/mnt/ /dev/md0
Invalid device 'dev/md0'
Obviously, neither case fixes the problem.
I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option. Please...if anyone has any ideas, please help. I really, really don't want to have to rebuild my entire server just because of a GRUB problem.
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster.
I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have.
To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID.
From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs).
https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors:
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error:
$sudo grub-install --root-directory=/mnt/ /dev/md0
Invalid device 'dev/md0'
Obviously, neither case fixes the problem.
I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option. Please...if anyone has any ideas, please help. I really, really don't want to have to rebuild my entire server just because of a GRUB problem.