On Wed, 2008-04-30 at 19:15 -0400, Vincent Onelli wrote:
> 1. Lost fc7 boot loader: (Vincent Onelli)
> Message: 8
> Date: Tue, 29 Apr 2008 14:48:25 -0430
> From: "Patrick O'Callaghan" <pocallaghan(a)gmail.com>
> Subject: Re: Lost fc7 boot loader:
> To: For users of Fedora <fedora-list(a)redhat.com>
> Message-ID: <1209496705.27290.42.camel(a)bree.homelinux.com>
> Content-Type: text/plain
> On Tue, 2008-04-29 at 14:59 -0400, Vincent Onelli wrote:
>> Is there any way to restore the boot loader? I made dome error,
>> reinstalled the windows XP without first back up all the data in
>> I have an HP Pavilion zv6000 with AMD athlon 64, 80 GB and 1GB of
>> memory dual boot with windows and Fedora 7 (fc8 will not install in
>> this computer, I also posted this problem but I did not get any
>> answer) the HD is partition at 40GB each. I try to restore using fc7
>> original disk used for installation but it does not restore the boot
> Do you have a Rescue disk? If so, use it to boot, do
> "chroot /mnt/sysimage" and then "/sbin/grub-install". If your
> old /boot/grub.conf file is OK, grub should install the bootloader. You
> might want to check that grub.conf has an entry for Windows so your dual
> boot will still work.
Thank you so much for the answer.
On the command /sbin/grub-install it return a message:
"install device not specified
USAGE grub-install [OPTION] install device
so I entered: "/sbin/grub-install fedora7"
this time was ok, but on reboot start the windows only.
what am I doing wrong?
What happens when you boot? Do you get the Fedora splash screen or does
it just boot directly into Windows?
Did you check the grub.conf file? Look in /boot/grub/grub.conf. The file
should have a set of lines (a stanza) telling Grub how to boot Linux,
plus another stanza about Windows. It should look something like this:
title Fedora (2.6.25-8.fc9.x86_64)
kernel /vmlinuz-2.6.25-8.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00 rhgb
root (hd1,0) (or whatever)
There may be more than one Linux entry, which is normal. Each entry
starts with "title" followed by the other lines which depend on the
system you are booting (i.e. you can't just copy my entry and expect it
to work). If this isn't there, you'll have to recover it from somewhere
or reconstruct it. A good starting point would be the grub.conf file on
the Rescue CD.