Could not install Grub

Just tried to install the OS, but Grub could not be installed for some reason.


2022-01-22 - 22:30:25 [6]: virtual void Calamares::JobThread::run()
    Starting job "hwclock" ( 34 / 43 ) 
2022-01-22 - 22:30:25 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec()
    Job file "/usr/lib/calamares/modules/hwclock/main.py" 
2022-01-22 - 22:30:25 [6]: [PYTHON JOB]: Found gettext "en_US" in "/usr/share/locale/en_US" 
2022-01-22 - 22:30:25 [6]:     ..  Job description from pretty_name "hwclock" = "Setting hardware clock." 
2022-01-22 - 22:30:25 [6]:     ..  Running ("hwclock", "--systohc", "--utc") 
2022-01-22 - 22:30:25 [6]: [PYTHON JOB]: "Hwclock set using RTC method." 
2022-01-22 - 22:30:25 [6]: virtual void Calamares::JobThread::run()
    Starting job "grubcfg" ( 35 / 43 ) 
2022-01-22 - 22:30:25 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec()
    Job file "/usr/lib/calamares/modules/grubcfg/main.py" 
2022-01-22 - 22:30:25 [6]: [PYTHON JOB]: Found gettext "en_US" in "/usr/share/locale/en_US" 
2022-01-22 - 22:30:25 [6]:     ..  Job description from pretty_name "grubcfg" = "Configure GRUB." 
2022-01-22 - 22:30:25 [6]:     ..  Running ("sh", "-c", "which dracut") 
2022-01-22 - 22:30:25 [6]:     ..  Target cmd: ("sh", "-c", "which dracut") Exit code: 1 output:
 which: no dracut in (/usr/sbin:/usr/bin:/sbin:/bin:/root/bin)
2022-01-22 - 22:30:25 [6]:     ..  Running ("sh", "-c", "which plymouth") 
2022-01-22 - 22:30:25 [6]:     ..  Target cmd: ("sh", "-c", "which plymouth") Exit code: 1 output:
 which: no plymouth in (/usr/sbin:/usr/bin:/sbin:/bin:/root/bin)
2022-01-22 - 22:30:25 [6]: virtual void Calamares::JobThread::run()
    Starting job "bootloader" ( 36 / 43 ) 
2022-01-22 - 22:30:25 [6]: virtual Calamares::JobResult Calamares::PythonJob::exec()
    Job file "/usr/lib/calamares/modules/bootloader/main.py" 
2022-01-22 - 22:30:25 [6]: [PYTHON JOB]: Found gettext "en_US" in "/usr/share/locale/en_US" 
2022-01-22 - 22:30:25 [6]:     ..  Job description from pretty_name "bootloader" = "Install bootloader." 
2022-01-22 - 22:30:25 [6]: [PYTHON JOB]: "Bootloader: grub (bios)" 
2022-01-22 - 22:30:25 [6]:     ..  Running ("grub-install", "--target=i386-pc", "--recheck", "--force", "/dev/sda") 
2022-01-22 - 22:30:27 [6]:     ..  Target cmd: ("grub-install", "--target=i386-pc", "--recheck", "--force", "/dev/sda") Exit code: 1 output:
 Installing for i386-pc platform.
grub-install: error: unable to identify a filesystem in hostdisk//dev/sda; safety check can't be performed.
2022-01-22 - 22:30:27 [2]: WARNING: [PYTHON JOB]: "Command 'grub-install --target=i386-pc --recheck --force /dev/sda' returned non-zero exit status 1." 
2022-01-22 - 22:30:27 [6]: [PYTHON JOB]: "stdout:Installing for i386-pc platform.\ngrub-install: error: unable to identify a filesystem in hostdisk//dev/sda; safety check can't be performed." 
2022-01-22 - 22:30:27 [6]: [PYTHON JOB]: "stderr:None" 
2022-01-22 - 22:30:27 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "prepare post-installation cleanup tasks ..." 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "running post-installation cleanup tasks" 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "reset 90-mkinitcpio-install.hook" 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "services-systemd" 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "Saving files for later ..." 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "copy logs and files from host to target" 
2022-01-22 - 22:30:27 [6]:     ..  Skipping non-emergency job "umount" 
2022-01-22 - 22:30:27 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Bootloader installation error" 
2022-01-22 - 22:30:27 [6]:     ..  - message: "Bootloader installation error" 
2022-01-22 - 22:30:27 [6]:     ..  - details: The bootloader could not be installed. The installation command <pre>grub-install --target=i386-pc --recheck --force /dev/sda</pre> returned error code 1.
2022-01-22 - 22:30:27 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    Calamares will quit when the dialog closes. 
2022-01-22 - 22:30:27 [6]: QML Component (default slideshow) deactivated
2022-01-22 - 22:30:27 [6]: void Config::doNotify(bool, bool)
    Notification not sent; completion: failed 

Welcome to the forum!

What partitioning did you select during install? Manual or automatic?

1 Like