Red Hat Topics - How can I get back Grub?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > May 2005 > How can I get back Grub?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How can I get back Grub?
nospam

2005-05-28, 2:45 am

I use Grub to boot Linux Enterprise, Windows XP Pro, and Windows XP 64 bit.
I don't know what happened but I lost Grub. I can only boot Windows.

Is there a way to get Grub working again or, can I boot Linux fron boot.ini?


Jean-David Beyer

2005-05-28, 7:45 am

nospam wrote:
> I use Grub to boot Linux Enterprise, Windows XP Pro, and Windows XP 64 bit.
> I don't know what happened but I lost Grub. I can only boot Windows.
>
> Is there a way to get Grub working again or, can I boot Linux fron boot.ini?
>
>

Did you re-install Windows or something? Perhaps all you need do is boot
Linux from a CD-ROM (or floppy, if your distro is old enough to fit a boot
onto a floppy) and re-write the boot block.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 07:10:00 up 1 day, 20:22, 3 users, load average: 2.23, 2.21, 2.12
nospam

2005-05-28, 7:45 am


"Jean-David Beyer" <jdbeyer@exit109.com> wrote in message
news:119gkhhiod7g552@corp.supernews.com...
> nospam wrote:
> Did you re-install Windows or something? Perhaps all you need do is boot
> Linux from a CD-ROM (or floppy, if your distro is old enough to fit a boot
> onto a floppy) and re-write the boot block.


It's Enterprise WS 3.0, when I installed it, I was not given the option to
create a bootdisk. Anyhow, how do I rewrite the boot block otherwise?



Lenard

2005-05-28, 7:45 am

nospam wrote:

>
> "Jean-David Beyer" <jdbeyer@exit109.com> wrote in message
> news:119gkhhiod7g552@corp.supernews.com...
>
> It's Enterprise WS 3.0, when I installed it, I was not given the
> option to create a bootdisk. Anyhow, how do I rewrite the boot block
> otherwise?


Boot with the RHEL 3.0 installation media, when the splash screen is
displayed type; linux rescue

Answer a few questions and follow the on-screen instructions about using
chroot, when ready type something like;

grub-install --recheck /dev/hda

See 'man grub-install' and 'man mkbootdisk' without the quotes for extra
points.

Also visit for other boot options;

http://www.redhat.com/advice/tips/dualboot.htm

http://www.redhat.com/docs/manuals/.../RHEL-3-Manual/

--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
nospam

2005-05-28, 5:46 pm


"Lenard" <Lenard@127.0.0.1> wrote in message
news:0WZle.2393$uu.637@newssvr33.news.prodigy.com...
> nospam wrote:
>
>
> Boot with the RHEL 3.0 installation media, when the splash screen is
> displayed type; linux rescue
>
> Answer a few questions and follow the on-screen instructions about using
> chroot, when ready type something like;
>
> grub-install --recheck /dev/hda
>
> See 'man grub-install' and 'man mkbootdisk' without the quotes for extra
> points.
>
> Also visit for other boot options;
>
> http://www.redhat.com/advice/tips/dualboot.htm
>
> http://www.redhat.com/docs/manuals/.../RHEL-3-Manual/


Thanks. Let me try this....


nospam

2005-05-28, 5:46 pm

Lenard wrote:

> nospam wrote:
>
>
> Boot with the RHEL 3.0 installation media, when the splash screen is
> displayed type; linux rescue
>
> Answer a few questions and follow the on-screen instructions about using
> chroot, when ready type something like;
>
> grub-install --recheck /dev/hda



I get "command not found" when I type this command
Jean-David Beyer

2005-05-28, 5:46 pm

nospam wrote:
> Lenard wrote:
>
>
>
>
>
> I get "command not found" when I type this command


$ whereis grub-install
grub-install: /sbin/grub-install

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 16:15:00 up 2 days, 5:27, 3 users, load average: 2.08, 2.09, 2.10
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com