知方号

知方号

双硬盘安装win10和Ubuntu双系统,开机无Ubuntu引导

双硬盘安装win10和Ubuntu双系统,开机无Ubuntu引导

poloshiao 写了:是1-1,我是直接把iso镜像解压到U盘,安装时选择有UEFI那一项的USB安装的1. UEFI U 盤 開機 登入試用桌面把下面的指令 複製 貼進終端機 執行1-1. sudo ls -al /sys/firmware/efitotal 0drwxr-xr-x 6 root root 0 Jan 31 12:53 .drwxr-xr-x 6 root root 0 Jan 31 2017 ..-r--r--r-- 1 root root 4096 Jan 31 12:53 config_tabledrwxr-xr-x 2 root root 0 Jan 31 2017 efivarsdrwxr-xr-x 3 root root 0 Jan 31 12:53 esrt-r--r--r-- 1 root root 4096 Jan 31 12:53 fw_platform_size-r--r--r-- 1 root root 4096 Jan 31 12:53 fw_vendor-r--r--r-- 1 root root 4096 Jan 31 12:53 runtimedrwxr-xr-x 12 root root 0 Jan 31 12:53 runtime-map-r-------- 1 root root 4096 Jan 31 12:53 systabdrwxr-xr-x 89 root root 0 Jan 31 07:42 vars

1-2. sudo efibootmgr -vBootCurrent: 0003Timeout: 2 secondsBootOrder: 0000,0003,0002Boot0000* Windows Boot ManagerHD(2,GPT,fd7e3849-1343-4516-9589-cb5832c1ef57,0x40800,0x82000)/File(EFIMicrosoftBootootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...-................Boot0002* ubuntuVenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)Boot0003* UEFI: General UDisk 5.00PciRoot(0x0)/Pci(0x14,0x0)/USB(3,0)..BO

1-3. sudo parted -l printModel: ATA HGST HTS721010A9 (scsi)Disk /dev/sda: 1000GBSector size (logical/physical): 512B/4096BPartition Table: msdosDisk Flags:

Number Start End Size Type File system Flags 1 1049kB 152GB 152GB primary ntfs 4 152GB 322GB 170GB extended 5 152GB 152GB 199MB logical fat32 boot, esp 6 152GB 161GB 8999MB logical linux-swap(v1) 7 161GB 322GB 161GB logical ext4 2 322GB 644GB 322GB primary ntfs 3 644GB 1000GB 356GB primary ntfs

Model: ATA ADATA SP550 (scsi)Disk /dev/sdb: 120GBSector size (logical/physical): 512B/512BPartition Table: gptDisk Flags:

Number Start End Size File system Name Flags 1 17.4kB 134MB 134MB msftres 2 135MB 408MB 273MB fat32 boot, esp 3 408MB 76.6GB 76.1GB ntfs msftdata 4 76.6GB 120GB 43.0GB ntfs Basic data partition msftdata 5 120GB 120GB 523MB ntfs diag

Model: General UDisk (scsi)Disk /dev/sdc: 16.0GBSector size (logical/physical): 512B/512BPartition Table: loopDisk Flags:

Number Start End Size File system Flags 1 0.00B 16.0GB 16.0GB fat32

1-4. sudo gdisk /dev/sda -lGPT fdisk (gdisk) version 1.0.1

Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present

***************************************************************Found invalid GPT and valid MBR; converting MBR to GPT formatin memory. ***************************************************************

Disk /dev/sda: 1953525168 sectors, 931.5 GiBLogical sector size: 512 bytesDisk identifier (GUID): 34527E8D-8533-4266-9ACC-519515AB660DPartition table holds up to 128 entriesFirst usable sector is 34, last usable sector is 1953525134Partitions will be aligned on 2048-sector boundariesTotal free space is 13677 sectors (6.7 MiB)

Number Start (sector) End (sector) Size Code Name 1 2048 297111551 141.7 GiB 0700 Microsoft basic data 2 629356544 1258506239 300.0 GiB 0700 Microsoft basic data 3 1258506240 1953519615 331.4 GiB 0700 Microsoft basic data 5 297113600 297502719 190.0 MiB EF00 EFI System 6 297504768 315080703 8.4 GiB 8200 Linux swap 7 315082752 629356543 149.9 GiB 8300 Linux filesystem

1-5. sudo gdisk /dev/sdb -lGPT fdisk (gdisk) version 1.0.1

Partition table scan: MBR: protective BSD: not present APM: not present GPT: present

Found valid GPT with protective MBR; using GPT.Disk /dev/sdb: 234441648 sectors, 111.8 GiBLogical sector size: 512 bytesDisk identifier (GUID): 4D0CEC1A-F7DD-4210-86F0-734161F1D0A9Partition table holds up to 128 entriesFirst usable sector is 34, last usable sector is 234441614Partitions will be aligned on 2-sector boundariesTotal free space is 8139 sectors (4.0 MiB)

Number Start (sector) End (sector) Size Code Name 1 34 262177 128.0 MiB 0C01 2 264192 796671 260.0 MiB EF00 3 796672 149525416 70.9 GiB 0700 4 149526528 233414655 40.0 GiB 0700 Basic data partition 5 233415600 234437544 499.0 MiB 2700

以上是1-1至1-5的结果,承蒙提点,不胜感激!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。