Jump to content

Where's my grub (well the .conf file really)?


bigjohn
 Share

Recommended Posts

When I installed this 2005LE I just told the installer to go use the "usual" places i.e. /dev/hda1 = /boot, /dev/hda2 = /swap, /dev/hda3 = /root and /dev/hda4 = /home.

 

Last night I was trying to point someone in the right direction about grub, and when I went to find my grub.conf, I couldn't find it. Checking in the /boot gives me this,

[root@johnspc john]# ls /boot

boot.0300          initrd-2.6.11-6mdk.img  map              System.map@            vmlinuz-2.6.11-6mdk

config@            initrd.img@            message@        System.map-2.6.11-6mdk

config-2.6.11-6mdk  kernel.h@              message-graphic  uk.klt

grub/              kernel.h-2.6.11-6mdk    message-text    vmlinuz@

[root@johnspc john]# ls /boot/grub

device.map      fat_stage1_5  install.sh.old*  menu.lst        reiserfs_stage1_5  stage2_eltorito  xfs_stage1_5

device.map.old  ffs_stage1_5  iso9660_stage1_5  menu.lst.old    stage1            ufs2_stage1_5

e2fs_stage1_5  install.sh*  jfs_stage1_5      minix_stage1_5  stage2            vstafs_stage1_5

[root@johnspc john]#

If I then try locate or whereis, I get this

[root@johnspc john]# locate grub

/boot/grub

/boot/grub/iso9660_stage1_5

/boot/grub/e2fs_stage1_5

/boot/grub/fat_stage1_5

/boot/grub/ffs_stage1_5

/boot/grub/reiserfs_stage1_5

/boot/grub/jfs_stage1_5

/boot/grub/minix_stage1_5

/boot/grub/stage2_eltorito

/boot/grub/stage1

/boot/grub/stage2

/boot/grub/device.map

/boot/grub/ufs2_stage1_5

/boot/grub/vstafs_stage1_5

/boot/grub/xfs_stage1_5

/boot/grub/menu.lst

/boot/grub/install.sh

/boot/grub/device.map.old

/boot/grub/menu.lst.old

/boot/grub/install.sh.old

/etc/webmin/grub

/etc/webmin/grub/config

/usr/share/man/man8/grub-md5-crypt.8.bz2

/usr/share/man/man8/grub-install.8.bz2

/usr/share/man/man8/grub-terminfo.8.bz2

/usr/share/man/man8/grub.8.bz2

/usr/share/doc/HOWTO/HTML/en/Remote-Serial-Console/configure-boot-loader-grub.html

/usr/share/doc/HOWTO/HTML/en/Remote-Serial-Console/configure-kernel-grub.html

/usr/share/doc/grub-doc-0.95

/usr/share/doc/grub-doc-0.95/ChangeLog

/usr/share/doc/grub-doc-0.95/BUGS

/usr/share/doc/grub-doc-0.95/menu.lst

/usr/share/doc/grub-doc-0.95/NEWS

/usr/share/doc/grub-doc-0.95/TODO

/usr/share/info/grub.info.bz2

/usr/share/vim/syntax/grub.vim

/usr/share/webmin/caldera/grub

/usr/share/webmin/caldera/grub/images

/usr/share/webmin/caldera/grub/images/icon.gif

/usr/share/webmin/grub

/usr/share/webmin/grub/config-coherent-linux

/usr/share/webmin/grub/backup_config.pl

/usr/share/webmin/grub/config

/usr/share/webmin/grub/config-redhat-linux-7.2-7.4

/usr/share/webmin/grub/config-gentoo-linux

/usr/share/webmin/grub/images

/usr/share/webmin/grub/images/smallicon.gif

/usr/share/webmin/grub/images/chain.gif

/usr/share/webmin/grub/images/grub.gif

/usr/share/webmin/grub/images/icon.gif

/usr/share/webmin/grub/images/kernel.gif

/usr/share/webmin/grub/install_check.pl

/usr/share/webmin/grub/config-redhat-linux-8.0-*

/usr/share/webmin/grub/config-trustix-linux

/usr/share/webmin/grub/config.info

/usr/share/webmin/grub/config.info.ca

/usr/share/webmin/grub/config.info.de

/usr/share/webmin/grub/config.info.es

/usr/share/webmin/grub/config.info.ms

/usr/share/webmin/grub/config.info.pl

/usr/share/webmin/grub/config.info.ru_RU

/usr/share/webmin/grub/config.info.ru_SU

/usr/share/webmin/grub/config.info.zh_TW.Big5

/usr/share/webmin/grub/edit_global.cgi

/usr/share/webmin/grub/edit_title.cgi

/usr/share/webmin/grub/grub-lib.pl

/usr/share/webmin/grub/index.cgi

/usr/share/webmin/grub/install.cgi

/usr/share/webmin/grub/lang

/usr/share/webmin/grub/lang/ja_JP.euc

/usr/share/webmin/grub/lang/ca

/usr/share/webmin/grub/lang/de/usr/share/webmin/grub/lang/en

/usr/share/webmin/grub/lang/es

/usr/share/webmin/grub/lang/hu

/usr/share/webmin/grub/lang/ko_KR.euc

/usr/share/webmin/grub/lang/ms

/usr/share/webmin/grub/lang/pl

/usr/share/webmin/grub/lang/ru_RU

/usr/share/webmin/grub/lang/ru_SU

/usr/share/webmin/grub/lang/zh_CN

/usr/share/webmin/grub/lang/zh_TW.Big5

/usr/share/webmin/grub/save_global.cgi

/usr/share/webmin/grub/module.info

/usr/share/webmin/grub/save_title.cgi

/usr/sbin/grub-install

/usr/sbin/grub

/usr/sbin/grub-set-default

/usr/sbin/grub-md5-crypt

/usr/sbin/grub-terminfo

[root@johnspc john]#

and

[root@johnspc john]# whereis /grub/grub.conf

grub: /usr/sbin/grub /usr/share/man/man8/grub.8.bz2

[root@johnspc john]#

 

I'm probably being really thick, but where else the hell is it likely to be? as I definitely, during install, told "it" to use grub, and it shows a perfectly normal OS choice boot dialogue screen???

 

regards

 

John

 

p.s. and yes I did have a look at the /usr/sbin/grub, but most of that file isn't humanly readable, and the bits that are, don't tell me where it might be?

Edited by bigjohn
Link to comment
Share on other sites

Cheers for that devries, that's what I was looking for! (HA! I get chided everywhere for always wanting to use GUI facilities, so it confuses the hell out of me on the odd occassions that I actually try to do stuff with CLI :D ).

 

Again, thanks for the tip

 

regards

 

John

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...