gpt+uefi+win10+deepin引导问题求助
Tofloor
poster avatar
bovenson
deepin
2015-09-24 00:24
Author
今天硬盘更新到了ssd,先重装了win10,用的是gpt分区+uefi,然后安装了deepin2014.3,但是开机时没有deepin的引导选项。使用easybcd修复,发现只支持mbr分区?
求助:怎么解决这种情况下的引导问题?
Reply Favorite View the author
All Replies
zqpetlee
deepin
2015-09-24 00:49
#1
用专业模式安装deepin,把启动菜单安装到固态硬盘
Reply View the author
Feng Yu
deepin
2015-09-24 01:32
#2
本帖最后由 abcfy2 于 2015-9-23 17:35 编辑

essybcd太老了,不支持UEFI。
EFI只是在ESP中存放一个efi/**/*.efi文件即可引导。

所以你原来安装过deepin,只需要livecd进入,重新grub-install安装x86_64-efi这个target即可搞定。

相关命令参考我的博客: http://my.oschina.net/abcfy2/blog/491140
Reply View the author
pjbright
deepin
2015-09-24 03:35
#3
如果需要使用GRUB2引导GPT上的LINUX,还需要一个BIOS_GRUB类型的不大于2MB的分区。
已经在虚拟机以及桌面电脑上测试过。话说,我还一直搞不懂UEFI与BIOS引导的GPT之间有什么区别。
或者我用的电脑都太老了,没有一台是UEFI的主板?
Reply View the author
pjbright
deepin
2015-09-24 03:36
#4
[root@home zkj]# parted -l /dev/sda
Model: ATA INTEL SSDSA2CW12 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  标志
1      17.4kB  3097kB  3079kB                     bios_grub
2      3097kB  34.4GB  34.4GB
7      34.4GB  120GB   85.7GB                     lvm
Reply View the author
pjbright
deepin
2015-09-24 03:38
#5

Reply View the author
bovenson
deepin
2015-09-24 04:56
#6
https://bbs.deepin.org/post/32585
用专业模式安装deepin,把启动菜单安装到固态硬盘

我是这么做的,但是启动没有deepin的选项。。直接进windows
Reply View the author
bovenson
deepin
2015-09-24 05:21
#7
https://bbs.deepin.org/post/32585
essybcd太老了,不支持UEFI。
EFI只是在ESP中存放一个efi/**/*.efi文件即可引导。

额,安装了ubuntu。用easyuefi更改了启动顺序,让grub引导windows。先就这样吧。3q
Reply View the author
bovenson
deepin
2015-09-24 05:21
#8
https://bbs.deepin.org/post/32585
[root@home zkj]# parted -l /dev/sda
Model: ATA INTEL SSDSA2CW12 (scsi)
Disk /dev/sda: 120GB

没看懂。。。。
Reply View the author
zqpetlee
deepin
2015-09-24 06:05
#9
https://bbs.deepin.org/post/32585
我是这么做的,但是启动没有deepin的选项。。直接进windows

你确定用专业模式安装的?其次你得关掉Windows10的快速启动
Reply View the author
pjbright
deepin
2015-09-24 07:35
#10
GPT

The GPT (GUID Partition table) setup uses 64-bit identifiers for the partitions. The location in which it stores the partition information is also much bigger than the 512 bytes of an MBR, and there is no limit on the amount of partitions. Also the size of a partition is bounded by a much greater limit (almost 8 ZB - yes, zettabytes).

When a system's software interface between the operating system and firmware is UEFI (instead of BIOS), GPT is almost mandatory as compatibility issues will arise with MBR here.

GPT also has the advantage that it has a backup GPT at the end of the disk, which can be used to recover damage of the primary GPT at the beginning. GPT also carries CRC32 checksums to detect errors in the header and partition tables.
GPT or MBR

From the description above, one might think that using GPT should always be the recommended approach. But there are a few caveats with this.

Using GPT on a BIOS-based computer works, but then one cannot dual-boot with a Microsoft Windows operating system. The reason is that Microsoft Windows will boot in EFI mode if it detects a GPT partition label.

Some buggy BIOSes or EFIs configured to boot in BIOS/CSM/legacy mode might also have problems with booting from GPT labeled disks. If that is the case, it might be possible to work around the problem by adding the boot/active flag on the protective MBR partition which has to be done through fdisk with the -t dos option to force it to read the partition table using the MBR format.

In this case, launch fdisk and toggle the flag using theakey. Press1to select the first partition, then press thewkey to write the changes to the disk and exit the fdisk application:
user $fdisk -t dos /dev/sda

Welcome to fdisk (util-linux 2.24.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
  
Command (m for help): a
Partition number (1-4): 1
  
Command (m for help): w

Using UEFI

When installing Gentoo on a system that uses UEFI to boot the operating system (instead of BIOS), then it is important that an EFI system partition is created. The instructions for parted below contain the necessary pointers for this.

The EFI system partition also needs to be a FAT32 partition (or vfat as it is shown on Linux systems). The instructions at the end of this chapter use ext2 as the example file system for the /boot/ partition. Make sure to use vfat, like so:
root #mkfs.vfat /dev/sda2
Warning
If the boot partition is not using the FAT32 (vfat) file system, then the systems UEFI firmware will not be able to find the Linux kernel and boot the system!
Advanced storage

The amd64 Installation CDs provide support for LVM2. LVM2 increases the flexibility offered by the partitioning setup. During the installation instructions, we will focus on "regular" partitions, but it is still good to know LVM2 is supported as well.
Reply View the author
pjbright
deepin
2015-09-24 07:36
#11
好吧,简单点,你搞定了回下贴你是如何搞定的
Reply View the author
lailai
deepin
2015-12-24 00:44
#12
楼主搞定了吗
Reply View the author
bovenson
deepin
2015-12-25 07:31
#13

恩,用的refind
如果你也遇到同样问题的话,可以先用一下easyuefi把deepin的引导移动到优先位置试试(有可能能行,deepin的引导可以引导进入两个系统,有可能引导不能引导你进入任何一个系统,这时候需要选择启动位置。。。启动位置里面应该有windows efi的引导,可以进入windows(ps:我用的win10,其他的不太清楚。。。))
或者使用refind
这是我参考的文章:https://linux.cn/article-4667-1.html
Reply View the author
bovenson
deepin
2015-12-25 07:32
#14

恩,用的refind
如果你也遇到同样问题的话,可以先用一下easyuefi把deepin的引导移动到优先位置试试(有可能能行,deepin的引导可以引导进入两个系统,有可能引导不能引导你进入任何一个系统,这时候需要选择启动位置。。。启动位置里面应该有windows efi的引导,可以进入windows(ps:我用的win10,其他的不太清楚。。。))
或者使用refind
这是我参考的文章:https://linux.cn/article-4667-1.html
Reply View the author
New Thread

Popular Events

More
国际排名
WHLUG