{"action":"created","issue":{"url":"https://api.github.com/repos/calamares/calamares/issues/969","repository_url":"https://api.github.com/repos/calamares/calamares","labels_url":"https://api.github.com/repos/calamares/calamares/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/calamares/calamares/issues/969/comments","events_url":"https://api.github.com/repos/calamares/calamares/issues/969/events","html_url":"https://github.com/calamares/calamares/issues/969","id":327312420,"node_id":"MDU6SXNzdWUzMjczMTI0MjA=","number":969,"title":"Fatal error with luks and bootloader on /","user":{"login":"2lafru","id":11904871,"node_id":"MDQ6VXNlcjExOTA0ODcx","avatar_url":"https://avatars0.githubusercontent.com/u/11904871?v=4","gravatar_id":"","url":"https://api.github.com/users/2lafru","html_url":"https://github.com/2lafru","followers_url":"https://api.github.com/users/2lafru/followers","following_url":"https://api.github.com/users/2lafru/following{/other_user}","gists_url":"https://api.github.com/users/2lafru/gists{/gist_id}","starred_url":"https://api.github.com/users/2lafru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2lafru/subscriptions","organizations_url":"https://api.github.com/users/2lafru/orgs","repos_url":"https://api.github.com/users/2lafru/repos","events_url":"https://api.github.com/users/2lafru/events{/privacy}","received_events_url":"https://api.github.com/users/2lafru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-29T13:06:40Z","updated_at":"2018-06-01T12:30:25Z","closed_at":null,"author_association":"NONE","body":"#### Submission type\r\n\r\n  - [ X] Bug report\r\n  - [ ] Feature Request\r\n\r\n\r\n#### Info regarding which version of Calamares is used, which Distribution\r\n\r\n3.1.13-1 for Manjaro Linux 17.1 \"Hakoila\"\r\n\r\n#### Provide information on how the disks are set up, in detail, with full logs of commands issued \r\n\r\nI'm trying to do a full wipe of the sda disk. I want to install Manjaro Linux with most of the disk dedicated to it, and a 8Go swap partition. This is the default configuration when selecting to do a full wipe. I want the system to be encrypted. Instead of installing the bootloader on the MBR, I want to install it on /.\r\n\r\n#### What do you expect to have happen when Calamares installs?\r\n\r\nAs what I want to do is proposed by the Calamares GUI, I would expect this to be possible and to succeed. \r\n\r\n#### Describe the issue you encountered\r\n\r\nThe installer can't finish this type of installation (full disk encryption with bootloader not on MBR). However nothing prevents me to try this. At some point during the installation, I get an error window with : \r\n\r\n`Erreur Boost.Python pour le job \"bootloader\".`\r\n`<class 'subprocess.CalledProcessError'>`\r\n`Command 'grub-install --target=i386-pc --recheck --force /dev/sda1' returned non-zero exit status 1.`\r\n`Traceback:`\r\n`  File \"/usr/lib/calamares/modules/bootloader/main.py\", line 351, in run`\r\n`    prepare_bootloader(fw_type)`\r\n\r\n`File \"/usr/lib/calamares/modules/bootloader/main.py\", line 322, in prepare_bootloader`\r\n`    install_grub(efi_directory, fw_type)`\r\n\r\n`File \"/usr/lib/calamares/modules/bootloader/main.py\", line 292, in install_grub`\r\n`    boot_loader[\"installPath\"]])`\r\n\r\n`File \"<string>\", line 2, in <module> `\r\n\r\n#### Steps to reproduce the problem\r\n\r\nDuring the installation, select an installation on the whole disk. Enable disk encryption. Specify you do not want to install the bootloader on the MBR.\r\n\r\n#### Include the installation.log (usually ~/Calamares/Calamares/Calamares.log, of the user Calamares runs as):\r\n\r\n```\r\n13:56:12 [0]: Starting job \"grubcfg\" \r\n13:56:12 [1]: Job file \"/usr/lib/calamares/modules/grubcfg/main.py\" \r\n13:56:12 [1]: Job \"grubcfg\" (doc) -> \"Calls routine with given parameters to modify '/etc/default/grub'.\" \r\n13:56:12 [0]: Running \"chroot\" (\"/tmp/calamares-root-fwwxd3u4\", \"sh\", \"-c\", \"which dracut\") \r\n13:56:12 [0]: Finished. Exit code: 1 \r\n13:56:12 [0]: Target cmd (\"sh\", \"-c\", \"which dracut\") \r\n13:56:12 [0]: Target out \"which: no dracut in (/usr/sbin:/usr/bin:/sbin:/bin:/root/bin)\" \r\n13:56:12 [0]: Starting job \"bootloader\" \r\n13:56:12 [1]: Job file \"/usr/lib/calamares/modules/bootloader/main.py\" \r\n13:56:12 [1]: Job \"bootloader\" (doc) -> \"Starts procedure and passes 'fw_type' to other routine.\" \r\nBootloader: grub (bios)\r\n13:56:12 [0]: Running \"chroot\" (\"/tmp/calamares-root-fwwxd3u4\", \"grub-install\", \"--target=i386-pc\", \"--recheck\", \"--force\", \"/dev/sda1\") \r\n13:56:35 [0]: Finished. Exit code: 1 \r\n13:56:35 [0]: Target cmd (\"grub-install\", \"--target=i386-pc\", \"--recheck\", \"--force\", \"/dev/sda1\") \r\n13:56:35 [0]: Target out \"Installing for i386-pc platform.\\ngrub-install: error: unable to identify a filesystem in hostdisk//dev/sda; safety check can't be performed.\" \r\n13:56:35 [1]: tbMsg \"  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 351, in run\\n    prepare_bootloader(fw_type)\\n\\n  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 322, in prepare_bootloader\\n    install_grub(efi_directory, fw_type)\\n\\n  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 292, in install_grub\\n    boot_loader[&quot;installPath&quot;]])\\n\\n  File &quot;&lt;string&gt;&quot;, line 2, in &lt;module&gt;\\n\" \r\n13:56:35 [0]: Installation failed: \r\n13:56:35 [0]: - message: \"Erreur Boost.Python pour le job \\\"bootloader\\\".\" \r\n13:56:35 [0]: - details: \"<div><strong>&lt;class 'subprocess.CalledProcessError'&gt;</strong></div><div>Command 'grub-install --target=i386-pc --recheck --force /dev/sda1' returned non-zero exit status 1.</div><div>Traceback:</div><div><pre>  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 351, in run\\n    prepare_bootloader(fw_type)\\n\\n  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 322, in prepare_bootloader\\n    install_grub(efi_directory, fw_type)\\n\\n  File &quot;/usr/lib/calamares/modules/bootloader/main.py&quot;, line 292, in install_grub\\n    boot_loader[&quot;installPath&quot;]])\\n\\n  File &quot;&lt;string&gt;&quot;, line 2, in &lt;module&gt;\\n</pre></div>\" \r\n13:56:35 [0]: Calamares will quit when the dialog closes. \r\n13:56:35 [1]: FinishedPage::setUpRestart() \r\n```"},"comment":{"url":"https://api.github.com/repos/calamares/calamares/issues/comments/393865853","html_url":"https://github.com/calamares/calamares/issues/969#issuecomment-393865853","issue_url":"https://api.github.com/repos/calamares/calamares/issues/969","id":393865853,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzg2NTg1Mw==","user":{"login":"2lafru","id":11904871,"node_id":"MDQ6VXNlcjExOTA0ODcx","avatar_url":"https://avatars0.githubusercontent.com/u/11904871?v=4","gravatar_id":"","url":"https://api.github.com/users/2lafru","html_url":"https://github.com/2lafru","followers_url":"https://api.github.com/users/2lafru/followers","following_url":"https://api.github.com/users/2lafru/following{/other_user}","gists_url":"https://api.github.com/users/2lafru/gists{/gist_id}","starred_url":"https://api.github.com/users/2lafru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2lafru/subscriptions","organizations_url":"https://api.github.com/users/2lafru/orgs","repos_url":"https://api.github.com/users/2lafru/repos","events_url":"https://api.github.com/users/2lafru/events{/privacy}","received_events_url":"https://api.github.com/users/2lafru/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T12:30:25Z","updated_at":"2018-06-01T12:30:25Z","author_association":"NONE","body":"@abucodonosor \r\nWell, that's weird. I didn't have the full log of the installation, so I tried to redo an installation to reproduce the bug, but the drop-down list asking me where I want to put the bootloader doesn't appear anymore. It was on this screen, below the two colored bars. \r\nhttps://imgur.com/JGHAhJt.png\r\nI didn't update anything; however I'm not able to reproduce the bug..."}}
{"actor":{"display_login":"2lafru"}}