- 论坛徽章:
- 6
|
本帖最后由 1cpuer 于 2017-10-06 10:09 编辑
windows
lin-win grub
his grub
我的 grub.cfg 无法启动windows
已经 update-grub
cat -n /boot/grub/grub.cfg | sed -n '/### BEGIN \/etc\/grub\.d\/30_os-prober ###/,/### END \/etc\/grub\.d\/30_os-prober ###/p'
465 ### BEGIN /etc/grub.d/30_os-prober ###
466 menuentry 'Windows Recovery Environment (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-4802-681F' {
467 insmod part_gpt
468 insmod fat
469 set root='hd0,gpt3'
470 if [ x$feature_platform_search_hint = xy ]; then
471 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 4802-681F
472 else
473 search --no-floppy --fs-uuid --set=root 4802-681F
474 fi
475 drivemap -s (hd0) ${root}
476 chainloader +1
477 }
478 menuentry 'Windows 8 (loader) (on /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-769C8DA29C8D5D8D' {
479 insmod part_msdos #gpt
480 insmod ntfs
481 set root='hd0,msdos1' #gpt5
482 if [ x$feature_platform_search_hint = xy ]; then
483 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 769C8DA29C8D5D8D
484 else
485 search --no-floppy --fs-uuid --set=root 769C8DA29C8D5D8D
486 fi
487 drivemap -s (hd0) ${root}
488 chainloader +1
489 }
490 set timeout_style=menu
491 if [ "${timeout}" = 0 ]; then
492 set timeout=10
493 fi
494 ### END /etc/grub.d/30_os-prober ###
# [2017-10-06 09:36:24] root--:/home/soio/1bs
# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-96-generic
Found initrd image: /boot/initrd.img-4.4.0-96-generic
Found linux image: /boot/vmlinuz-4.4.0-93-generic
Found initrd image: /boot/initrd.img-4.4.0-93-generic
Found linux image: /boot/vmlinuz-4.4.0-92-generic
Found initrd image: /boot/initrd.img-4.4.0-92-generic
Found linux image: /boot/vmlinuz-4.4.0-91-generic
Found initrd image: /boot/initrd.img-4.4.0-91-generic
Found linux image: /boot/vmlinuz-4.4.0-89-generic
Found initrd image: /boot/initrd.img-4.4.0-89-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda3
Found Windows 8 (loader) on /dev/sda5
done
linux image 有几个版本 |
|