Red Hat Bugzilla – Bug 497245
anaconda doesn't recognize newly created boot partition
Last modified: 2009-05-05 10:29:09 EDT
Created attachment 340848 [details]
Description of problem:
Using 'custom partition layout' anaconda won't continue past the partition setup page, giving the 'You have not created a boot partition' dialog, even if a /boot partition was created.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start graphical install
2. select 'custom partition layout'
3. create ext3 /boot and ext4 / partitions
4> select continue
Shows 'Partition Error' dialog with 'You have not created a boot partition'
Continues and writes new partition table to disk.
Tested on PS3 game console.
Created attachment 340849 [details]
There's nothing in your log files about a /boot partition. Are you able to reproduce this bug?
This bug is 100% reproducable on PS3 game console.
I am not familiar with the python language, nor the internals of anaconda, but the change below seems to fix it. At least I can create a bootable system with just an ext3 root partition on ps3da1 and a swap partition on ps3da2.
This two partition config is a very common for PS3, and was supported on older fedora versions, so will be expected by users.
diff --git a/platform.py b/platform.py
index bf6773c..0ef7ac4 100644
@@ -68,7 +68,12 @@ class Platform(object):
raise NotImplementedError("bootDevice not implemented for this platform")
mntDict = self._mntDict()
- return mntDict.get("/boot", mntDict.get("/"))
+ bootDev = mntDict.get("/boot")
+ if not bootDev:
+ bootDev = mntDict.get("/")
+ return bootDev
After some more testing, I found that it was not my change that made it work, but that I was using a newer version of platform.py than anaconda-18.104.22.168.
So I think this bug is fixed in anaconda-22.214.171.124 or anaconda-126.96.36.199.
I will test when the rawhide build gets a newer anaconda version and report.
I tested today's build (04-May-2009 09:36), and this problem is fixed.
Great, thanks for testing.