Skip to content

Instantly share code, notes, and snippets.

@raorn
Created November 21, 2012 23:05
Show Gist options
  • Save raorn/4128425 to your computer and use it in GitHub Desktop.
Save raorn/4128425 to your computer and use it in GitHub Desktop.
Found valid GPT with protective MBR; using GPT.
Command (? for help): i
Partition number (1-5): 1
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: AD2AB0CD-F9C3-4D4E-8710-BF06F78372A2
First sector: 2048 (at 1024.0 KiB)
Last sector: 106495 (at 52.0 MiB)
Partition size: 104448 sectors (51.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'EFI System'
Command (? for help): p
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3BDDC5FF-750B-4086-87D6-20FA2FCB8235
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2029 sectors (1014.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 106495 51.0 MiB EF00 EFI System
2 106496 1028095 450.0 MiB 0700 ext4
3 1028096 105885695 50.0 GiB 0700
4 105885696 118009855 5.8 GiB 8200
5 118009856 976773119 409.5 GiB 0700
[root@fairytale ~]# ls -lR /boot/efi/
/boot/efi/:
итого 1
drwxr-xr-x. 5 root root 512 нояб. 21 21:43 EFI
/boot/efi/EFI:
итого 2
drwxr-xr-x. 2 root root 512 нояб. 22 02:43 BOOT
drwxr-xr-x. 2 root root 512 нояб. 22 02:44 fedora
drwxr-xr-x. 3 root root 512 мая 30 20:31 redhat
/boot/efi/EFI/BOOT:
итого 2117
-rwxr-xr-x. 1 root root 1352415 нояб. 22 02:43 BOOTX64.EFI
-rwxr-xr-x. 1 root root 814470 нояб. 22 02:43 grubx64.efi
/boot/efi/EFI/fedora:
итого 2126
-rwxr-xr-x. 1 root root 1352415 нояб. 22 02:44 BOOTX64.efi
-rwxr-xr-x. 1 root root 9574 нояб. 22 02:15 grub.cfg
-rwxr-xr-x. 1 root root 814470 нояб. 22 02:44 grubx64.efi
/boot/efi/EFI/redhat:
итого 1
drwxr-xr-x. 2 root root 512 июля 18 07:30 grub2-efi
/boot/efi/EFI/redhat/grub2-efi:
итого 6
-rwxr-xr-x. 1 root root 5532 июля 12 21:32 grub.cfg
@raorn
Copy link
Author

raorn commented Nov 21, 2012

[root@fairytale ~]# efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0003,0001
Boot0000* P0: SAMSUNG HN-M500MBB BIOS(12,0,00)
Boot0001* Generic STORAGE DEVICE 0207 BIOS(12,0,00)
Boot0002* Fedora HD(1,800,19800,ad2ab0cd-f9c3-4d4e-8710-bf06f78372a2)File(\EFI\fedora\grubx64.efi)
Boot0003* UEFI: FAT File System ACPI(a0341d0,0)PCI(1d,0)USB(1,0)USB(4,0)

@raorn
Copy link
Author

raorn commented Nov 21, 2012

[root@fairytale ~]# ls -lR /mnt/
/mnt/:
итого 2
drwxr-xr-x. 3 root root 2048 нояб. 20 13:35 EFI

/mnt/EFI:
итого 2
drwxr-xr-x. 3 root root 2048 нояб. 22 02:22 BOOT

/mnt/EFI/BOOT:
итого 2130
-rwxr-xr-x. 1 root root 1352415 нояб. 20 13:35 BOOTX64.efi
drwxr-xr-x. 2 root root 2048 нояб. 20 13:35 fonts
-rwxr-xr-x. 1 root root 9580 нояб. 22 02:22 grub.cfg
-rwxr-xr-x. 1 root root 814470 нояб. 20 13:35 grubx64.efi

/mnt/EFI/BOOT/fonts:
итого 2502
-rwxr-xr-x. 1 root root 2560080 нояб. 20 13:35 unicode.pf2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment