LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 04-18-2003, 11:25 PM   #1
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
Why is it so difficult to reinstall RH9's Boot loader using the Linux Rescue mode?


I had to reinstall Windows today.

So I booted into RH9's CD, I loaded up the rescue mode. No matter what I did, I could not reinstall grub.

I ended up having to do it a different way. First I used my Slackware 8.1 CD to boot into my slackware drive (to install a boot loader temporally). Then I pondered, why couldn't I use my Slackware 8.1 CD to boot my RH partition, it did sort of... So that's how I reinstalled grub.

My question is, why is it hard to reinstall grub from within the RH9 Rescue mode? Isn't that what it is there for? I wouldn't want to use a CD that is not meant for RH9 to restore the red hat 9 boot loader.
 
Old 04-19-2003, 07:00 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Re: Why is it so difficult to reinstall RH9's Boot loader using the Linux Rescue mode

Quote:
No matter what I did, I could not reinstall grub.
What did you try exactly?
Quote:
My question is, why is it hard to reinstall grub from within the RH9 Rescue mode?
It can be as easy as running grub-install /dev/hda or whatever would be appropriate for your configuration.
 
Old 04-19-2003, 09:31 PM   #3
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
Re: Re: Why is it so difficult to reinstall RH9's Boot loader using the Linux Rescue

Quote:
Originally posted by misc
What did you try exactly?
Go into Red Hat's Linux Rescue mode from CD, but couldn't run grub properly because Red Hat mounted the partition at /mnt/sysimage.

Quote:
It can be as easy as running grub-install /dev/hda or whatever would be appropriate for your configuration.
Well considering that I DID reinstall grub onto the MBR some how, I am guessing that I already KNOW that.
 
Old 04-19-2003, 10:04 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,743
Blog Entries: 4

Rep: Reputation: 76
Quote:
couldn't run grub properly because Red Hat mounted the partition at /mnt/sysimage
so chroot /mnt/sysimage then run grub-install /dev/hda
works fine for me...
 
Old 10-02-2003, 01:00 AM   #5
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Rep: Reputation: 15
let this be a lesson to all linux-installers... always create a boot disk!
 
Old 10-02-2003, 05:36 AM   #6
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
I *never* create a bootdisk, unless it's a headless machine.
 
Old 10-02-2003, 06:44 AM   #7
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Rep: Reputation: 15
what do you mean, headless?
 
Old 10-02-2003, 08:32 AM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
headless = no screen attached to it, remote administration

In that case a kernel bootdisk can be a quick way to work around boot errors.
 
Old 10-03-2003, 06:42 PM   #9
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,529

Rep: Reputation: 178Reputation: 178
You can create a rescue CD that is exactly tailored to your individual system by using LifeBoat.



http://users.rcn.com/srstites/LifeBo...home.page.html

___________________________________

Steve Stites

Last edited by jailbait; 10-04-2003 at 08:37 PM.
 
Old 10-04-2003, 07:58 PM   #10
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
Hmm, I never did thank Bulliver for that information.

Uh thanks for the information.

Man that was late.

And no I don't create boot disks, why? Floppies suck. It's been months since the last time I used my Floppy drive.
 
Old 10-04-2003, 08:24 PM   #11
devhen
LQ Newbie
 
Registered: Mar 2001
Location: SLC, UT
Distribution: RHEL4, CentOS 4, Fedora 5, Ubuntu
Posts: 24

Rep: Reputation: 15
yeah, typically i don't create boot disks either but i did this last time with RH 9 and its a good thing because i had to reinstall WinXP and it erased grub. but i guess i could have just as easily done a rescue with the install disc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall XP Boot Loader XxHell-FirexX General 12 10-28-2005 05:37 AM
how to reinstall boot loader. abhigo Fedora 1 01-29-2005 06:31 AM
how to reinstall boot loader? jitus Linux - Newbie 8 03-20-2004 12:07 PM
RedHat 9.0 /sbin/loader hangs in linux rescue mode subrakrishnan Linux - Newbie 2 07-28-2003 08:00 AM
possible to reinstall boot loader on the MBR? tarballed Linux - Newbie 3 02-14-2003 02:49 PM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration