Bugzilla – Bug 104939
yast does not like FreeBSD
Last modified: 2005-08-29 05:34:37 UTC
If there is a FreeBSD partition, YaST is unable to partition during installation. It's not even possible to use fdisk from rescue, and use the prepared Linux partition, as YaST shows garbage in the partitioner. I deleted, FreeBSD from my test machine, installed beta1, and reinstalled FreeBSD, and now I get the same message, when starting YaST. I will create an attachement.
Created attachment 46172 [details] YaST message, if there is a FreeBSD partition
Please attach files below /var/log/YaST2 and the contents of /proc/partitions and output of "parted /dev/sda print"
dhcp210:~ # cat /proc/partitions major minor #blocks name 8 0 35566000 sda 8 1 514048 sda1 8 2 10490445 sda2 8 3 24555352 sda3 8 5 262144 sda5 8 6 1048576 sda6 8 7 524288 sda7 8 8 524288 sda8 8 9 22196056 sda9 dhcp210:~ # fdisk -l Disk /dev/sda: 36.4 GB, 36419584000 bytes 255 heads, 63 sectors/track, 4427 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 64 514048+ 82 Linux swap / Solaris /dev/sda2 65 1370 10490445 83 Linux /dev/sda3 * 1371 4427 24555352+ a5 FreeBSD dhcp210:~ # parted /dev/sda print Disk geometry for /dev/sda: 0kB - 36GB Disk label type: msdos Number Start End Size Type File system Flags 1 32kB 526MB 526MB primary linux-swap type=82 2 526MB 11GB 11GB primary reiserfs type=83 3 11GB 36GB 25GB primary boot, type=a5 Information: Don't forget to update /etc/fstab, if necessary. dhcp210:~ # ... SCSI device sda: 71132000 512-byte hdwr sectors (36420 MB) SCSI device sda: drive cache: write through sda: sda1 sda2 sda3 sda3: <bsd: sda5 sda6 sda7 sda8 sda9 > Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 ...
Created attachment 46185 [details] yast2 logs
Thanks, I fixed this now in libstorage. Since I have no easy way to test this I would appreciate if you could test if my fixe helps. I will attach a updated version of liby2storage please copy it to /usr/lib/liby2storage.so.2.0.0 (be sure to keep the old version as a backup). With the new library installed "yast2 disk" should work fine. If there are still problems please reopen and attach new y2log files. Alternately you may simply wait for beta#3 which will of course contain the fix.
Created attachment 46313 [details] updated libstorage binary
It seems to work fine. yast2 disk worked as exptected with the new lib. I'm looking forward to beta3, as my primary machine has 2 FreeBSD's installed (I'm beta testing FreeBSD 6.0 as well :) ).
please see: [Bug 113521] It's on a DesktopBSD machine as well, seems to run into some problems during mkinird
I had a look, but this is certainly not a problem with yast2-storage but a problems with handling dynamic devices within initrd.