/boot/grub2/grub.cfg

来源:互联网 发布:算法竞赛入门经典txt 编辑:程序博客网 时间:2024/04/27 22:45

[root@tom kernels]# ls -l /boot
total 22805
-rw-r--r--. 1 root root   116892 May  8  2012 config-3.3.4-5.fc17.i686.PAE
drwxr-xr-x. 2 root root     1024 Nov 20 05:28 grub
drwxr-xr-x. 6 root root     1024 Nov 20 07:11 grub2
-rw-r--r--. 1 root root 16600935 Nov 20 10:46 initramfs-3.3.4-5.fc17.i686.PAE.img
drwx------. 2 root root    12288 Nov 20 02:39 lost+found
-rw-------. 1 root root  1914110 May  8  2012 System.map-3.3.4-5.fc17.i686.PAE
-rwxr-xr-x. 1 root root  4696896 May  8  2012 vmlinuz-3.3.4-5.fc17.i686.PAE
[root@tom kernels]# ls -l /boot/grub
total 67
-rw-r--r--. 1 root root 67229 Feb 15  2012 splash.xpm.gz
[root@tom kernels]# ls -l /boot/grub2
total 26
-rw-r--r--. 1 root root   64 Nov 20 07:11 device.map
drwxr-xr-x. 2 root root 1024 Nov 20 07:11 fonts
-rw-------. 1 root root 5481 Nov 20 07:11 grub.cfg
-rw-r--r--. 1 root root 1024 Nov 20 07:11 grubenv
drwxr-xr-x. 2 root root 8192 Nov 20 07:11 i386-pc
drwxr-xr-x. 2 root root 1024 Nov 20 07:11 locale
drwxr-xr-x. 4 root root 1024 Nov 20 07:11 themes
[root@tom kernels]# gedit /boot/grub2/grub.cfg


(gedit:1934): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.0GVVUW': No such file or directory


(gedit:1934): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory


(gedit:1934): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.5J2QUW': No such file or directory


(gedit:1934): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
[root@tom kernels]# uname -r
3.3.4-5.fc17.i686.PAE
[root@tom kernels]# uname -a
Linux tom 3.3.4-5.fc17.i686.PAE #1 SMP Mon May 7 17:37:39 UTC 2012 i686 i686 i386 GNU/Linux
[root@tom kernels]#


