funicorn 写了:动grub毕竟还是应该慎重。你还是再次确认一下:1. 你装的到底是32位还是64位 2. 你的系统到底是UEFI+GTP还是BIOS+MBR
代码: 全选
uname -m
sudo fdisk -l
dpkg-query -l grub*
把结果贴上来。
----
那个帐号密码忘记了,重新注册了一个:)
phh@phh-K590P:~$ uname -m
x86_64
phh@phh-K590P:~$ sudo fdisk -l
[sudo] phh 的密码:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x829e829e
设备 启动 Start 末尾 扇区 Size Id 类型
/dev/sda1 63 104872319 104872257 50G 7 HPFS/NTFS/exFAT
/dev/sda2 104872381 976771071 871898691 415.8G f W95 扩展 (LBA)
/dev/sda5 104872383 396403874 291531492 139G 7 HPFS/NTFS/exFAT
/dev/sda6 396403938 687935429 291531492 139G 7 HPFS/NTFS/exFAT
/dev/sda7 687935493 874368064 186432572 88.9G 7 HPFS/NTFS/exFAT
/dev/sda8 * 874369024 874954751 585728 286M ef EFI (FAT-12/16/32)
/dev/sda9 874956800 878860287 3903488 1.9G 82 Linux 交换 / Solaris
/dev/sda10 878862336 976771071 97908736 46.7G 83 Linux
Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 5 does not start on physical sector boundary.
Partition 6 does not start on physical sector boundary.
Partition 7 does not start on physical sector boundary.
phh@phh-K590P:~$ dpkg-query -l grub*
期望状态=未知(u)/安装(i)/删除(r)/清除(p)/保持(h)
| 状态=未安装(n)/已安装(i)/仅存配置(c)/仅解压缩(U)/配置失败(F)/不完全安装(H)/触发器等待(W)/触发器未决(T)
|/ 错误?=(无)/须重装(R) (状态,错误:大写=故障)
||/ 名称 版本 体系结构 描述
+++-==============-============-============-=================================
un grub <无> <无> (无可用描述)
ii grub-common 2.02~beta3-4 amd64 GRand Unified Bootloader (common
un grub-coreboot <无> <无> (无可用描述)
un grub-doc <无> <无> (无可用描述)
un grub-efi <无> <无> (无可用描述)
ii grub-efi-amd64 2.02~beta3-4 amd64 GRand Unified Bootloader, version
ii grub-efi-amd64 2.02~beta3-4 amd64 GRand Unified Bootloader, version
iF grub-efi-amd64 1.85+2.02~be amd64 GRand Unified Bootloader, version
un grub-efi-ia32 <无> <无> (无可用描述)
un grub-efi-ia64 <无> <无> (无可用描述)
un grub-emu <无> <无> (无可用描述)
un grub-ieee1275 <无> <无> (无可用描述)
un grub-legacy <无> <无> (无可用描述)
un grub-legacy-do <无> <无> (无可用描述)
un grub-linuxbios <无> <无> (无可用描述)
un grub-pc <无> <无> (无可用描述)
un grub-xen <无> <无> (无可用描述)
un grub-yeeloong <无> <无> (无可用描述)
un grub2 <无> <无> (无可用描述)
ii grub2-common 2.02~beta3-4 amd64 GRand Unified Bootloader (common
phh@phh-K590P:~$