我想双重引导Debian和Windows 8,安装在不同的磁盘上。这就是我到目前为止所做的,跟踪本教程。
我的驱动器配置和分区如下:
/dev/sda1 - Windows System Reserved
/dev/sda2 - Windows 8 partition
/dev/sdb1 - NTFS partition (where I keep Windows data)
/dev/sdb2 - Linux swap
/dev/sdb3 - Debian
/dev/sdc1 - Live CD (explained later)交换和Debian都是主分区。
在安装过程中,我得到了以下错误: GRUB安装失败(根据本教程,这很好)
现在,本教程建议安装GrubEFI,使用启动EFI的Live (dev/sdc)。
问题是,我应该找到一个EFI系统分区,将其挂载到/boot/efi上。
但似乎根本没有。
你能帮我解决这个问题吗?
下面是有关磁盘和分区的更多详细信息:
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 994A5C74-12AD-400E-9123-A000AC1F78CB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 4717 sectors (2.3 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 718847 350.0 MiB 0700 Microsoft basic data
2 718848 250066943 118.9 GiB 0700 Microsoft basic data
Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): AC0FBF3D-5C6C-494A-9F25-C5E6261B66DA
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3437 sectors (1.7 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1707761663 814.3 GiB 0700 Microsoft basic data
2 1707761664 1739012095 14.9 GiB 8200 Linux swap
3 1739012096 1953523711 102.3 GiB 8300 Linux filesystem
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.
Disk /dev/sdc: 62324736 sectors, 29.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): A17CC70D-C650-4E4E-9DC6-865D719BE5B7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 62324702
Partitions will be aligned on 1-sector boundaries
Total free space is 29 sectors (14.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 63 62324735 29.7 GiB 0700 Microsoft basic data发布于 2015-06-24 11:05:13
您可能对Rod的EFI引导加载游戏攻略感兴趣,我的救援可能会派上用场,因为它包含重新查找引导管理器以及处理分区和文件系统所需的所有工具(例如,如果debian没有为您创建另一个ESP )。
请注意,ESP --一个具有特殊GPT的FAT32分区--既是必需的,也是缺少上述fdisk输出的;以下是来自本地主机的摘录:
Disk /dev/sda: 234.7 GiB, 252000000000 bytes, 492187500 sectors
[...]
Disklabel type: gpt
Device Start End Sectors Size Type
/dev/sda1 2048 616447 614400 300M EFI System
[...]这样,如果您不使用例如efibootmgr (在EFI模式下引导OS时调用前者),那么grub-install就会派上用场,而且不要忘记使用modprobe efivars,否则/sys/firmware/efi将无法用于引导加载程序。
https://unix.stackexchange.com/questions/211686
复制相似问题