Skip to content

Commit

Permalink
Merge pull request #588 from joseivanlopez/improve_message
Browse files Browse the repository at this point in the history
Improve error message for missing root
  • Loading branch information
joseivanlopez committed Jan 23, 2020
2 parents e20c299 + 9bc681b commit e3cc7a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 23 16:15:38 UTC 2020 - José Iván López González <jlopez@suse.com>

- Improve message when root file system is not found (bsc#1160176).
- 4.1.26

-------------------------------------------------------------------
Tue Jan 21 16:39:30 UTC 2020 - José Iván López González <jlopez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-bootloader.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-bootloader
Version: 4.1.25
Version: 4.1.26
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 2 additions & 1 deletion src/lib/bootloader/config_dialog.rb
Expand Up @@ -27,7 +27,8 @@ def run
rescue ::Bootloader::NoRoot
Yast::Report.Error(
_("YaST cannot configure the bootloader because it failed to find the root file system.\n" \
"This usually happens when there are bind-mounted devices.")
"This usually happens when there are bind-mounted devices. Please, unmount your bind \n" \
"mounts first and try again. You can mount them back after configuring your bootloader.")
)
:abort
rescue ::Bootloader::BrokenConfiguration, ::Bootloader::UnsupportedOption => e
Expand Down

0 comments on commit e3cc7a6

Please sign in to comment.