MyTechSupport.ca :: Your Computer Technical Resource Headquarters! MyTechSupport.ca :: Your Computer Technical Resource Headquarters!
HOME FORUMS RESOURCES & TOOLS ARTICLES ONLINE STORE ABOUT US
Computer Support Forums arrow Software Support arrow Operating Systems : Linux / Unix arrow Topic: rebuilding GRUB after failure in multiboot system
November 12, 2019, 09:12:06 AM
 

Home Forum Rules Help Search Mobile Version Login Register

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 12, 2019, 09:12:06 AM

Login with username, password and session length
 Featured Sites:
News
Article Writers We are looking for quality, informational articles to add to our Computer Articles
Please contact us if you are interested in submitting some....
  0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: rebuilding GRUB after failure in multiboot system  (Read 5679 times)
Alok
Hero Member
*****

Karma: +0/-1
Offline Offline

Gender: Male
Posts: 213

Alok


Bookmark and Share

View Profile
« on: July 25, 2004, 02:09:00 AM »

PLEASE SUPPLY RELEVANT INFORMATION:
Operating System Version:win98se,win2000 server,redhat linux 9
Problem Application Name & Version:
Problem Hardware Make & Model:
Error Messages:



Hello TinCan
I got another problem once again ..
Well i just want to know is there any method to rebuild GRUB
says i had two operating system RedHAt 9 and win 98 although i don't want to use win 2000 server but just because one of my student asked me a question that i need to install win 2000 on my system
after installing win 2000 server (without any service pack)
i done a good kinda thing says i started my win 98 machine that is configured with nortons utility pack and i just want to check a floppy says if it is virus currupted and norton says me there is a change in MBR do you think this change is expected and simply i said YES
now the havock happens
when i restart the machine there is no GRUB:-\
means i can't start the machine now with LINUX
could you give any idea /clue regarding this Huh?
help
with regards
ALOK
Logged

ALOK TIWARI
mralokkp
tincan
Global Moderator
Sr. Member
*****

Karma: +0/-0
Offline Offline

Gender: Male
Posts: 178


Bookmark and Share

View Profile
« Reply #1 on: July 31, 2004, 05:16:43 PM »

Yes you can get grub to rewrite your master boot record.
What you need to do is to boot into Linux with either a floppy or a cd.
If your system can support booting off a cd, I would download a Linux ISO that is bootable from cd, a live cd not an install cd. I personally use the gentoo live cd. You can get it here:

http://gentoo.osuosl.org/releases/x86/2004.2/livecd/install-x86-minimal-2004.2.iso

Hopefully you have a burner.Tongue

The other option is to boot off you your Redhat rescue disk (floppy). If you created one during the install!!!

Let me know what you go with. We can go from there.
« Last Edit: July 31, 2004, 05:24:46 PM by tincan » Logged

http://www.opensourceinfo.org
OpenSource for an OpenMind.
http://www.moviehaven.ca
Your say about movies.
Alok
Hero Member
*****

Karma: +0/-1
Offline Offline

Gender: Male
Posts: 213

Alok


Bookmark and Share

View Profile
« Reply #2 on: August 01, 2004, 01:53:44 PM »

hello TinCan
Thanks for you long lasting support
but the suggestion is for gentoo do you think this will work for red hat 9 . anyway i will try it
regards
Alok
Logged

ALOK TIWARI
mralokkp
tincan
Global Moderator
Sr. Member
*****

Karma: +0/-0
Offline Offline

Gender: Male
Posts: 178


Bookmark and Share

View Profile
« Reply #3 on: August 01, 2004, 03:04:59 PM »

Yes, Alok. The gentoo cd will work with redhat. What this will allow you to do is do a chroot.
This will basically allow you to go into your redhat environment, and setup grub.

So once you have booted with the gentoo cd. You want to mount your redhat partition.

Code:
mount /dev/hda1 /mnt/linux

If hda1 is where you installed redhat.

Next we want to change into the root parition of redhat.
Code:
chroot /mnt/linux
You should now be in your redhat environment.

Now edit the grub.conf file
Code:
nano /boot/grub/grub.conf
If you don't have grub.conf then try menu.lst

Here is an example of a dual booting system.

Code:
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Redhat
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1

# The next three lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,2)
makeactive
chainloader +1

You want to make sure that you choose the right parition for redhat and for windows.

Now save this file. Time to get grub to write to the MBR.


Code:
grub

You should now be in the grub console.
Code:
grub> root (hd0,0)          (Specify where your /boot partition resides)
grub> setup (hd0)           (Install GRUB in the MBR)
grub> quit                  (Exit the GRUB shell)
Reboot, you should now be back with a dual booting system!
Wink
« Last Edit: August 01, 2004, 03:25:20 PM by tincan » Logged

http://www.opensourceinfo.org
OpenSource for an OpenMind.
http://www.moviehaven.ca
Your say about movies.
Pages: [1] Go Up Print 
 
Jump to:  

Powered by MySQL Powered by PHP

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS!

Disclaimer
This site is NOT responsible for any damage that the information on this site may cause to your system. Everything you try, whether inspired by the response given from this site or not, is entirely at your own risk. All product names and company names used herein are for identification purpose only and may be trademarks or registered trademarks of their respective owners. We are in no way affiliated or representing any of the companies on this site unless specified.
Back to Top
Stop Spam Harvesters, Join Project Honey Pot Fight Back Against Spammers! Get Firefox! Get Thunderbird! View Sylvain Amyots profile on LinkedIn
Back to Top
Google visited last this page November 21, 2018, 08:05:51 PM