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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-31-2004, 07:23 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26
Rep:
|
grub.conf is menu.lst???
I am a little confused as to what is really being called when GRUB starts on boot.
I have a grub.conf in /etc, that looks like this...
root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/me$
quit
This is obviously not the file being used by GRUB.
I then looked in the /boot/grub folder and found menu.lst looked like this...
# Modified by YaST2. Last modification on Sun Mar 28 09:50:47 2004
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x314 splash=silent desktop showopts
initrd (hd0,1)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal nosmp noapic$
initrd (hd0,1)/boot/initrd
This looks a lot more like the grub.conf that I was expecting. Am I just confused? Or is menu.lst what is being used when my system boots with GRUB???
|
|
|
03-31-2004, 07:44 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
Normally grub uses /boot/grub/menu.list etc/grub.conf is usually just a symlink to the menu.list file.
Your grub.conf looks like a installation file for grub, something SuSE/YaST uses to make sure further updates to grub get installed in the right place. I wouldn't worry about it.
|
|
|
03-31-2004, 07:47 PM
|
#3
|
Member
Registered: Feb 2004
Location: Charlottesville, VA
Distribution: ArchLinux
Posts: 65
Rep:
|
I think menu.lst is what GRUB typically uses. Some distros (Red Hat to name one) use a hacked version of GRUB that uses grub.conf or a menu.lst file that is a symbolic link to grub.conf. That's my understanding, in any case. Someone correct me if I'm wrong...
For my distro, GRUB definitely uses the menu.lst file. In fact, grub.conf doesn't even exist as far as I can tell.
|
|
|
03-31-2004, 08:09 PM
|
#4
|
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26
Original Poster
Rep:
|
Thanks for the input, I have been messing around with GRUB to beef up the security of it.
I changed the timeout to 0 to quickly go into boot. I also wanted to do a password protection.
I was trying to encrypt a password using grub-md5-crypt. However, when I do this it does not
return a hash like I read it should.
After I type the password in twice, it just goes back to the command prompt. Has anyone else had this problem?
Any ideas?
|
|
|
03-31-2004, 08:12 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
Sorry works here I got
Code:
grub-md5-crypt
Password:
Retype password:
$1$d3CQI0$Kce9xAx4GJNPv.TqwoG.k1
for a password I typed.
|
|
|
All times are GMT -5. The time now is 10:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|