grub.conf

1 개요[ | ]

/etc/grub.conf
/boot/grub/grub.conf
grub.conf
[root@zetawiki ~]# ll /boot/grub/grub.conf /etc/grub.conf
-rw-------. 1 root root 769 Oct 29  2012 /boot/grub/grub.conf
lrwxrwxrwx. 1 root root  22 Oct 29  2012 /etc/grub.conf -> ../boot/grub/grub.conf

2 예시 1[ | ]

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/vda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-348.16.1.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-348.16.1.el5 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.18-348.16.1.el5.img
title CentOS (2.6.18-308.4.1.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-308.4.1.el5 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.18-308.4.1.el5.img
title CentOS (2.6.18-238.el5)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-238.el5 ro root=/dev/VolGroup00/LogVol00
	initrd /initrd-2.6.18-238.el5.img

3 예시 2[ | ]

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-274.3.1.el5xen)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-274.3.1.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-274.3.1.el5xen.img
title CentOS (2.6.18-194.3.1.el5xen)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-194.3.1.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-194.3.1.el5xen.img
title CentOS (2.6.18-92.1.10.el5xen)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-92.1.10.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-92.1.10.el5xen.img
title CentOS (2.6.18-92.el5xen)
	root (hd0,0)
	kernel /vmlinuz-2.6.18-92.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.18-92.el5xen.img

4 예시 3[ | ]

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-220.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD console=hvc0  KEYTABLE=us rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto quiet rd_LVM_LV=VolGroup/lv_root rd_NO_DM
	initrd /initramfs-2.6.32-220.el6.x86_64.img

5 같이 보기[ | ]

6 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}