安装Windows7+Ubuntu13.04+CentOS7三系统(2)

### BEGIN /etc/grub.d/10_linux ###
 menuentry 'CentOS Linux, with Linux 3.10.0-123.el7.x86_64' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-123.el7.x86_64-advanced-8091b91e-1049-4c97-8e64-59fa7cda6671' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod xfs
    set root='hd0,msdos10'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10 --hint='hd0,msdos10'  ab21651b-b9d9-403a-9115-f288ca6b7bd5
    else
      search --no-floppy --fs-uuid --set=root ab21651b-b9d9-403a-9115-f288ca6b7bd5
    fi
    linux16 /vmlinuz-3.10.0-123.el7.x86_64 root=UUID=8091b91e-1049-4c97-8e64-59fa7cda6671 ro rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto  vconsole.keymap=us rhgb quiet LANG=zh_CN.UTF-8
    initrd16 /initramfs-3.10.0-123.el7.x86_64.img
 }


 menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-xxx'{
    insmod chain
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    chainloader +1
 }

menuentry 'CentOS Linux, with Linux 0-rescue-a9741edb99374138ad3514311cc1ba77' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-a9741edb99374138ad3514311cc1ba77-advanced-8091b91e-1049-4c97-8e64-59fa7cda6671' {
    load_video
    insmod gzio
    insmod part_msdos
    insmod xfs
    set root='hd0,msdos10'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10 --hint='hd0,msdos10'  ab21651b-b9d9-403a-9115-f288ca6b7bd5
    else
      search --no-floppy --fs-uuid --set=root ab21651b-b9d9-403a-9115-f288ca6b7bd5
    fi
    linux16 /vmlinuz-0-rescue-a9741edb99374138ad3514311cc1ba77 root=UUID=8091b91e-1049-4c97-8e64-59fa7cda6671 ro rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto  vconsole.keymap=us rhgb quiet
    initrd16 /initramfs-0-rescue-a9741edb99374138ad3514311cc1ba77.img
 }
 if [ "x$default" = 'CentOS Linux, with Linux 3.10.0-123.el7.x86_64' ]; then default='Advanced options for CentOS Linux>CentOS Linux, with Linux 3.10.0-123.el7.x86_64'; 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 ###
 menuentry 'Ubuntu 13.04 (13.04) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-0cbece5c-328e-4f94-aa52-da220cca34a2' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos9'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd0,msdos9'  0cbece5c-328e-4f94-aa52-da220cca34a2
    else
      search --no-floppy --fs-uuid --set=root 0cbece5c-328e-4f94-aa52-da220cca34a2
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=UUID=0cbece5c-328e-4f94-aa52-da220cca34a2 ro locale=zh_CN quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
 }
 submenu 'Advanced options for Ubuntu 13.04 (13.04) (on /dev/sda9)' $menuentry_id_option 'osprober-gnulinux-advanced-0cbece5c-328e-4f94-aa52-da220cca34a2' {
    menuentry 'Ubuntu (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-19-generic--0cbece5c-328e-4f94-aa52-da220cca34a2' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos9'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd0,msdos9'  0cbece5c-328e-4f94-aa52-da220cca34a2
        else
          search --no-floppy --fs-uuid --set=root 0cbece5c-328e-4f94-aa52-da220cca34a2
        fi
        linux /boot/vmlinuz-3.8.0-19-generic root=UUID=0cbece5c-328e-4f94-aa52-da220cca34a2 ro locale=zh_CN quiet splash $vt_handoff
        initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Ubuntu,Linux 3.8.0-19-generic (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-19-generic--0cbece5c-328e-4f94-aa52-da220cca34a2' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos9'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd0,msdos9'  0cbece5c-328e-4f94-aa52-da220cca34a2
        else
          search --no-floppy --fs-uuid --set=root 0cbece5c-328e-4f94-aa52-da220cca34a2
        fi
        linux /boot/vmlinuz-3.8.0-19-generic root=UUID=0cbece5c-328e-4f94-aa52-da220cca34a2 ro locale=zh_CN quiet splash $vt_handoff
        initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Ubuntu,Linux 3.8.0-19-generic (恢复模式) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-19-generic--0cbece5c-328e-4f94-aa52-da220cca34a2' {
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos9'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos9 --hint-efi=hd0,msdos9 --hint-baremetal=ahci0,msdos9 --hint='hd0,msdos9'  0cbece5c-328e-4f94-aa52-da220cca34a2
        else
          search --no-floppy --fs-uuid --set=root 0cbece5c-328e-4f94-aa52-da220cca34a2
        fi
        linux /boot/vmlinuz-3.8.0-19-generic root=UUID=0cbece5c-328e-4f94-aa52-da220cca34a2 ro recovery nomodeset locale=zh_CN
        initrd /boot/initrd.img-3.8.0-19-generic
    }
 }

### END /etc/grub.d/30_os-prober ###

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/17515.html