该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Number Start (sector) End (sector) Size Code Name
1 2048 206847 100.0 MiB EF00 EFI system partition
2 2050048 2312191 128.0 MiB 0C01 Microsoft reserved ...
3 2312192 212027391 100.0 GiB 0700 Basic data partition
4 347631632 557344783 100.0 GiB 0700 Basic data partition
5 557344784 767059983 100.0 GiB 0700 Basic data partition
6 767059984 976773134 100.0 GiB 0700 Basic data partition
7 212027392 215932927 1.9 GiB 8200
8 215932928 347631615 62.8 GiB 8300
root@kali:~# mkdir -p /mnt/boot/efi
root@kali:~# mount /dev/sdb1 /mnt/boot/efi
root@kali:~# chroot /mnt "/bin/bash"
root@kali:/# apt-get remove grub-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-doc' for regex 'grub-*'
Note, selecting 'grub-coreboot' for regex 'grub-*'
Note, selecting 'grub-efi-ia32' for regex 'grub-*'
Note, selecting 'grub-efi-amd64' for regex 'grub-*'
Note, selecting 'grub-efi-ia64' for regex 'grub-*'
Note, selecting 'grub-common' for regex 'grub-*'
Note, selecting 'grub-ieee1275' for regex 'grub-*'
Note, selecting 'grub2-common' for regex 'grub-*'
Note, selecting 'grub-linuxbios' for regex 'grub-*'
Note, selecting 'grub' for regex 'grub-*'
Note, selecting 'grub-legacy' for regex 'grub-*'
Note, selecting 'grub2' for regex 'grub-*'
Note, selecting 'grub-pc-bin' for regex 'grub-*'
Note, selecting 'grub-yeeloong' for regex 'grub-*'
Note, selecting 'grub-efi' for regex 'grub-*'
Note, selecting 'grub-pc' for regex 'grub-*'
Note, selecting 'grub-xen-host' for regex 'grub-*'
Note, selecting 'grub-emu' for regex 'grub-*'
Note, selecting 'grub-xen' for regex 'grub-*'
Note, selecting 'grub-legacy-doc' for regex 'grub-*'
Package 'grub-xen-host' is not installed, so not removed
Package 'grub2' is not installed, so not removed
Package 'grub' is not installed, so not removed
Package 'grub-coreboot' is not installed, so not removed
Package 'grub-efi-amd64' is not installed, so not removed
Package 'grub-efi-ia32' is not installed, so not removed
Package 'grub-ieee1275' is not installed, so not removed
Package 'grub-legacy' is not installed, so not removed
Package 'grub-xen' is not installed, so not removed
Package 'grub-doc' is not installed, so not removed
Package 'grub-legacy-doc' is not installed, so not removed
Package 'grub-efi' is not installed, so not removed
Package 'grub-efi-ia64' is not installed, so not removed
Package 'grub-linuxbios' is not installed, so not removed
Package 'grub-yeeloong' is not installed, so not removed
Package 'grub-emu' is not installed, so not removed
The following packages will be REMOVED:
grub-common grub-pc grub-pc-bin grub2-common
0 upgraded, 0 newly installed, 4 to remove and 59 not upgraded.
After this operation, 19.4 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 323261 files and directories currently installed.)
Removing grub-pc (2.02~beta2-22) ...
Removing grub2-common (2.02~beta2-22) ...
Removing grub-pc-bin (2.02~beta2-22) ...
Removing grub-common (2.02~beta2-22) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...