baremetal linux-gnu,于是我又来可耻地求助了....我的grub配置文件改了却不起作用......

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

#

# 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_env

fi

if [ "${next_entry}" ] ; then

set default="${next_entry}"

set next_entry=

save_env next_entry

set boot_once=true

else

set default="${saved_entry}"

fi

if [ x"${feature_menuentry_id}" = xy ]; then

menuentry_id_option="--id"

else

menuentry_id_option=""

fi

export menuentry_id_option

if [ "${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=true

fi

function 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

}

terminal_output console

set timeout=1

### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###

menuentry 'Fedora, with Linux 3.15.5-200.fc20.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.15.5-200.fc20.x86_64-advanced-608a178a-84c6-4f84-9c00-9575875358a5' {

load_video

set gfxpayload=keep

insmod gzio

insmod part_gpt

insmod ext2

set root='hd0,gpt2'

if [ x$feature_platform_search_hint = xy ]; then

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

else

search --no-floppy --fs-uuid --set=root e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

fi

linuxefi /vmlinuz-3.15.5-200.fc20.x86_64 root=UUID=608a178a-84c6-4f84-9c00-9575875358a5 ro vconsole.font=latarcyrheb-sun16 rhgb quiet

initrdefi /initramfs-3.15.5-200.fc20.x86_64.img

}

menuentry 'Fedora, with Linux 3.11.10-301.fc20.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.11.10-301.fc20.x86_64-advanced-608a178a-84c6-4f84-9c00-9575875358a5' {

load_video

set gfxpayload=keep

insmod gzio

insmod part_gpt

insmod ext2

set root='hd0,gpt2'

if [ x$feature_platform_search_hint = xy ]; then

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

else

search --no-floppy --fs-uuid --set=root e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

fi

linuxefi /vmlinuz-3.11.10-301.fc20.x86_64 root=UUID=608a178a-84c6-4f84-9c00-9575875358a5 ro vconsole.font=latarcyrheb-sun16 rhgb quiet

initrdefi /initramfs-3.11.10-301.fc20.x86_64.img

}

menuentry 'Fedora, with Linux 0-rescue-32b03fbf7b6540909be5c0badf863be6' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-32b03fbf7b6540909be5c0badf863be6-advanced-608a178a-84c6-4f84-9c00-9575875358a5' {

load_video

insmod gzio

insmod part_gpt

insmod ext2

set root='hd0,gpt2'

if [ x$feature_platform_search_hint = xy ]; then

search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

else

search --no-floppy --fs-uuid --set=root e3b8ffcb-8d30-4948-a6f1-da6c5294eaf0

fi

linuxefi /vmlinuz-0-rescue-32b03fbf7b6540909be5c0badf863be6 root=UUID=608a178a-84c6-4f84-9c00-9575875358a5 ro vconsole.font=latarcyrheb-sun16 rhgb quiet

initrdefi /initramfs-0-rescue-32b03fbf7b6540909be5c0badf863be6.img

}

### 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 ${config_directory}/custom.cfg ]; then

source ${config_directory}/custom.cfg

elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then

source $prefix/custom.cfg;

fi

### END /etc/grub.d/41_custom ###

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值