Today I performed a yum upgrade from F15 to F16 (as I did some time ago with my main computer).
The thing is that I did something differently (maybe not installing grub2 on F15 before the upgrade) and after yum finished upgrading, I did a grub2-install. Bad for me, now grub doesn't show a menu , but a grub prompt.
Tried booting a live image (through a USB stick), and thought I had it fixed: created a grub2.cfg file in /boot/grub2/ (from the root of the hard drive, not the USB) and ran grub2-install --boot-directory=/media/boot/grub2 /dev/sda. Didn't give any errors, but didn't work. Still can't get grub2 to boot.
Any help will be appreciated
-- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador
OK, got it to boot with sone instructions I found on the web:
http://techgage.com/news/repairing_a_broken_grub_2_boot-loader_on_ubuntu/
Just had to change somethings so that they looked like in my system (devices, path to vmlinuz, etc.)
Now, how do I verify that my grub.cfg is good, and it's installed corrctlly so that I don't have to enter all those options by hand the next time I have to boot?
BTW, grub2-install /dev/sda works great, but grub2-probe /dev/sda gives this error:
grub2-probe: error: cannot stat 'devtmpfs'
2012/5/8 Martín Marqués martin.marques@gmail.com:
Today I performed a yum upgrade from F15 to F16 (as I did some time ago with my main computer).
The thing is that I did something differently (maybe not installing grub2 on F15 before the upgrade) and after yum finished upgrading, I did a grub2-install. Bad for me, now grub doesn't show a menu , but a grub prompt.
Tried booting a live image (through a USB stick), and thought I had it fixed: created a grub2.cfg file in /boot/grub2/ (from the root of the hard drive, not the USB) and ran grub2-install --boot-directory=/media/boot/grub2 /dev/sda. Didn't give any errors, but didn't work. Still can't get grub2 to boot.
Any help will be appreciated
-- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador
On Tue, 2012-05-08 at 19:40 -0300, Martín Marqués wrote:
OK, got it to boot with sone instructions I found on the web:
http://techgage.com/news/repairing_a_broken_grub_2_boot-loader_on_ubuntu/
Just had to change somethings so that they looked like in my system (devices, path to vmlinuz, etc.)
Now, how do I verify that my grub.cfg is good, and it's installed corrctlly so that I don't have to enter all those options by hand the next time I have to boot?
BTW, grub2-install /dev/sda works great, but grub2-probe /dev/sda gives this error:
grub2-probe: error: cannot stat 'devtmpfs'
I get the same error when I run the above command and my grub2 is working normally.