LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-31-2004, 08:23 PM   #1
zombyLINUX
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26

Rep: Reputation: 15
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???
 
Old 03-31-2004, 08:44 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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.
 
Old 03-31-2004, 08:47 PM   #3
LinuXP
Member
 
Registered: Feb 2004
Location: Charlottesville, VA
Distribution: ArchLinux
Posts: 65

Rep: Reputation: 15
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.
 
Old 03-31-2004, 09:09 PM   #4
zombyLINUX
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26

Original Poster
Rep: Reputation: 15
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?
 
Old 03-31-2004, 09:12 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Sorry works here I got
Code:
grub-md5-crypt
Password:
Retype password:
$1$d3CQI0$Kce9xAx4GJNPv.TqwoG.k1
for a password I typed.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub.lst, .conf locations 0perat0r Linux - Newbie 11 04-22-2011 08:05 PM
need grub menu.lst example pk108 Mandriva 4 12-11-2004 07:45 PM
grub.conf vs. menu.lst netstv Linux - General 3 11-24-2004 07:19 PM
Grub, can someone posts their Menu.lst please webwolf70 cAos 6 10-21-2004 01:37 AM
grub.conf vs menu.lst linmix Linux - Software 2 08-26-2004 04:17 PM


All times are GMT -5. The time now is 07:53 PM.

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