Bug 1103712 - IOError: [Errno 2] No such file or directory: '/mnt/sysimage/boot/grub2/device.map'
Summary: IOError: [Errno 2] No such file or directory: '/mnt/sysimage/boot/grub2/devic...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:13b2863080eb5d998348e5cf1d8...
: 1194958 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-02 12:10 UTC by seth Nimbosa
Modified: 2015-06-29 20:55 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 20:55:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (770.30 KB, text/plain)
2014-06-02 12:12 UTC, seth Nimbosa
no flags Details
File: anaconda.log (58.03 KB, text/plain)
2014-06-02 12:13 UTC, seth Nimbosa
no flags Details
File: environ (527 bytes, text/plain)
2014-06-02 12:13 UTC, seth Nimbosa
no flags Details
File: journalctl (243.52 KB, text/plain)
2014-06-02 12:14 UTC, seth Nimbosa
no flags Details
File: lsblk_output (4.00 KB, text/plain)
2014-06-02 12:14 UTC, seth Nimbosa
no flags Details
File: nmcli_dev_list (5.44 KB, text/plain)
2014-06-02 12:14 UTC, seth Nimbosa
no flags Details
File: os_info (375 bytes, text/plain)
2014-06-02 12:14 UTC, seth Nimbosa
no flags Details
File: program.log (92.76 KB, text/plain)
2014-06-02 12:14 UTC, seth Nimbosa
no flags Details
File: storage.log (330.80 KB, text/plain)
2014-06-02 12:15 UTC, seth Nimbosa
no flags Details
File: ifcfg.log (4.09 KB, text/plain)
2014-06-02 12:15 UTC, seth Nimbosa
no flags Details
File: packaging.log (138 bytes, text/plain)
2014-06-02 12:16 UTC, seth Nimbosa
no flags Details
logs (156.37 KB, application/octet-stream)
2014-07-29 07:44 UTC, Germano Massullo (Thetra)
no flags Details

Description seth Nimbosa 2014-06-02 12:10:02 UTC
Description of problem:
install in a custom partition of old Fedora install, anaconda stopped at 100% but crashed / not finished

Version-Release number of selected component:
anaconda-20.25.15-1.fc20.i686

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/pyanaconda/bootloader.py", line 1426, in write_device_map
    dev_map = open(map_path, "w")
  File "/usr/lib/python2.7/site-packages/pyanaconda/bootloader.py", line 1554, in write
    self.write_device_map()
  File "/usr/lib/python2.7/site-packages/pyanaconda/bootloader.py", line 2328, in writeBootLoader
    storage.bootloader.write()
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line 173, in doInstall
    writeBootLoader(storage, payload, instClass, ksdata)
  File "/usr/lib/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 192, in run
    threading.Thread.run(self, *args, **kwargs)
IOError: [Errno 2] No such file or directory: '/mnt/sysimage/boot/grub2/device.map'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-Live-LXDE-i686-20-1 rootfstype=auto ro rd.live.image  rhgb rd.luks=0 rd.md=0 rd.dm=0 BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.i686
other involved packages: python-libs-2.7.5-9.fc20.i686
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 seth Nimbosa 2014-06-02 12:12:59 UTC
Created attachment 901418 [details]
File: anaconda-tb

Comment 2 seth Nimbosa 2014-06-02 12:13:13 UTC
Created attachment 901419 [details]
File: anaconda.log

Comment 3 seth Nimbosa 2014-06-02 12:13:16 UTC
Created attachment 901420 [details]
File: environ

Comment 4 seth Nimbosa 2014-06-02 12:14:08 UTC
Created attachment 901421 [details]
File: journalctl

Comment 5 seth Nimbosa 2014-06-02 12:14:11 UTC
Created attachment 901422 [details]
File: lsblk_output

Comment 6 seth Nimbosa 2014-06-02 12:14:15 UTC
Created attachment 901423 [details]
File: nmcli_dev_list

Comment 7 seth Nimbosa 2014-06-02 12:14:18 UTC
Created attachment 901424 [details]
File: os_info

Comment 8 seth Nimbosa 2014-06-02 12:14:43 UTC
Created attachment 901425 [details]
File: program.log

Comment 9 seth Nimbosa 2014-06-02 12:15:55 UTC
Created attachment 901426 [details]
File: storage.log

Comment 10 seth Nimbosa 2014-06-02 12:15:58 UTC
Created attachment 901427 [details]
File: ifcfg.log

Comment 11 seth Nimbosa 2014-06-02 12:16:04 UTC
Created attachment 901428 [details]
File: packaging.log

Comment 12 seth Nimbosa 2014-06-02 16:54:02 UTC
i searched related bugs and found an old issue here:
https://bugzilla.redhat.com/show_bug.cgi?id=735730, 735785, 798483,

IOError: [Errno 2] No such file or directory: '/mnt/sysimage/boot/grub2/device.map' : upgrade with 'install new bootloader configuration' fails

IOError: No such file or directory: '/mnt/sysimage/boot/grub2/device.map'

not sure how to resolve, iM on a multiboot setup, so i wanted to reuse an old partition i used for an old Fedora 15 install, previously upgraded from version 11 and 12, then 14 :D

Comment 13 Germano Massullo (Thetra) 2014-07-29 07:44:53 UTC
Created attachment 922049 [details]
logs

I am having the same problem on a specific machine.
I can reproduce the bug. Sometimes I get different errors, like errno 30, as I already reported in https://bugzilla.redhat.com/show_bug.cgi?id=1123174#c12

Comment 14 Germano Massullo (Thetra) 2014-08-03 09:40:04 UTC
My problem was originated by an incompatibility between computer's SATA controller and the SSD drive, so please ignore my comments and logs.

Comment 15 David Shea 2014-10-21 19:01:24 UTC
11:54:36,084 INFO program: rsync: recv_generator: mkdir "/mnt/sysimage/boot/efi/EFI/fedora" failed: No space left on device (28)
11:54:36,086 INFO program: *** Skipping any contents from this failed directory ***
11:54:36,087 INFO program: rsync: recv_generator: mkdir "/mnt/sysimage/boot/grub2" failed: No space left on device (28)
11:54:36,088 INFO program: *** Skipping any contents from this failed directory ***
11:54:36,088 INFO program: rsync: mkstemp "/mnt/sysimage/boot/.vmlinuz-3.11.10-301.fc20.i686.hmac.APu8p1" failed: No space left on device (28)
11:54:36,089 INFO program: rsync: mkstemp "/mnt/sysimage/boot/.System.map-3.11.10-301.fc20.i686.zCv3hL" failed: No space left on device (28)
11:54:36,089 INFO program: rsync: mkstemp "/mnt/sysimage/boot/.config-3.11.10-301.fc20.i686.yUpKCv" failed: No space left on device (28)

etc, is the problem. So there's not enough free space on /boot, and anaconda didn't check for that.

Comment 16 David Shea 2015-02-21 19:38:34 UTC
*** Bug 1194958 has been marked as a duplicate of this bug. ***

Comment 17 Fedora End Of Life 2015-05-29 12:00:28 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 18 Fedora End Of Life 2015-06-29 20:55:27 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.