Closed lantw44 closed 8 years ago
I think blivet should not crash even if it finds a possibly invalid disk configuration. Crashing the installer means I am not able to install Fedora.
That's odd. parted says you don't have a partition table, it thinks the device is a loopback FAT16 filesystem.
Could you open a bug against parted at https://bugzilla.redhat.com and include the details you have here as well as the first 62 sectors of your disk? eg. output from:
dd if=/dev/sdb of=first62.bin count=62
I filed a bug here: https://bugzilla.redhat.com/show_bug.cgi?id=1288091
Explanation is here - https://bugzilla.redhat.com/show_bug.cgi?id=1288091#c1
Basically, parted can't handle this disk because of old FAT16 metadata on it.
If think blivet should be still able to "work" even if it can't use/read one of the disks, we could hide it (or do the wipefs if user wants to) and allow changes on other disks.
Agreed.
This handling should be added to blivet-gui. It can catch UnusableConfigurationError and handle it however it wants. Blivet cannot make these decisions on its own and it does not have a user interface, so this is left to anaconda and blivet-gui.
If you want to ignore that disk completely, add it to ignored_disks before populating the DeviceTree.
I run list_devices.py included in the examples directory, but it crashes:
blivet-gui also crashes with the same problem. I already reported it on Red Hat Bugzilla, but I don't get any response there: https://bugzilla.redhat.com/show_bug.cgi?id=1237284
I test this problem with git master branch of blivet on Fedora 23. It seems it is this problem that causes Fedora and CentOS installers crash on my machine. Fedora 23 is installed on /dev/sda and the disk that causes crash is /dev/sdb.
It seems that blivet uses parted, but parted is unable to recognize my disk:
util-linux fdisk works fine:
Linux is able to recognize it:
lsblk also works fine: