LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   grub.conf is menu.lst??? (http://www.linuxquestions.org/questions/linux-general-1/grub-conf-is-menu-lst-164731/)

zombyLINUX 03-31-2004 07:23 PM

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???

leonscape 03-31-2004 07:44 PM

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.

LinuXP 03-31-2004 07:47 PM

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.

zombyLINUX 03-31-2004 08:09 PM

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?

leonscape 03-31-2004 08:12 PM

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 05:09 PM.