[Solved [Help]] Resize EFI Partition

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

[Solved [Help]] Resize EFI Partition

Postby jsvenancio » 15 Sep 2018 23:19

Good evening.

I'm trying to install the latest SolydX 64-bit dual boot version with windows 8.1 on a 500GB SSD. Unfortunately I came across the problem of the EFI partition that only has 99MB but to be able to complete the precise installation of increasing the EFI partition.

I've been researching but what I find is not working.

Can you help resize the EFI partition ???

INFO:

Code: Select all

DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Recovery           300 MB  1024 KB
  Partition 2    System              99 MB   301 MB
  Partition 3    Reserved           128 MB   400 MB
  Partition 4    Primary            465 GB   528 MB
I thank you for your attention.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Help] Resize EFI Partition

Postby Arjen Balfoort » 16 Sep 2018 09:29

I've updated the live installer so that you can install SolydXK without changing the partition layout.

Run a live session and open a terminal:

Code: Select all

apt update
apt install live-installer-3
live-installer-3 -p
You can now install with a smaller /boot or /boot/efi partition.
The -p (--nopartitioncheck) parameter skips the size check for these partitions.

Run with -h/--help to see a list with all supported parameters.


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Help] Resize EFI Partition

Postby Arjen Balfoort » 16 Sep 2018 10:02

Check the terminal output.
When the /boot partition is really too small you get these error messages:

Code: Select all

update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.9.0-8-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
which will result in an unbootable system.


SolydXK needs you!
Development | Testing | Translations

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Help] Resize EFI Partition

Postby jsvenancio » 16 Sep 2018 10:28

Thank you.

I'm going to test it today.
Arjen Balfoort wrote:
16 Sep 2018 09:29
I've updated the live installer so that you can install SolydXK without changing the partition layout.

Run a live session and open a terminal:

Code: Select all

apt update
apt install live-installer-3
live-installer-3 -p
You can now install with a smaller /boot or /boot/efi partition.
The -p (--nopartitioncheck) parameter skips the size check for these partitions.

Run with -h/--help to see a list with all used parameters.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ydek
Posts: 36
Joined: 21 Jun 2018 16:18
Location: Brasil

Re: [Help] Resize EFI Partition

Postby ydek » 19 Sep 2018 16:06

@Arjen
What is the correct size that can be placed on an EFI partition?
SolydX 10

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Help] Resize EFI Partition

Postby Arjen Balfoort » 19 Sep 2018 16:20

For the live installer (without the -p parameter) an EFI partition must be 100MB or more which is also recommended by Microsoft.


SolydXK needs you!
Development | Testing | Translations

User avatar
ydek
Posts: 36
Joined: 21 Jun 2018 16:18
Location: Brasil

Re: [Help] Resize EFI Partition

Postby ydek » 19 Sep 2018 16:47

Arjen Balfoort wrote:
19 Sep 2018 16:20
For the live installer (without the -p parameter) an EFI partition must be 100MB or more which is also recommended by Microsoft.
Thanks for the explanations.
SolydX 10

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Help] Resize EFI Partition

Postby jsvenancio » 21 Sep 2018 22:16

Good evening.

I followed the instructions and managed to install Distro SolydX.

But I have at least two problems to start, I could not install the Nvidia drives and I can not do the dual boot between SolydX and wIndows 8.1.

In relation to the second problem I think it has to do with "Boot Scure" and "Fast Boot", ie windows starts with "Boot Scure" and "Fast Boot" connected but SolydX only starts with these options disabled.

Is it normal or do I have a problem?
Arjen Balfoort wrote:
16 Sep 2018 09:29
I've updated the live installer so that you can install SolydXK without changing the partition layout.

Run a live session and open a terminal:

Code: Select all

apt update
apt install live-installer-3
live-installer-3 -p
You can now install with a smaller /boot or /boot/efi partition.
The -p (--nopartitioncheck) parameter skips the size check for these partitions.

Run with -h/--help to see a list with all supported parameters.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ilu
Posts: 2661
Joined: 09 Oct 2013 12:45

Re: [Help] Resize EFI Partition

Postby ilu » 24 Sep 2018 14:28

You have to disable "Fast boot" - fast boot is fast because it starts Windows without checking anything else.

You have to disable secure boot because Debian doesn't have a signed boot file - see my post here: https://forums.solydxk.com/viewtopic.php?f=72&t=7378. I'm not using Windows 8 or 10 where disabling secure boot might be a problem - but people tell me that Win8 should also boot with secure boot disabled.
-------
Você tem de inutilizar 'Fast boot' - a 'Fast boot' é rápida porque ele começa o Windows imediatamente.

Você tem de inutilizar a 'secure boot' porque Debian não tem um arquivo de bota assinado - ver o meu correio aqui: https://forums.solydxk.com/viewtopic.php?F=72*t=7378 . Não estou usando o Windows 8 ou 10 onde a incapacitação de 'secure boot' poderia ser um problema - mas a gente diz-me que Win8 também deve inicializar com incapacitação de 'secure boot'.

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Help] Resize EFI Partition

Postby jsvenancio » 06 Oct 2018 22:38

Good evening.

Thanks, it works with Fast Boot and Secure Boot off.
ilu wrote:
24 Sep 2018 14:28
You have to disable "Fast boot" - fast boot is fast because it starts Windows without checking anything else.

You have to disable secure boot because Debian doesn't have a signed boot file - see my post here: https://forums.solydxk.com/viewtopic.php?f=72&t=7378. I'm not using Windows 8 or 10 where disabling secure boot might be a problem - but people tell me that Win8 should also boot with secure boot disabled.
-------
Você tem de inutilizar 'Fast boot' - a 'Fast boot' é rápida porque ele começa o Windows imediatamente.

Você tem de inutilizar a 'secure boot' porque Debian não tem um arquivo de bota assinado - ver o meu correio aqui: https://forums.solydxk.com/viewtopic.php?F=72*t=7378 . Não estou usando o Windows 8 ou 10 onde a incapacitação de 'secure boot' poderia ser um problema - mas a gente diz-me que Win8 também deve inicializar com incapacitação de 'secure boot'.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Help] Resize EFI Partition

Postby jsvenancio » 06 Oct 2018 22:38

Good evening.

This matter is solved.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Help] Resize EFI Partition

Postby jsvenancio » 25 Jan 2020 16:53

ENG;
Are these commands valid for installing version 10 of SolydX?

I have the same problem to install version 10.

PT;
Para instalar a versão 10 do SolydX estes comandos são válidos?

É que estou com o mesmo problema para instalar a versão 10.

Arjen Balfoort wrote:
16 Sep 2018 09:29
Run a live session and open a terminal:

Code: Select all

apt update
apt install live-installer-3
live-installer-3 -p
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby Arjen Balfoort » 25 Jan 2020 17:13

I haven't changed the arguments. So, it should still work.


SolydXK needs you!
Development | Testing | Translations

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby jsvenancio » 25 Jan 2020 17:50

But I am having problems with the size of the EFI partition.

Some images:
https://i.imgur.com/m8UvyeP.png

https://i.imgur.com/hMtYA6E.png

https://i.imgur.com/hMtYA6E.png


Any suggestion?


EDIT;
OBS;
I am currently logged in via the Pen-Drive.
Arjen Balfoort wrote:
25 Jan 2020 17:13
I haven't changed the arguments. So, it should still work.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby jsvenancio » 26 Jan 2020 00:42

I noticed this error within the core trace that I show in the following image:

https://i.imgur.com/HAAwZ0l.jpg

Translated into English means anything like:
To ensure compatibility with Windows, we recommend that you use the first disk partition as an EFI partition.
The problem is that the EFI partition is the second partition, the first is a 300 MIB recovery "ntfs" partition.

I cannot move the first partition after the EFFI partition.

Any suggestion?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby Arjen Balfoort » 26 Jan 2020 12:17

I have little to no experience installing Linux next to Windoze, but I think you should just select the EFI partition and make sure to NOT format that partition (leave the format drop box empty when selecting the EFI partition).

You should read the recommendation as-is: it is a recommendation which you can ignore if you need or want to.

I must stress to say that there is always a risk of breaking your dual-boot system. Windows is a black box to me and I haven't thoroughly tested dual booting with Windows when developing the Live Installer. I need the feedback of knowledgeable people to do that.


SolydXK needs you!
Development | Testing | Translations

User avatar
smitty1
Posts: 251
Joined: 23 Jun 2013 13:50
Location: Pittsburgh, PA USA

Re: [Solved [Help]] Resize EFI Partition

Postby smitty1 » 26 Jan 2020 15:03

Having the EFI partition second in order is not unusual for Windows. It is that way on my machine. All I had to do when installing SolydX was tell the installer NOT to format /dev/sda2 and to mount that partition at /boot/efi.
I attached a screenshot of Gparted on my machine.
Jim
Attachments
partitions-2020-01.png

No Good Deed Goes Unpunished

User avatar
jsvenancio
Posts: 226
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby jsvenancio » 26 Jan 2020 22:25

Good evening.

How do I prevent the EFI partition from being formatted?
smitty1 wrote:
26 Jan 2020 15:03
Having the EFI partition second in order is not unusual for Windows. It is that way on my machine. All I had to do when installing SolydX was tell the installer NOT to format /dev/sda2 and to mount that partition at /boot/efi.
I attached a screenshot of Gparted on my machine.
Jim
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
smitty1
Posts: 251
Joined: 23 Jun 2013 13:50
Location: Pittsburgh, PA USA

Re: [Solved [Help]] Resize EFI Partition

Postby smitty1 » 27 Jan 2020 14:33

In the installer, during the partitioning step, there is a check box beside each partition for formatting. The column is labeled format. Ensure that there is not a check mark in that box.

No Good Deed Goes Unpunished

User avatar
Arjen Balfoort
Site Admin
Posts: 9428
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: [Solved [Help]] Resize EFI Partition

Postby Arjen Balfoort » 29 Jan 2020 13:06

Click on the EFI partition and in the new window, keep the format drop down empty (orange in image below):
Screenshot_20200129_123901.png


SolydXK needs you!
Development | Testing | Translations


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 2 guests