LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-23-2004, 10:07 PM   #1
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Rep: Reputation: 15
No boot loader?


For some reason my Red Hat 9 boot loader isn't working. When I try to goot all I get is a blinking cursor. If I use my boot floppy disk then the system boots. How do I get a boot loader back without reinstalling/formatting?
 
Old 04-24-2004, 04:04 AM   #2
legend1079
Member
 
Registered: Mar 2004
Location: Pakistan
Posts: 49

Rep: Reputation: 15
use the command to install boot loader in the consol

install_grub <dev>

where the <dev> is the place to install boot loader
as to /dev/hd0
 
Old 04-24-2004, 08:54 AM   #3
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I got "command not found" trying that. Apparently "install" isn't recognized. Reinstalling from the CDs is probably the easiest solution. :-)
 
Old 04-24-2004, 06:48 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
grub-install /dev/hda
 
Old 04-24-2004, 08:21 PM   #5
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks! It's working fine now. A little on the slow side in GUI mode, although with only ~300 MHz that might be expected.
 
Old 04-24-2004, 08:29 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you might want to try window maker, it's fast.
 
Old 04-24-2004, 08:57 PM   #7
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
How do I get window maker? What changes would it make and how would I install it?
 
Old 04-24-2004, 09:30 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
http://windowmaker.org


http://rpmfind.net/linux/rpm2html/se...&system=&arch=
 
Old 04-24-2004, 09:52 PM   #9
Aerick
LQ Newbie
 
Registered: Apr 2004
Location: SLC, Utah
Distribution: Red Hat 9.1
Posts: 14

Rep: Reputation: 0
Sorry to butt in...

Does this (grub-install...) work on a dual boot? I have GRUB installed on hda2 (/boot) because I have XP installed on hda1. Currently, I can't boot into Linux because I don't have a boot disk, but am wondering about the possibility of sticking dual boot on hda1 without causing problems with my XP setup.

If so, will this command work from the manual recovery console?
 
Old 04-24-2004, 10:05 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you can chroot into the linux filesystem you can run the command

grub-install /dev/hda

http://www.redhat.com/docs/manuals/l...nstalling.html

You need a grub.conf file that's setup for your partitions and linux kernels, etc..

Here is an example grub.conf


cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This mean that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/hda5
# initrd /initrd-version.img
#boot=/dev/hda
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
default=0
title Fedora Core (2.4.26)
root (hd0,2)
kernel /vmlinuz-2.4.26 ro root=LABEL=/ rhgb idebus=66 vga=793
initrd /initrd-2.4.26.img
title Fedora Core (2.6.5-1.326custom)
root (hd0,2)
kernel /vmlinuz-2.6.5-1.326custom ro root=/dev/hda5 rhgb idebus=66 vga=793
initrd /initrd-2.6.5-1.326custom.img
title WinXP
rootnoverify (hd0,1)
chainloader +1
 
Old 04-24-2004, 10:20 PM   #11
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for the Window Maker links. How would it be different than the window manager in Red Hat 9 right now? Does Window Maker use less resources?
 
Old 04-24-2004, 10:24 PM   #12
Aerick
LQ Newbie
 
Registered: Apr 2004
Location: SLC, Utah
Distribution: Red Hat 9.1
Posts: 14

Rep: Reputation: 0
I'm sure I have that file in my /boot partition, but I can't get at it because GRUB wasn't installed to my mbr. I chose to install it to the /boot partition which is hda2 to keep it from screwing with my Windows install (I already screwed it up once). I'm assuming I just copy this file to the floppy using the standard copy command(s), and that will allow me to boot from floppy?

Forgive my ignorance, but what is "chroot"? Will I accomplish that by "rescue disking" with CD 1 and choosing the manual option?

What I'd really like to have is one of them nifty menu's for dual booting appear on startup for both XP and Linux. I remember seeing something about "linux.bin" being added to C: in Windows and the boot.ini, but need to do some more research...

FYI. I have a manual for Red Hat 9 but the very part I needed it to be more clear about it was too vague.

Thanks for your help, by the way.
 
Old 04-24-2004, 11:38 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need a bootloader in the mbr to load linux and xp, it does not matter which one you use, however it makes no since to have more than one bootloader unless your switching drives around. If you are install it to the mbr on both drives. ntloader is nothing to worry about, you don't need it if you install grub or lilo.
 
Old 04-24-2004, 11:57 PM   #14
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
wmaker is a light weight window manager. What will change is the window manager.

http://my.awesomenet.net/~phillips/i...lackwmaker.png
 
Old 04-25-2004, 08:50 AM   #15
joelwnelson
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I'll look at installing Window Maker. Thanks!
 
  


Reply



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
wireless Keyboard not working to select boot options (Grub boot loader) psrini_vasan Fedora 7 12-16-2009 05:45 PM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 07:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 07:07 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration