Commit Graph

40 Commits

Author SHA1 Message Date
Michael Tremer
58e840bd96 installer: Intialize part_boot_efi_idx
This variable was not initialized on systems where EFI was not
in use. Therefore the generated parted command line was not
valid and caused the installation to abort.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-12-11 20:43:24 +00:00
Arne Fitzenreiter
4d0b63baf6 installer: remove set of pmbr_boot on gpt partitions
this fix the efi boot on hdd's larger than 2TB and raid installations.

fixes: #11890

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-10-23 18:58:58 +02:00
Michael Tremer
366b40c740 setup: Don't write any mount errors over the GUI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-08-23 11:17:23 +01:00
Michael Tremer
12034118dd installer: Run install-bootloader script instead of own code
This allows us to keep the GRUB installation routine in one
place only.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-20 12:03:10 +00:00
Michael Tremer
e3a3af3c5d installer: Install GRUB in removable mode as well
This allows that a system will boot IPFire even when
no boot entry is configured in the EFI BIOS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:53 +01:00
Michael Tremer
7dc7880dda installer: Always install EFI bootloader on x86_64 and aarch64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:53 +01:00
Michael Tremer
8fbadfc7a3 installer: Create a flag that marks if EFI support is available
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:53 +01:00
Michael Tremer
92e782332c installer: Add support to install on EFI systems
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
5fb499f13b installer: Detect if we are running in EFI mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:51 +01:00
Michael Tremer
c577571e2a installer: Drop /var partition
Fixes #11735

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:07:59 +01:00
Michael Tremer
bea1884bd7 installer: Increase size of /boot to 128M
Fixes #11736

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-21 20:59:06 +01:00
Michael Tremer
fb76fc5144 installer: Fix detection if we have the correct ISO image mounted
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-12 15:50:31 +01:00
Michael Tremer
5208ceedd9 installer: Force overwriting EXT4 FS
On 64 bit systems, the installation fails if a previous XFS FS
is detected on the partition an EXT4 FS should be formatted.

This does not happen on 32 bit systems.

Fixes: #11091

Reported-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2016-04-11 10:20:00 +01:00
Michael Tremer
29afd40851 installer: Cut off disk description if it gets too long 2015-02-26 13:54:07 +01:00
Michael Tremer
ade96ba8a5 installer: Fix umounting destination 2014-11-13 23:58:05 +01:00
Michael Tremer
a8fca24560 installer: Allow to disable creation of swap space on command line 2014-10-26 16:00:03 +01:00
Michael Tremer
335c5bd1cd installer: Fix loads of compiler warnings 2014-10-25 15:54:45 +02:00
Michael Tremer
c0511f3ab3 installer: Rework downloading ISO and allow using a custom URL 2014-10-25 14:56:23 +02:00
Michael Tremer
38c6822d3c installer: Make restoring the backup interactive 2014-10-15 23:38:05 +02:00
Michael Tremer
7d11428465 installer: Allow to start networking without ISO download 2014-10-12 14:30:51 +02:00
Michael Tremer
a3e135c8bd installer: Enable new partitioning code to be run in unattended mode
The first disk of the system will automatically be used and
a standard installation will be done. After that is done, the
system will reboot into the freshly installed system and execute
setup.
2014-10-11 18:59:31 +02:00
Michael Tremer
5be66d81b9 installer: use sysinfo() for memory detection 2014-09-04 20:10:55 +02:00
Michael Tremer
126d357084 installer: Fix off-by-one error in number search 2014-09-04 20:10:24 +02:00
Michael Tremer
a691d4b370 installer: Add p suffix to path for mmcblk0 devices, etc. 2014-09-04 10:59:34 +02:00
Michael Tremer
0c8b2d994e installer: Show name of block device in disk listing 2014-09-04 10:59:16 +02:00
Michael Tremer
ee43f517e8 installer: When there is only one disk, fix automatic selection 2014-08-21 20:30:42 +02:00
Michael Tremer
ee00d203d1 installer: Omit source drive by name 2014-08-21 16:57:02 +02:00
Michael Tremer
d78fffa049 installer: Destroy RAID superblocks on single disk installations 2014-08-21 16:43:45 +02:00
Michael Tremer
0e491487e9 installer: Fix access test after partitioning 2014-08-21 16:43:07 +02:00
Michael Tremer
ddd32a5cd3 installer: Make umounting more reliable 2014-08-20 21:16:25 +02:00
Michael Tremer
46b56e2030 libsmooth+install: Fix output redirection 2014-08-14 14:07:13 +02:00
Michael Tremer
d2fafe0316 installer: Try harder to stop pre-existing software raids. 2014-08-13 12:04:08 +02:00
Michael Tremer
e9cf574d50 installer: Mark the GRUB boot partition as bootable on GPT. 2014-08-12 15:17:29 +02:00
Michael Tremer
282ec35e9b installer: Flush all disk buffers after the installation has finished. 2014-08-12 15:15:52 +02:00
Michael Tremer
7b4790d3fc installer: Downgrade RAID metadata format to 1.0. 2014-08-12 15:14:45 +02:00
Michael Tremer
bee06cd410 installer: Change separator in disk description to dash. 2014-08-12 15:12:25 +02:00
Michael Tremer
d2f993a7dd installer: Wipe first bytes of partitions and disks before partitioning. 2014-08-12 14:57:23 +02:00
Michael Tremer
a8d8b5576c installer: Umount everything right away. 2014-08-12 14:47:32 +02:00
Michael Tremer
4c812463e4 installer: Improve formatting of disk vendors/models. 2014-07-30 23:14:17 +02:00
Michael Tremer
5315fae6b3 Move installer to its own directory. 2014-07-30 22:04:35 +02:00