Bug 27991 - обеспечить создание EFI System Partition
Summary: обеспечить создание EFI System Partition
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: evms (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P3 normal
Assignee: timonbl4@altlinux.org
QA Contact: qa-sisyphus
URL: http://www.rodsbooks.com/efi-bootload...
Keywords:
Depends on:
Blocks: 27971
  Show dependency tree
 
Reported: 2012-11-16 22:39 MSK by Michael Shigorin
Modified: 2012-11-17 01:49 MSK (History)
8 users (show)

See Also:


Attachments
evms.git bcaee84ee84a13cb1024672197d744aba0ddbcc6 (689 bytes, patch)
2012-11-16 22:39 MSK, Michael Shigorin
no flags Details | Diff
actual bcaee84ee84a13cb1024672197d744aba0ddbcc6 (1.87 KB, patch)
2012-11-17 01:41 MSK, Michael Shigorin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2012-11-16 22:39:46 MSK
Created attachment 5638 [details]
evms.git bcaee84ee84a13cb1024672197d744aba0ddbcc6

+++ This bug was initially created as a clone of Bug #27971 +++

Нужна возможность создавать на GPT-разбивке раздел типа EF00 (GUID: C12A7328-F81F-11D2-BA4B-00A0C93EC93B), причём конкретно с FAT32.

Пробный патч http://git.altlinux.org/people/timonbl4/packages/?p=evms.git;a=commitdiff;h=bcaee84ee84a13cb1024672197d744aba0ddbcc6;hp=707d7427119dc4933737ff4c0435c4a4b107e0e2 привёл к добавлению "efi system partition" в список типов разделов в alterator-vm, но что-то при этом сломалось (пока непонятно, что: тип раздела при gdisk -l /dev/sda остался 0700, Microsoft basic data) и что virtualbox, что ASUS UEFI с установленного диска грузиться отказываются.
Comment 1 timonbl4@altlinux.org 2012-11-16 23:24:25 MSK
Патч, который во вложении, != http://git.altlinux.org/people/timonbl4/packages/?p=evms.git;a=commitdiff;h=bcaee84ee84a13cb1024672197d744aba0ddbcc6;hp=707d7427119dc4933737ff4c0435c4a4b107e0e2. Нужно использовать тот, что из гита
Comment 2 Michael Shigorin 2012-11-17 01:41:33 MSK
Created attachment 5639 [details]
actual bcaee84ee84a13cb1024672197d744aba0ddbcc6

М-да, после forced update не перемержил заново, виноват.  С этим всё хорошо :)
Comment 3 Michael Shigorin 2012-11-17 01:45:19 MSK
[root@host-185 ~]# gdisk -l /dev/sda | tail -3
Number  Start (sector)    End (sector)  Size       Code  Name
   1           16128          419327   196.9 MiB   EF00  
   2          419328        20885759   9.8 GiB     0700
Comment 4 Michael Shigorin 2012-11-17 01:49:56 MSK
PS: gdisk(8) ставит ещё и имя "EFI System" для удобства:

http://git.altlinux.org/srpms/g/gptfdisk.git?p=gptfdisk.git;a=blob;f=gptfdisk/parttypes.cc;h=88eef570a87e5163d8ea041e4c54fe5002ca70fa;hb=HEAD#l174