LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2003, 04:15 PM   #1
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
boot loader


i have redhat and my lilo.conf and grub.conf are both empty i am trying to change the delay time at start is it possible and by the way can get rid of the boot loader and directly load linux cause its my only os.
 
Old 01-23-2003, 04:21 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
If you use grub just change the "timeout" line to 0. I don't know about lilo.
 
Old 01-23-2003, 04:38 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
i know but the problem is file is empty with nothing
 
Old 01-23-2003, 04:46 PM   #4
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
One of them has to have something. In Red Hat 8.0, you should find the file /etc/grub.conf or /etc/lilo.conf. If you didn't change to LILO during the install process, you have Grub installed. You have the instructions above for changing grub.conf--it is the same change in lilo.conf if you are using that.

Only root can edit these files, so make sure you are logged on as root. If you can't find them, as root, open a terminal window and type:

whereis grub.conf
 
Old 01-23-2003, 04:55 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
my lilo.conf and grub.conf are both empty
Jeez, I missed that. You best be making yourself a boot floppy before you reboot then....

I think deadbug is right though, unless you recently (read: since you last booted your system up) deleted the two files manually then your system would not boot, and would essentially be useless. Have another look.

Oh yeah... in RH8 grub.conf is at /boot/grub/grub.conf so I would assume lilo is /boot/lilo/lilo.conf

Last edited by bulliver; 01-23-2003 at 04:57 PM.
 
Old 01-23-2003, 04:58 PM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
yep working thx for the tip
 
Old 01-23-2003, 04:59 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I'm dying of curiousity...how did you fix it?
 
Old 01-23-2003, 05:04 PM   #8
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
whereis grub.conf
then changed the time out to 0
 
Old 01-23-2003, 05:07 PM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
So it did have content?
 
Old 01-23-2003, 05:12 PM   #10
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Original Poster
Rep: Reputation: 45
yes but last time i opened it was empty i am sure some one mentioned logging as root but i always log as root i dont have another acc.
 
Old 01-23-2003, 05:14 PM   #11
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
WTF? You just said you opened it and altered a setting already in there, but also say it was empty?!
 
Old 01-23-2003, 05:16 PM   #12
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Yes it did; when you "open" a file that should have something in it and it doesn't, the first thing you check is if you pointed at the right directory for the file and aren't merely creating a new one.

In other words, Proud, there are only a few places that you can open grub.conf (/etc/grub/grub.conf and its link file, /etc/grub.conf); everywhere else your text editor will create a new file.
 
Old 01-23-2003, 05:19 PM   #13
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Ooh
So can you easily stop it doing that, or is it a matter of command line arguments, or different shell or something?
 
Old 01-23-2003, 05:31 PM   #14
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
So can you easily stop it doing that
You need to know where your files are

Actually with vim it will say along the lines of:
Code:
grub.conf    (new file)
at the bottom of the screen. I make that mistake quite a bit myself, I just didn't clue in to it here...
 
Old 01-23-2003, 05:34 PM   #15
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Ah ok, 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 On
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 - General

All times are GMT -5. The time now is 03:11 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