Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot reinstall GRUB2

Hello,

I have a Sony Vaio with Fedora 19 and GRUB2. I also have Windows 8 and boot it once in a while. Recently I installed firmmware updates using Vaio Update under Windows.

After that I am no longer able to boot Linux, it goes directly to Windows.

I have Fedora 19 installation DVD from which linux rescue cannot be started. So in order to reinstall GRUB2 I boot the Fedora 19 installation DVD and then I setup the environment manually with the following commands:

mkdir /mnt/sysimage

mount -t ext4 /dev/mapper/fedora-root /mnt/sysimage

mount -t ext4 /dev/sda7 /mnt/sysimage/boot

mount --bind /dev /mnt/sysimage/dev

mount --bind /proc /mnt/sysimage/proc

mount --bind /sys /mnt/sysimage/sys

chroot /mnt/sysimage

/sbin/grub2-install /dev/sda

... and the installation ends without errors reported.

However when I reboot it goes again directly to Windows. It looks like if the Vaio restores the MBR as it takes longer for the computer to ask for boot password, with

a lot of previous disk activity.

Any ideas?

Thanks in advance.