Help!

Repairing GRUB on FC1

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Red Hat RSS
Next:  switching to text mode during boot  
Author Message
Olivier
External


Since: Jul 06, 2007
Posts: 1



PostPosted: Fri Jul 06, 2007 1:26 pm    Post subject: Repairing GRUB on FC1
Archived from groups: alt>os>linux>redhat (more info?)

Hello,

I ghosted an old server using ghost

I imported that machine in a new VMWARE 5 with success, but when I am
booting the system, it doesn't work.

I get a grub> prompt, and nothinh happens.

How can I repair GRUB

PSE HELP
Back to top
Allen Kistler
External


Since: Jun 26, 2004
Posts: 367



PostPosted: Fri Jul 06, 2007 1:26 pm    Post subject: Re: Repairing GRUB on FC1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Olivier wrote:
> I ghosted an old server using ghost
>
> I imported that machine in a new VMWARE 5 with success, but when I am
> booting the system, it doesn't work.
>
> I get a grub> prompt, and nothinh happens.
>
> How can I repair GRUB
>
> PSE HELP

Boot to "linux rescue" from CD #1 and install grub.
If you don't know how to do that, Google is your friend for common
questions like installing grub.
Back to top
Jan Gerrit Kootstra
External


Since: Apr 08, 2004
Posts: 295



PostPosted: Fri Jul 06, 2007 10:27 pm    Post subject: Re: Repairing GRUB on FC1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Allen Kistler wrote:
> Olivier wrote:
>
>>I ghosted an old server using ghost
>>
>>I imported that machine in a new VMWARE 5 with success, but when I am
>>booting the system, it doesn't work.
>>
>>I get a grub> prompt, and nothinh happens.
>>
>>How can I repair GRUB
>>
>>PSE HELP
>
>
> Boot to "linux rescue" from CD #1 and install grub.
> If you don't know how to do that, Google is your friend for common
> questions like installing grub.

Oliver,


grub-install /dev/hda (ide disc)

grub-install /dev/sda (scsi disc)


Best regards,


Jan Gerrit Kootstra
Back to top
Allen Kistler
External


Since: Jun 26, 2004
Posts: 367



PostPosted: Fri Jul 06, 2007 10:27 pm    Post subject: Re: Repairing GRUB on FC1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jan Gerrit Kootstra wrote:
> Allen Kistler wrote:
>> Olivier wrote:
>>
>>> I ghosted an old server using ghost
>>>
>>> I imported that machine in a new VMWARE 5 with success, but when I am
>>> booting the system, it doesn't work.
>>>
>>> I get a grub> prompt, and nothinh happens.
>>>
>>> How can I repair GRUB
>>>
>>> PSE HELP
>>
>>
>> Boot to "linux rescue" from CD #1 and install grub.
>> If you don't know how to do that, Google is your friend for common
>> questions like installing grub.
>
> grub-install /dev/hda (ide disc)
>
> grub-install /dev/sda (scsi disc)

.... but not straight from the rescue boot. The mounts won't be right
immediately.
Back to top
tblanchard001
External


Since: Jun 14, 2007
Posts: 52



PostPosted: Wed Jul 11, 2007 9:59 am    Post subject: Re: Repairing GRUB on FC1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 6, 4:27 pm, Jan Gerrit Kootstra <jan.ger....RemoveThis@kootstra.org.uk>
wrote:
> Allen Kistler wrote:
> > Olivier wrote:
>
> >>I ghosted an old server using ghost
>
> >>I imported that machine in a new VMWARE 5 with success, but when I am
> >>booting the system, it doesn't work.
>
> >>I get a grub> prompt, and nothinh happens.
>
> >>How can I repair GRUB
>
> >>PSE HELP
>
> > Boot to "linux rescue" from CD #1 and install grub.
> > If you don't know how to do that, Google is your friend for common
> > questions like installing grub.
>
> Oliver,
>
> grub-install /dev/hda (ide disc)
>
> grub-install /dev/sda (scsi disc)
>
> Best regards,
>
> Jan Gerrit Kootstra- Hide quoted text -
>
> - Show quoted text -

Are you using MBR or /boot to boot the system --

grub-install /dev/hda -- sets up grub in the MBR
grub-install -root-directory=/boot /dev/hda -- sets up grub in the /
boot directory

Also try,

grub>find /boot/grub/stage1

if you get a result back the rest of your stuff will be on that disk
as well, then you could run:
grub> root (hd0,1) -- assuming that's what the find command returned
above.
grub> kernel /boot/vmlinux-<kernel version>
Back to top
tblanchard001
External


Since: Jun 14, 2007
Posts: 52



PostPosted: Wed Jul 11, 2007 10:27 am    Post subject: Re: Repairing GRUB on FC1 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jul 11, 12:59 pm, tblanchard....DeleteThis@gmail.com wrote:
> On Jul 6, 4:27 pm, Jan Gerrit Kootstra <jan.ger....DeleteThis@kootstra.org.uk>
> wrote:
>
>
>
>
>
> > Allen Kistler wrote:
> > > Olivier wrote:
>
> > >>I ghosted an old server using ghost
>
> > >>I imported that machine in a new VMWARE 5 with success, but when I am
> > >>booting the system, it doesn't work.
>
> > >>I get a grub> prompt, and nothinh happens.
>
> > >>How can I repair GRUB
>
> > >>PSE HELP
>
> > > Boot to "linux rescue" from CD #1 and install grub.
> > > If you don't know how to do that, Google is your friend for common
> > > questions like installing grub.
>
> > Oliver,
>
> > grub-install /dev/hda (ide disc)
>
> > grub-install /dev/sda (scsi disc)
>
> > Best regards,
>
> > Jan Gerrit Kootstra- Hide quoted text -
>
> > - Show quoted text -
>
> Are you using MBR or /boot to boot the system --
>
> grub-install /dev/hda -- sets up grub in the MBR
> grub-install -root-directory=/boot /dev/hda -- sets up grub in the /
> boot directory
>
> Also try,
>
> grub>find /boot/grub/stage1
>
> if you get a result back the rest of your stuff will be on that disk
> as well, then you could run:
> grub> root (hd0,1) -- assuming that's what the find command returned
> above.
> grub> kernel /boot/vmlinux-<kernel version>- Hide quoted text -
>
> - Show quoted text -

Also, if you have live cd you can explore the /boot directory for your
kernel info and whatnot
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Red Hat All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum