summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant code when initialising a partition table.Martin Whitaker2017-03-141-16/+3
| | | | | | Now we force the kernel to reread the partition table when we initialise it, there's no need to also inform it that we've deleted all the existing partitions.
* Fix auto-allocation of BIOS boot partitions (mga#20161, mga#19888).Martin Whitaker2017-02-251-3/+18
| | | | | | | | | | | | | | | | | This adds a specific subroutine, fsedit::auto_allocate_boot_bios_parts that detects if a BIOS boot partition is needed and allocates it if so. This allows us to relax the rules in fs::any::is_boot_bios_part_needed to allow the user to manually allocate the BIOS boot partition on a different device if they so wish. In the normal case that installation is confined to a single disk, this will allocate a single BIOS boot partition on that disk. In the rare case that installation is spread over multiple disks, it will allocate a BIOS boot partition on every disk. Given that the BIOS boot partitions are very small and that this is not a normal use case (see mga#16055), this seems an acceptable quirk - and does allow the user to then choose any disk when installing the boot loader.
* fix exception when clearing all partitionsThierry Vignaud2017-01-071-0/+1
| | | | it happens on !UEFI (mga#20083)
* init: explain the differences between the twoThierry Vignaud2016-07-311-0/+14
|
* enable to set several swap partitions (mga#9874)Thierry Vignaud2016-07-051-1/+1
|
* do not warn about no bootloader can boot LVM...Thierry Vignaud2016-07-041-7/+0
| | | | ...as grub2 can (mga#9426)
* do not warn about no bootloader can boot RAID[^1]Thierry Vignaud2016-07-041-27/+0
| | | | | | As grub2 can boot... (mga#11324) This should also fix mga#9524 And thus stop forcing obsolete metadata 0.90 format
* add a GRUB_BIOS partitions if needed (mga#18656)Thierry Vignaud2016-06-111-0/+3
|
* (init_mntpnt_suggestions) enable to call it againThierry Vignaud2016-06-111-2/+3
| | | | needed for next commit
* init_efi_suggestions -> init_mntpnt_suggestions()Thierry Vignaud2016-06-111-2/+3
| | | | | also take a $all_hds arg instead of $fstab needed for next commit
* perl_checker cleanupThierry Vignaud2016-06-111-1/+1
|
* refactor for next commitThierry Vignaud2016-06-111-3/+8
|
* don't opencode unshift()Thierry Vignaud2015-12-251-1/+1
| | | | make it more readable
* only use current disk when auto partitioning, wiping disk, using free space ↵Pascal Terjan2015-06-031-3/+4
| | | | (mga#16055)
* run udevadm settle after actions that trigger device reload (Martin ↵Thomas Backlund2015-05-291-0/+3
| | | | Whitaker, mga#15999)
* fix regression refusing FAT for ESP (mga#15962)Thierry Vignaud2015-05-171-1/+1
| | | | regression introduced in commit ae5b3ce9845669227ef06c90dfaa1065a7ceebe8
* log which mount has not a true fs (mga#15962)Thierry Vignaud2015-05-171-1/+1
|
* reuse ESP with "use free space" in liveThierry Vignaud2015-04-151-0/+2
| | | | mga#15690
* (init_efi_suggestions) add an optional force paramThierry Vignaud2015-04-121-2/+2
|
* do not suggests /boot/EFI uselessly (mga#15448)Thierry Vignaud2015-03-201-2/+12
| | | | we were creating another one when there was already one...
* New default "simple" partitioning schemeRémi Verschelde2015-02-021-3/+3
| | | | | | | libDrakX/fsedit.pm: new "simple" partitioning scheme - create separate /home only when more than 50G are available - in such case, / is 6/19th of the available space up to 50G, swap is 1/19th up to 4G and /home is the rest (12/19th)
* we need /boot/EFI on uefi systemsThomas Backlund2015-01-081-2/+2
|
* Allow /boot on btrfsPascal Terjan2014-10-201-2/+0
|
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* drop (broken) support for Alpha, PPC, Sparc & most of IA64Thierry.Vignaud2014-05-261-2/+2
| | | | | | | | | | | | | Including Xsun, silo & yaboot support Rationale: it's unused/unmaintained for years and those arches are beyond any hope of being usefull any day... They just got in the way... Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg driver at install, ...) as it might be usefull to extend to other arches Next to consider: Xbox?
* bump min size for spliting /home fs (Eugeni, mga#3189):Thierry Vignaud2013-04-141-3/+3
| | | | | - from 8 to 12Gb if simple partionning - from 7 to 10Gb if /usr is split or for servers
* (install,check_mntpoint) forbid having /boot as btrfs (mga#5627)Thierry Vignaud2012-04-281-0/+2
|
* String changes: perl -pi -e 's!file system!filesystem!'Ahmad Samir2011-04-041-2/+2
|
* - string changes: perl -pi -e 's!/boot partition!separate /boot partition!'Ahmad Samir2011-04-041-4/+4
|
* - use 'cannot' instead of 'can not'Ahmad Samir2011-04-021-4/+4
| | | | | - use 'LDAP' instead of 'Ldap'
* fix #188, allow lvm on top of luksRémy Clouard (shikamaru)2011-03-261-0/+2
|
* fix partition_table_initialize variablesAnne Nicolas2011-03-091-1/+1
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r431 | dmorgan | 2011-02-06 01:58:02 +0000 (Sun, 06 Feb 2011) | 1 line Add drakx structure on the SVN ------------------------------------------------------------------------ r432 | dmorgan | 2011-02-06 01:59:38 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned advertising ------------------------------------------------------------------------ r446 | dmorgan | 2011-02-06 22:37:08 +0000 (Sun, 06 Feb 2011) | 1 line Import Clean perl-install ------------------------------------------------------------------------ r448 | dmorgan | 2011-02-06 23:02:36 +0000 (Sun, 06 Feb 2011) | 1 line Add cleaned files ------------------------------------------------------------------------ r449 | dmorgan | 2011-02-06 23:03:52 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned kernel ------------------------------------------------------------------------ r450 | dmorgan | 2011-02-06 23:23:30 +0000 (Sun, 06 Feb 2011) | 1 line Import cleaned tools ------------------------------------------------------------------------ r451 | dmorgan | 2011-02-07 00:01:56 +0000 (Mon, 07 Feb 2011) | 1 line Import stage1 ------------------------------------------------------------------------ r473 | dmorgan | 2011-02-07 11:20:50 +0000 (Mon, 07 Feb 2011) | 1 line Import images ------------------------------------------------------------------------ r497 | ennael | 2011-02-09 21:02:06 +0000 (Wed, 09 Feb 2011) | 2 lines readd missing file ------------------------------------------------------------------------ r502 | pterjan | 2011-02-09 23:30:32 +0000 (Wed, 09 Feb 2011) | 1 line Import rescue ------------------------------------------------------------------------ r603 | ennael | 2011-02-24 13:32:54 +0000 (Thu, 24 Feb 2011) | 2 lines import cleaned rescue for Mageia ------------------------------------------------------------------------ r2061 | tv | 2011-10-20 20:32:19 +0100 (Thu, 20 Oct 2011) | 1 line import (cleaned) doc ------------------------------------------------------------------------
* cdie is not fatalPascal Terjan2010-05-241-6/+10
|
* force raid metadata to be 0.90 if /boot is on raid 1Pascal Terjan2010-05-241-2/+18
|
* fix the crypto mountpoint checks for the create casePascal Terjan2010-04-301-2/+2
| | | | when creating current partition is of type isRawLUKS, not yet LUKS
* refuse to have /boot encryptedPascal Terjan2010-04-291-0/+10
|
* - factorize default FS definitionPascal Terjan2009-10-071-12/+12
| | | | - switch to ext4 by default
* improve previous tuning to please damienPascal Terjan2009-03-261-2/+2
|
* adjust partition size suggestionPascal Terjan2009-03-261-2/+3
|
* - Save the info that a disk is removablePascal Terjan2009-02-091-0/+1
|
* - bootloader-config (and other tools): handle /dev/mapper/xxx1 instead ofPascal Rigaux2008-10-011-0/+3
| | | | | /dev/mapper/xxxp1 (#44182)
* 11.54.2Pascal Rigaux2008-09-261-0/+5
|
* - diskdrake:Pascal Rigaux2008-09-181-0/+18
| | | | | o handle partitions encrypted with cryptsetup
* ensure a newly created partition has {major} and {minor}Pascal Rigaux2008-09-181-0/+1
|
* - create cannotBeMountable() out of isNonMountable()Pascal Rigaux2008-09-181-1/+1
| | | | | - use it
* do not keep previous partition UUID when changing partition typePascal Rigaux2008-09-091-0/+1
|
* - diskdrake:Pascal Rigaux2008-03-211-2/+3
| | | | | | o fix setting mount point of a /dev/mdX (#39142) (regression introduced in 10.8)
* - fix partition device name for some dmraid (missing "p", cf #38363)Pascal Rigaux2008-03-061-1/+0
| | | | | | | | simplifying code, since using "p" to separate device name from partition number when device name ends with a digit is standard in the kernel $hd->{prefix} is no more always created. Only used in same special cases
* - auto allocate: do not create /home if drive is smaller than 7GBPascal Rigaux2008-03-031-7/+9
|