Author Topic: Can't install sparky on win 8.1 partition  (Read 1666 times)

Offline spyro

  • Newbie
  • *
  • Posts: 2
Can't install sparky on win 8.1 partition
« 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.

Offline wayne

  • Newbie
  • *
  • Posts: 25
Re: Can't install sparky on win 8.1 partition
« Reply #1 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???
« Last Edit: July 31, 2014, 09:43:11 am by wayne »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Can't install sparky on win 8.1 partition
« Reply #2 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.
Nothing is easy as it looks.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: Can't install sparky on win 8.1 partition
« Reply #3 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. :)
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline wayne

  • Newbie
  • *
  • Posts: 25
Re: Can't install sparky on win 8.1 partition
« Reply #4 on: July 31, 2014, 01:13:45 pm »
delete.. sorry
« Last Edit: July 31, 2014, 01:23:01 pm by wayne »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Can't install sparky on win 8.1 partition
« Reply #5 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) :
Code: [Select]
sudo leafpad /usr/lib/live-installer/frontend/gtk_interface.pyGo to line 1785 and change it from:
Code: [Select]
if int(float(partition.size)) < 100:to:
Code: [Select]
if int(float(partition.size)) < 90:Then save the file and run the installer.
Nothing is easy as it looks.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: Can't install sparky on win 8.1 partition
« Reply #6 on: July 31, 2014, 01:24:11 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. ;)
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Can't install sparky on win 8.1 partition
« Reply #7 on: July 31, 2014, 01:26:34 pm »
@MoroS : Nothing is changed, I'm waitnig for your move :)
Nothing is easy as it looks.

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 255
  • Problem solver ;)
Re: Can't install sparky on win 8.1 partition
« Reply #8 on: July 31, 2014, 01:33:32 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.
There isn't a single thing that's impossible. Just the things that we don't yet know how to deal with. ;)

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Can't install sparky on win 8.1 partition
« Reply #9 on: July 31, 2014, 05:16:47 pm »
Quote
Third:
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.
Nothing is easy as it looks.

Offline spyro

  • Newbie
  • *
  • Posts: 2
Re: Can't install sparky on win 8.1 partition
« Reply #10 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?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: Can't install sparky on win 8.1 partition
« Reply #11 on: August 01, 2014, 07:59:25 pm »
Just change the 100 MB limitation size as I said before
Quote
Run 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.
Nothing is easy as it looks.