我正在使用Win8并安装了Ubuntu 12.10 ... GRUB中有一个条目,但选择它 - GRUB再次回来,因此Windows从未启动。我只能启动我的 Ubuntu。
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 123086847 61440000 7 HPFS/NTFS/exFAT
/dev/sda3 123086848 586145789 231529471 7 HPFS/NTFS/exFAT
/dev/sda4 586145790 976771071 195312641 5 Rozszerzona
/dev/sda5 586145792 761929727 87891968 83 Linux
/dev/sda6 761931776 976771071 107419648 83 Linux
Run Code Online (Sandbox Code Playgroud)
sda2 是 Windows 8 分区,sda1 是 Windows 交换(或任何名称)。在 W8 的 GRUB 定制器条目中,如下所示:
insmod part_msdos
insmod ntfs
set 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 A456A29B56A26DAC
else
search --no-floppy …
Run Code Online (Sandbox Code Playgroud)