summaryrefslogtreecommitdiffstats
path: root/rescue/bin
Commit message (Collapse)AuthorAgeFilesLines
* rescue: mount efivars in chroot on UEFI systems (mga#31844)Martin Whitaker2023-04-282-5/+3
| | | | | | Note that install_bootloader calls guess_mounts which mounts both the real and pseudo-filesystems, so there is no need to mount the pseudo- filesystems again.
* perl_checker cleanupsThierry Vignaud2022-01-051-1/+1
|
* enable to repair encrypted LVMs/LUKS (mga#22795)Thierry Vignaud2020-03-201-0/+16
| | | | | - ask for encryption key - add enabled dmcrypts to the list of partitions to look at
* explainThierry Vignaud2020-03-201-0/+2
|
* restrict ourselves to true FSesThierry Vignaud2020-03-191-1/+1
| | | | | | After commit c2fcfde5b3064845d96f7cb29ddc27689ea6e710, mounting eg: exfat strangely fails as it doesn't automatically load exfat. (I suspect it's a bug either in exfat.ko or in util-linux)
* Restoring displaying found versionThierry Vignaud2020-03-191-2/+2
| | | | | | | | | | | | | | | And also display a shorter distribution name (eg: "Mageia (Cauldron)" which is still longer than just "Mageia"). history: commit fd8bbba2f02b8bccd69e67c326fd320c0827941d wrongly introduced a "%s" in place of "Mandriva" (w/o adding any argument) Then commit e95388927be1f0de67413bdb5430cf0031710f54 fixed it by replacing "%s" with the displayed release info at end. However commit 3928e119899ee844bc0ac90e963d913782b8ae9c enables us to have the info we want, so just use that
* just use the fs reported by blkidThierry Vignaud2020-03-191-3/+3
| | | | | | | | | | | Instead of doing brute force guessing. Thus making logs easier to read… Also slightly faster and less error-prone (even if no true FS should havoc on another fs type). We could have fallbacked on ->{fs_type_from_magic} but that would only help iso9660 & the like which are not true FSes such as tested previously by fs::type::true_local_fs_types()
* remove debug codeThierry Vignaud2017-01-271-1/+1
| | | | it was wrongly added in commit 7cd51d36c05a66555b07a7fa850b21686ded2e1a
* lsparts: fix reporting half sizesThierry Vignaud2017-01-271-1/+1
| | | | | | | | | | | The issue is that lsparts is relying on fs::proc_partitions::read_raw(), which reads /proc/partition which reports size of devices in 1kb blocks instead of expected 512b sectors elsewhere... The size is adjusted by *2 in read() but lsparts only used the lower level interface. This bug was introduced in commit 20e553d8f0ead3d5de1fb61d1aa255dd35549cf2
* fix a message when re-installing bootloaderThierry Vignaud2016-06-201-1/+1
|
* do not run shells uselesslyThierry Vignaud2016-01-021-2/+2
| | | | also prevent arguments to be split on spaces & the like
* guessmount: mount {/dev,/run,/sys} too (mga#10865)Thierry Vignaud2015-04-301-0/+3
| | | | those are mounted by udev not fstab those days
* display label too (mga#8854)Thierry Vignaud2015-04-301-1/+1
|
* silent run_program (mga#8854)Thierry Vignaud2015-04-301-0/+1
|
* fix reinstalling grub2 on UEFI (mga#15695)Thierry Vignaud2015-04-151-0/+2
|
* rescue: Move files around and introduce proper dep tracking.Colin Guthrie2013-12-076-0/+431
This moves any perl files into bin and sbin folders which will be directly installed in /usr/bin and /usr/sbin. This is done such that the extract modes in list.xml still work and the files end up in the right places. All other files have been moved into the tree folder in their final destination.