win10+ubuntu18.04.3双系统双硬盘EFI安装
-
UltraISO制作ubuntu安装镜像
-
在SSD盘上C盘压缩出400MB容量未分配
-
硬盘上留出130GB容量未分配(以130GB为例)
-
U盘UEFI启动
-
ubuntu手动分配分区
ssd上 419MB 主分区 EFI
根目录 / 71680MB 主分区 Ext4日志文件系统
SWAP 8192MB 逻辑分区 Ext4日志文件系统
boot分区 /boot 1024MB 逻辑分区 Ext4日志文件系统
home分区 /home 59085MB 逻辑分区 Ext4日志文件系统 -
安装启动引导器的设备
/dev/sdb7 ssd上419MB EFI分区 -
安装
点击“现在安装”
-
启动后出现
GNU GRUB 2.02版
Ubuntu
Ubuntu 高级选项
Windows Boot Manager (on /dev/sdb1)
System setup
默认Ubuntu启动,Windows Boot Manager (on /dev/sdb1) 是win10启动
- 修改启动顺序
1)sudo vim /etc/default/grub
“ESC” , “i”, 0->2, 10->5, “ESC”, “:wq”
GRUB_DEFAULT=2 # 笔者 0 ubuntu 2 windows10
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5 # 5s
2)sudo update-grub
#更新/boot/grub/grub.cfg文件
Sourcing file `/etc/default/grub’
Generating grub configuration file …
Found linux image: /boot/vmlinuz-5.3.0-28-generic
Found initrd image: /boot/initrd.img-5.3.0-28-generic
Found linux image: /boot/vmlinuz-5.0.0-23-generic
Found initrd image: /boot/initrd.img-5.0.0-23-generic
Found Windows Boot Manager on /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done