Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Can't install sparky on win 8.1 partition

Started by spyro, July 30, 2014, 08:05:39 PM

Previous topic - Next topic

spyro

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.

wayne

#1
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???

pavroo

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. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

MoroS

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's no such thing as "impossible". :)

wayne

#4
delete.. sorry

pavroo

@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.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

MoroS

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. ;)
There's no such thing as "impossible". :)

pavroo

@MoroS : Nothing is changed, I'm waitnig for your move :)
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

MoroS

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.
There's no such thing as "impossible". :)

pavroo

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.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

spyro

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?

pavroo

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.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

View the most recent posts on the forum