## DO NOT EDIT THIS FILE## It is automatically generated by grub2-mkconfig using templates# from /etc/grub.d and settings from /etc/default/grub#### BEGIN /etc/grub.d/00_header ###if [ -s $prefix/grubenv ]; then  load_envfiset default="${saved_entry}"if [ x"${feature_menuentry_id}" = xy ]; then  menuentry_id_option="--id"else  menuentry_id_option=""fiexport menuentry_id_optionif [ "${prev_saved_entry}" ]; then  set saved_entry="${prev_saved_entry}"  save_env saved_entry  set prev_saved_entry=  save_env prev_saved_entry  set boot_once=truefifunction savedefault {  if [ -z "${boot_once}" ]; then    saved_entry="${chosen}"    save_env saved_entry  fi}function load_video {  if [ x$feature_all_video_module = xy ]; then    insmod all_video  else    insmod efi_gop    insmod efi_uga    insmod ieee1275_fb    insmod vbe    insmod vga    insmod video_bochs    insmod video_cirrus  fi}if [ x$feature_default_font_path = xy ] ; then   font=unicodeelseinsmod part_msdosinsmod lvminsmod ext2set root='lvm/vg_tom-lv_root'if [ x$feature_platform_search_hint = xy ]; then  search --no-floppy --fs-uuid --set=root --hint='lvm/vg_tom-lv_root'  6decd2a4-412e-4666-847e-b53e38968fe1else  search --no-floppy --fs-uuid --set=root 6decd2a4-412e-4666-847e-b53e38968fe1fi    font="/usr/share/grub/unicode.pf2"fiif loadfont $font ; then  set gfxmode=auto  load_video  insmod gfxterm  set locale_dir=$prefix/locale  set lang=en_US  insmod gettextfiterminal_output gfxtermset timeout=5### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/10_linux ###menuentry 'Fedora Linux' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6decd2a4-412e-4666-847e-b53e38968fe1' {load_videoset gfxpayload=keepinsmod gzioinsmod part_msdosinsmod ext2set root='hd0,msdos1'if [ x$feature_platform_search_hint = xy ]; then  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  560d8967-7b66-4419-bb9f-975f7e15a3d6else  search --no-floppy --fs-uuid --set=root 560d8967-7b66-4419-bb9f-975f7e15a3d6fiecho'Loading Linux 3.3.4-5.fc17.i686.PAE ...'linux/vmlinuz-3.3.4-5.fc17.i686.PAE root=/dev/mapper/vg_tom-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_tom/lv_root SYSFONT=True  KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tom/lv_swap LANG=en_US.UTF-8 rhgb quiet echo'Loading initial ramdisk ...'initrd/initramfs-3.3.4-5.fc17.i686.PAE.img}submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-6decd2a4-412e-4666-847e-b53e38968fe1' {menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686.PAE' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686.PAE-advanced-6decd2a4-412e-4666-847e-b53e38968fe1' {load_videoset gfxpayload=keepinsmod gzioinsmod part_msdosinsmod ext2set root='hd0,msdos1'if [ x$feature_platform_search_hint = xy ]; then  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  560d8967-7b66-4419-bb9f-975f7e15a3d6else  search --no-floppy --fs-uuid --set=root 560d8967-7b66-4419-bb9f-975f7e15a3d6fiecho'Loading Linux 3.3.4-5.fc17.i686.PAE ...'linux/vmlinuz-3.3.4-5.fc17.i686.PAE root=/dev/mapper/vg_tom-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_tom/lv_root SYSFONT=True  KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tom/lv_swap LANG=en_US.UTF-8 rhgb quiet echo'Loading initial ramdisk ...'initrd/initramfs-3.3.4-5.fc17.i686.PAE.img}menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686.PAE (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686.PAE-recovery-6decd2a4-412e-4666-847e-b53e38968fe1' {load_videoset gfxpayload=keepinsmod gzioinsmod part_msdosinsmod ext2set root='hd0,msdos1'if [ x$feature_platform_search_hint = xy ]; then  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  560d8967-7b66-4419-bb9f-975f7e15a3d6else  search --no-floppy --fs-uuid --set=root 560d8967-7b66-4419-bb9f-975f7e15a3d6fiecho'Loading Linux 3.3.4-5.fc17.i686.PAE ...'linux/vmlinuz-3.3.4-5.fc17.i686.PAE root=/dev/mapper/vg_tom-lv_root ro single rd.md=0 rd.dm=0 rd.lvm.lv=vg_tom/lv_root SYSFONT=True  KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tom/lv_swap LANG=en_US.UTF-8 rhgb quietecho'Loading initial ramdisk ...'initrd/initramfs-3.3.4-5.fc17.i686.PAE.img}}if [ "x$default" = 'Fedora Linux, with Linux 3.3.4-5.fc17.i686.PAE' ]; then default='Advanced options for Fedora Linux>Fedora Linux, with Linux 3.3.4-5.fc17.i686.PAE'; fi;### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/20_linux_xen ###### END /etc/grub.d/20_linux_xen ###### BEGIN /etc/grub.d/20_ppc_terminfo ###### END /etc/grub.d/20_ppc_terminfo ###### BEGIN /etc/grub.d/30_os-prober ###### END /etc/grub.d/30_os-prober ###### BEGIN /etc/grub.d/40_custom #### This file provides an easy way to add custom menu entries.  Simply type the# menu entries you want to add after this comment.  Be careful not to change# the 'exec tail' line above.### END /etc/grub.d/40_custom ###### BEGIN /etc/grub.d/41_custom ###if [ -f  $prefix/custom.cfg ]; then  source $prefix/custom.cfg;fi### END /etc/grub.d/41_custom ###


原创粉丝点击