Red Hat Bugzilla – Bug 826466
anaconda couldn't find squashfs.img from preupgrade URL
Last modified: 2013-07-31 20:41:32 EDT
I had an F16 machine with not enough space on /boot for the squashfs files, but I was wired so I let it go.
At bootup the initramfs couldn't find the squashfs.img, I edited the grub command line and it worked fine.
The original stage2 URL preupgrade passes was:
and I had to change it to
I can confirm this. Same here. The URL given on the grub line is used as the path to find a file ".treeinfo", but of course such file only exists if the URL ends after "os/".
I don't see how this is a preupgrade bug. We're passing the value set in .treeinfo to anaconda, so anaconda must be adding on a manual +'LiveOS/squashfs.img' somewhere. Other that a nasty hack in preupgrade to remove the 2 last parts of the URL for this release, how I know what anaconda is expecting?
Actually it is adding a "/LiveOS/squashfs.img" as far as I can tell.
When I encountered this issue on one of my machines, I changed the stage2 line in the same way, which let the machine find and download the squashfs.img correctly, but there was a ".../os//LiveOS/squashfs.img" in the path, so it definitely looks like an addendum made by anaconda.
It looks like with the dracut processing of repo= and stage2= we now have no way of separating out the repository location from the stage2 location (e.g. stage2 in your /boot/ directory and repo somewhere else). I'm re-assigning to wwoods who handled most of that code for his thoughts on the matter.
preupgrade should point to the top level os/ directory, not specifically to the file in question. It should point to where the .treeinfo file exists, or to where a fallback directory exists with the image (LiveOS/squashfs.img).
In the case of stage2 on /boot preupgrade needs to be putting the squashfs image into /boot/LiveOS/squashfs.img and the stage2= line should point to the top level /boot/ directory.
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. 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 WONTFIX if it remains open with a Fedora
'version' of '17'.
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 prior to Fedora 17's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 17 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 to Fedora 17's end of life.
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.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 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.
Thank you for reporting this bug and we are sorry it could not be fixed.