Re: fedora-list Digest, Vol 50, Issue 223

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> > Subject: Re: Lost fc7 boot loader:
> > To: For users of Fedora <fedora-list@xxxxxxxxxx>
> > Message-ID: <1209496705.27290.42.camel@xxxxxxxxxxxxxxxxxx>
> > Content-Type: text/plain
> > 
> > On Tue, 2008-04-29 at 14:59 -0400, Vincent Onelli wrote:
> >> Hi,
> >> 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
> >> fedora.
> >> 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
> >> loader.
> > 
> > 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.
>  
> > poc
> > 
> 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:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-8.fc9.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.25-8.fc9.x86_64 ro root=/dev/VolGroup00/LogVol00 rhgb
        initrd /initrd-2.6.25-8.fc9.x86_64.img
title Windows
	root (hd1,0) (or whatever)
	etc.

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.

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux