SparkyLinux Forums

Installation & Upgrade => Installation => Topic started by: spyro on July 30, 2014, 08:05:39 PM

Title: Can't install sparky on win 8.1 partition
Post by: spyro on July 30, 2014, 08:05:39 PM
Hi.  When I install sparky on win 8.1 partition there is message : "boot partition must be min 100 MB".
Win 8.1 installed 4 partitions:
-300 Mb recovery,
-99 Mb boot partition (EFI partition system),
-partition with system (boot, page file, crush dump, Primary Partition).

I cannot extend boot partition (99 MB). During installation there is message: "'grub-efi-amd64-signed'" and installation is failed.
I disabled secure boot and fast startup (laptop has UEFI). Partitions are converted to GTP. What am I to do?

Systems used:
-SparkyLinux 3.4.1 Xfce x86_64,
-Windows 8.1 Enterprise evaluation 90 days.

Acer v3 772g laptop.

Thanks in advance for your help.
Title: Re: Can't install sparky on win 8.1 partition
Post by: wayne on July 31, 2014, 09:22:05 AM
First thing:
How did you create the bootable USB or bootable DVD, like in what OS? and which program?.


Second thing:
Boot laptop from your media containing Sparky3.4.1 iso, then do a check on the hard disk partition this way:

Open a terminal, type a few codes and post the codes as well as terminal results

1. sudo os-prober

2. sudo fdisk -l

3. sudo parted -l

4. [ -d sys/firmware/efi ] && echo UEFI || echo bios


Third:
When I install sparky on win 8.1 partition there is message

Do you mean you want to erase Win8.1???
Title: Re: Can't install sparky on win 8.1 partition
Post by: pavroo on July 31, 2014, 12:41:55 PM
The problem is with the size of EFI partition.
If you have only 99MB and the installer needs 100MB I will look into.
I think if you change the installer's limit for lest than 99MB it should install it.
Title: Re: Can't install sparky on win 8.1 partition
Post by: MoroS on July 31, 2014, 01:00:39 PM
Pavroo, you can safely change this validation from the installer. It doesn't have any sense. If any, there should be a validation if the EFI partition has enough FREE space, let's say 5-15 MB, as GRUB2 EFI images don't get any bigger than that. :)
Title: Re: Can't install sparky on win 8.1 partition
Post by: wayne on July 31, 2014, 01:13:45 PM
delete.. sorry
Title: Re: Can't install sparky on win 8.1 partition
Post by: pavroo on July 31, 2014, 01:14:55 PM
@MoroS I thinks so.
@spyro:
Run Sparky live and run in e text console (change leafpad for other text editor if it not preinstalled) :
sudo leafpad /usr/lib/live-installer/frontend/gtk_interface.py
Go to line 1785 and change it from:
if int(float(partition.size)) < 100:
to:
if int(float(partition.size)) < 90:
Then save the file and run the installer.
Title: Re: Can't install sparky on win 8.1 partition
Post by: MoroS on July 31, 2014, 01:24:11 PM
Quote from: wayne on July 31, 2014, 01:13:45 PM
I don't think size of FAT32 ESP at 99M is a problem, unless installer has some arithmatic check to require min size.

It isn't, but still the installer checks if the size is at least 100MB instead of checking is there's enough free space available. It's a check introduced to the installer before it was even forked to Sparky.

@Pavroo: I still didn't put the code in the repo, so if you change anything in the installer, then please send it to me. ;)
Title: Re: Can't install sparky on win 8.1 partition
Post by: pavroo on July 31, 2014, 01:26:34 PM
@MoroS : Nothing is changed, I'm waitnig for your move :)
Title: Re: Can't install sparky on win 8.1 partition
Post by: MoroS on July 31, 2014, 01:33:32 PM
Quote from: pavroo on July 31, 2014, 01:26:34 PM
@MoroS : Nothing is changed, I'm waitnig for your move :)
Oh... Ok then, I'll throw the installer in later today and correct this and the things we had in plans.
Title: Re: Can't install sparky on win 8.1 partition
Post by: pavroo on July 31, 2014, 05:16:47 PM
QuoteThird:
When I install sparky on win 8.1 partition there is message
Do you mean you want to erase Win8.1???
If you have only one big partition with Win 8.1, the installer will erase it.
You have to shrink the big partition, leaving 50 -100 GB with Win 8.
The rest of the disk divide for minimum 2-3 partitions for Linux:
1. 10-20 GB for the system
2. 512 MB - 1 GB for SWAP
3. rest of the disk - optional for /home partition.
If you do that you will save Win 8.
Title: Re: Can't install sparky on win 8.1 partition
Post by: spyro on August 01, 2014, 05:50:38 PM
I am sorry I did not tell that I want dual boot (win 8.1 and linux in the same disk). I have 100 GB partition for sparky linux. I have read that it is recommended to boot both system from the same boot partition. I divided that partition like pavroo suggested, mount boot on [99 Mb boot partition (EFI partition system)], and have message: "boot partition must be min 100 MB". Can I mount boot for linux somewhere else?
Title: Re: Can't install sparky on win 8.1 partition
Post by: pavroo on August 01, 2014, 07:59:25 PM
Just change the 100 MB limitation size as I said before
QuoteRun Sparky live and run in a text console (change leafpad for other text editor if it not preinstalled) :
sudo leafpad /usr/lib/live-installer/frontend/gtk_interface.py
Go to line 1785 and change it from:
if int(float(partition.size)) < 100:
to:
if int(float(partition.size)) < 90:
Then save the file and run the installer.