Results 1 to 6 of 6

Thread: Install 14.04 Desktop with second EFI partition

  1. #1
    Join Date
    Nov 2008
    Beans
    229

    Install 14.04 Desktop with second EFI partition

    Hi.

    Code:
    geohei@deimos:~$ sudo gdisk /dev/sdb
    GPT fdisk (gdisk) version 0.8.8
    
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    
    Command (? for help): p
    Disk /dev/sdb: 500118192 sectors, 238.5 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 7B2A6511-D248-41E6-BB41-8F15451740AA
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 500118158
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 38072941 sectors (18.2 GiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1            2048          206847   100.0 MiB   EF00  Windows 7 (ESP)
       2          206848          468991   128.0 MiB   0C01  Microsoft reserved part
       3          468992       210184191   100.0 GiB   0700  Basic data partition
       4       210184192       315041791   50.0 GiB    0700  Basic data partition
       5       315041792       315246591   100.0 MiB   EF00  Ubuntu 14.04 (ESP)
       6       315246592       420104191   50.0 GiB    8300  Ubuntu 14.04
       7       420104192       462047231   20.0 GiB    8200  Linux swap
    I have a dual boot system installed on my SSD (GPT).
    1. Windows 7
    2. Ubuntu 14.04

    I'd like to use a separate EFI partition for Ubuntu (for separate backup/restore operations and potential mutual interfeneces duer Windows 7 / Ubuntu EFI updates).

    How can I instruct Ubuntu 14.04 during installation procedure to use sdb5 as EFI instead of sdb1?

    Thanks!
    Cu, geohei

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Install 14.04 Desktop with second EFI partition

    You cannot currently.

    I understand UEFI spec does technically allow multiple efi partitions, but currently no system works with more than one efi partition per device.

    But each install has a separate folder in the efi partition, so they are separate.

    Typical structure in efi partition:

    /EFI/Boot
    /EFI/Microsoft/Boot
    /EFI/ubuntu
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Mar 2011
    Beans
    1,994

    Re: Install 14.04 Desktop with second EFI partition

    Since the Ubuntu bootloaders are kept in a separate directory (/EFI/ubuntu), there is little chance of interference with the Windows bootloaders in /EFI/Microsoft/Boot/. Only one efi partition is allowed per device, but I don't know if just removing the boot flag would be enough to make the second one "invisible". Anyway, having to change the partition table to change OSes is a very dangerous thing, if you mess up the partition table, you really will be in recovery pain. Just use the supplied EFI partition (100M is smaller than I prefer, but really, even with Ubuntu bootloaders added, and a vendor backup in place, only about 55M will be used.

  4. #4
    Join Date
    Nov 2008
    Beans
    229

    Re: Install 14.04 Desktop with second EFI partition

    What do you think of this here: Move Ubuntu 14.04 Desktop ESP partition

    It took me a while ... but it works!
    Cu, geohei

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Install 14.04 Desktop with second EFI partition

    Glad you found a solution.

    That is the first time I have seen anyone try to make two efi partitions work.

    But I am not sure it really is needed anyway. He has multiple drives and a better configuration would be Windows on one drive and Ubuntu on another drive. then each hard drive would have its own efi partition without issue.

    And the issue of backup can be controlled just by separately backing up the efi partition and making sure that backup occurs any time any other operating system install is updated or backed up.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Nov 2008
    Beans
    229

    Re: Install 14.04 Desktop with second EFI partition

    He = me (I wrote the article)

    I'm also not sure it's really needed. Time will see ... and for the updates ... a simultaneous update would indeed be a possible solution (let me think about that).
    Last edited by geohei; August 15th, 2014 at 05:00 PM.
    Cu, geohei

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •