[Ubuntu-zh] 求助Windows8和ubuntu双系统的引导问题
slayercat
slayercat.subscription在gmail.com
星期日 十一月 11 16:43:56 UTC 2012
win8的引导貌似差不多。
那个secure boot只有在预装win8的机器和板子上才会有,而且可以在uefi里头手
工关掉——如果你的电脑是bios而不是uefi也是没有这个功能的。
另外,目测win8的引导程序依然是写在系统盘或者uefi预留盘里头的。因此grub应
该依然可以直接写磁盘主引导分区。
注意上头都是无责任回复。。。我没有实际试验过。但是我看了下,我的两块物理
硬盘的第0扇区(mbr)都是一样的。而在逻辑引导的c区,我看到了明显的windows
引导标识。
另外,微软press的有本书的相关章节,大致是导出grub引导,然后在win8引导里
头chain:
我发上来:
Manually Setting Dual Booting for Windows 8 and Linux
If dual-booting both a GNU/Linux installation and Windows 8 doesn’t work
using the sim-ple commands described in the preceding section, you will
need to follow a slightly more complex route. Run the following commands
in Linux before installing Windows 8:
1. Boot into Linux and launch a terminal with root privileges.
2. Determine on which parititon Linux is installed by typing fdisk
-l and pressing Enter.
The Linux operating system will be on a partition such as /dev/sda1 or
/dev/hda1.
3. Install the GRUB boot manager by typing grub-install /dev/sda1
and pressing Enter.
4. Copy the Linux boot sector by typing dd if=/dev/sda1 of
/tmp/linux.bin bs=512 count=1 and pressing Enter.
5. Copy linux.bin to a different partition or USB flash drive as a
backup.
6. Install Windows 8.
7. In Windows 8, press Windows logo key+X to launch the Command
Prompt (Admin)
8. Copy your Linux.bin backup file to the root (active) partition on
your hard disk, which is the one containing bootmgr.
If you do not know which one this is, type diskpart and then
diskmgmt.msc to determine it. Type exit to leave the diskpart tool.
9. Create a GRUB entry by typing bcdedit /create /d “GRUB”
/application BOOTSECTOR and pressing Enter.
BCDEdit will return a {GUID} for this entry. You should make a note of
this. For this exercise, we will call it {LinuxGUID}.
10. Type bcdedit /set {LinuxGUID} device boot and press Enter to
specify which device hosts the Linux boot sector.
11. Type bcdedit /set {LinuxGUID} PAT h /Linux.bin and press Enter
to specify the path of the Linux boot sector.
12. Type bcdedit /displayorder {LinuxGUID} /addlast and press Enter
to add Linux to the end of the boot order.
希望对各位有所帮助
关于邮件列表 ubuntu-zh 的更多信息