Microsoft DiskPart version 10.0.18362.1
Copyright (C) Microsoft Corporation.
On computer: RAY-THUNDER
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 931 GB 0 B
Disk 1 Online 465 GB 0 B *
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list partition
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 256 MB 1024 KB
Partition 2 Reserved 128 MB 257 MB
Partition 3 Primary 80 GB 385 MB
Partition 4 Primary 130 GB 80 GB
Partition 5 Primary 255 GB 210 GB
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> assign letter=p
DiskPart successfully assigned the drive letter or mount point.
DISKPART> remove letter=p
DiskPart successfully removed the drive letter or mount point.
DISKPART>
grub.cfg
1 2 3
search.fs_uuid 0bcb95f3-d7ed-4f66-b62c-9352ff79c64d root hd1,gpt4
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg