-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blivet crashes if it cannot find partitions on a disk #288
Comments
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:
The text was updated successfully, but these errors were encountered: