Replies: 45 comments
-
|
Thanks for the feedback. Will take some time to wrap my head around the train of thought laid out in due course. EDIT
|
Beta Was this translation helpful? Give feedback.
-
|
Additional info for when you work on this someday: I tested 142AD again for you to rule out EXT4, and it does find it (don't know why issue 142 seemed to have EXT4 problems). So I think you can rule out EXT4 related. I ran a log of RP 142AD and and older RP 140AC just to see detected partitions and noticed that Linux volumes used to have their correct names shown, as (in this case TumbleweedB): In 142AD all BTRFS volumes show name as "Linux Volume": The EXT4 volume is the same on both logs (Gparted): I am using RP X330d-BOOTx64-REL.efi you provided during issue 142 testing, but without a debug version, so I can't get a log, otherwise I could do a more complete comparison. That shows the correct volume names so getting RP 142x BTRFS names correct is probably a good place to start. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
Noted. Thanks |
Beta Was this translation helpful? Give feedback.
-
|
dakanji, just an addition to my comments above that may help you. I worked all week on systemd boot and combining it with RefindPlus. I have concluded the following this week:
I now have Refind Plus, upstream refind, and systemd boot on a Mac mini and iMac, also OpenCore on the iMac. All boot into RefindPlus first for now. I can now quickly boot between them, and into the upstream version to compare any issue to RP. Please see my comments I added today: https://bugzilla.opensuse.org/show_bug.cgi?id=1226122#c77. It has a log of all cross booting tests I made. And a plug for RefindPlus, although I did not mention the temporary btrfs (I hope) issue #142. |
Beta Was this translation helpful? Give feedback.
-
|
I took the time to install OpenSUSE Leap 15.6, taking care to ensure the partition is properly labelled as Knowing there might be a question about the new 16.0 release, I had considered this but LEAP 16.0 has dropped support for my x86-64-v1 unit. Tumbleweed does apparently still support such but I cannot abide such setups. SlowRoll is apparently a saner implementation, but I saw in your bug report that the OpenSUSE devs have, as from 16.0, apparently decided one must select to have a bootloader installed or the installer will proceed to create an unbootable instance as they will not put things into standard locations to be found by RefindPlus or similar as was the case before or when using other installers. You can skip installing a bootloader on Debian or Ubuntu and everything works. I saw there might be a workaround of selecting the option to install a bootloader and then telling the installer to not update the nvRAM but I do not want a bootloader installed as I already have one that does the job. It seems completely mad to decide to change things to now proceed with creating an unbootable instance in such cases. Decided it was too much hassle. I digress. The takeaway is that Ext4 works as it should, BtrFS works as it should and labels are shown as they should. |
Beta Was this translation helpful? Give feedback.
-
|
Greatly appreciate you taking time at this. Some feedback to your comments: I use Tumbleweed, have for years. It does not use agama. I format partitions in the installers every time so they are fresh on a GUID disk. I am pretty sure Tumbleweed did not drop support for x86-64-v1 yet but all new development must be v2. I have not used OpenSuse for years, and never tried slow roll, etc. The Tumbleweed installer is not agama, it's the original. It always had an option to not install a boot loader. And now has an option to install a boot loader and NOT modify NVRAM, in fact that was the whole purpose of the bugzilla link above I started in 2024 (so RP could stay in control). I always turn off options to change NVRAM and everything else in the installer boot option. That leaves RefindPlus in boot control. This is how I've been testing systemd boot, I installed about 20 times this last week with two machines with systemd boot, but the options left RefindPlus in boot control. Labelling can be done in the installer, yes, hidden in FSTAB options. Just enter the volume name. Or change the label anytime after first boot with: There does not seem to be anything wrong with my setup since older RP 141x (and 140x) work fine with old and new btrfs partitions. In fact, older 141x work with different versions of the btrfs driver. Also, as I mentioned above, upstream Refind (with its supplied btrfs driver), Systemd boot, and open core all find and boots every btrfs partition. I appreciate the frustration with this issue, it's sounds like a tough issue to find. The only thing to please keep in mind as mentioned, 141 works with RP and upstream drivers, 142x does not work with any drivers, so I think the affected change was in 142x, not the driver, unless 142 is now tightly tied to drivers. I know you did not plan to work on this at this time, but if you open issue #194 back up I will add anything new I find. Do you want me to test the last btrfs driver you uploaded to sourceforge yesterday? I probably will anyway. |
Beta Was this translation helpful? Give feedback.
-
The point I am making is that this is exactly what I get with RefindPlus v0.14.2.AD. The question then becomes, why for me and not for you? To test things, replace the rEFInd efi file with the RefindPlus one (rename to match) and do not change anything else whatsoever in that setup. The BtrFS driver thing is not related as the old version works for you and did for me. Forgot to add my log file before: 25v23f2031.log |
Beta Was this translation helpful? Give feedback.
-
|
I tried the sourceforge version. It totally does not work, looping on some Btrfs messages scrolling too fast to read. Thankfully, I had macOS Ventura to fall back on to fix things. Here is the log of todays 14AD test using supplied 14AD Btrfs. I think missing volume names are probably an issue since they show up in 141x. 25v23u1426.log I don't know if it makes a difference but this system, has 2 disks, each with an ESP. Refind boots from EFIS, then can boot other stuff in EFIH (systems, OC). Here is the layout: disklayout.txt However, keep in mind this is an issue on the other computer where RP and all Linux's are on an external SSD, internal SSD only has 2 macOS systems. So location probably has nothing to do with it. I boot into RP on that one using Option key. I tried to compare logs but not much for me to know about. I do not have SWAP since no need for it. Also, don't know what your EXT4 partition is. Mine has all Btrfs partition names missing which I think may have something to do with it. Looks like GUID types, etc. are correct. Going to test Refind with RefindPlus efi now. Be right back. That's one I did not try. |
Beta Was this translation helpful? Give feedback.
-
|
As mentioned, the driver item is not relevant to you:
What you need to do is this written before:
|
Beta Was this translation helpful? Give feedback.
-
|
The results are: the current upstream Refind does NOT work with the Btrfs driver supplied with RP 14AD. The testing steps: Replace the RefindPlus EFI with the one from upstream Refind. I then replaced the Btrfs driver with the original one from upstream and rebooted and Refind then displayed all Btrfs systems and could boot into them. So it seems something is quite different between the drivers, also I noticed the RP driver is about twice the size of upstream Btrfs driver. So they do not work with each others drivers at this time, which is why it's possible there is an issue with the driver and RP? |
Beta Was this translation helpful? Give feedback.
-
You are doing something else altogether |
Beta Was this translation helpful? Give feedback.
-
|
I mentioned above that I had already done that. I tested many combinations this week except for the one I just did. |
Beta Was this translation helpful? Give feedback.
-
I don't believe you have and perhaps you didn't fully get what was requested. To spell it out step by step:
Run this as you normally run the rEFInd instance |
Beta Was this translation helpful? Give feedback.
-
|
I do exactly that all the time. Yes I renamed old versions. Been doing that for years. I don't see anything different from what I did. I swapped the RP Refind_x64.efi and x64_ext4.efi files with the ones from Refind (btrfs_x64.efi). And Refind finds BTRFS volumes on both systems. Refind has never had an issue finding Btrfs volumes. Nothing else was changed. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, but we are going around in circles here. There is a Refind_x64.efi file. Disable this and replace with the x64_PrefindPlus_XYZ file renamed as Refind_x64.efi. This is not what was done |
Beta Was this translation helpful? Give feedback.
-
|
Forgot: yes I have multiple work arounds and was going to leave it there. I did all this testing and new layout of boot directories for your benefit thinking you might like to fix btrfs in the future for the next person and I was glad to help. My work here was NOT for my benefit. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. Appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
I have more info. I know you want to drop this since I don’t need a fix but I am as curious as you and want to help, but I don't know if this will help: You mentioned needing a “basic system” so I built one. I have a Mac Mini that ONLY has 2 macOS APFS systems internally and NOTHING in its ESP except APPLE. Nothing on the Mini was changed. I formatted an external USB stick with an ESP partition and one BTRFS partition with no sub volumes. I created a boot directory containing rEFInd on the new external ESP, and freshly installed Tumbleweed with NO boot loader to the btrfs partition. You will see it in the log files below. I ran many test combinations doing renames only, note the RP tests only have the btrfs driver in the drivers directory. As you can see for the 330 series I went backwards until b2 which did not work, however going back to 330b worked. B3 through E which were the last ones supplied by you worked. There were 5 more before b, their results can be found in issue #194. This is as BASIC as I can make a system here without erasing the internal disk which I can’t do. Here is the log to the working rEFInd: refind.log Here is a log for a non-working RP 142AD: RPD25v27w2651.log There was no debug version of the 330 series. If you want something else to test I will be happy to do so. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. Insightful. Note though, for the record, that I didn't ask you to change your system or create any kind of system, basic or otherwise. FIRST: #242 (comment)
NEXT: #242 (comment)
NEXT: #242 (comment)
NEXT: #242 (comment)
NEXT: #242 (comment)
LAST: #242 (comment)
I presume the conditions requested were ultimately hit but there will always be a small question mark given the circumstances. Anyway, there is not much to be gained by doing anything further on your side at this time. Thanks again. I believe there is a holiday where you are. Enjoy it. |
Beta Was this translation helpful? Give feedback.
-
|
No problem, I know you didn't ask, and I will not do any more tests unless you ask. It was my time and setup only took an hour, mostly waiting for Tumbleweed install, then testing an hour. Documenting took longer! Now that I have a simple "basic" system containing minimum ESP files and fewer operating systems, RefindPlus issues like this one may be easier for you. Your system is far more complex with Windows, etc. FOLLOW UP TO PREVIOUS TEST ABOVE:
CLARIFICATION OF TEST 1 and 2
The is item 1 above. New/empty ESP:
That is exactly #2 above, right after the rEFInd test above:
If you want any steps clarified or need a test anytime sooner or later feel free to let me know. I will be glad to help. |
Beta Was this translation helpful? Give feedback.
-
|
FYI to interested parties. 142AE does NOT fix this issue for me. Linux Tumbleweed btrfs volumes on multiple computers, internal, external are not able to boot even though the volumes are found by RefindPlus. Volumes names are missing same as before (see log). Going back to 2024 is fine. Boots fine from Opencore and SystemD, same as before. In case someone assumes I must be doing something wrong, I have been testing RefindPlus, providing debug logs and testing scenarios for years. I designed and written a commercial telecommunication system in assembly language, worked on million+ line systems, was guest speaker, etc. Testing/renaming/moving in a dozen file directory is easy to get right. |
Beta Was this translation helpful? Give feedback.
-
|
Well, nothing was done on this item in 0.14.2.AE and the expected outcome therefore, with everything else the same, would be as it was before. I am not positioned to install Tumbleweed but able to load Leap 15.06 ( See log: - 26h16e4153.log ). I suppose you could try Leap 15.06 to see what happens. |
Beta Was this translation helpful? Give feedback.
-
|
An observation that I previously reported shows same in your log. In case it's a clue add to knowledgebase: The line in your log for the btrfs volume is identical to mine that works using x330d (which is what I have been using since 2024. Every test that I ran using x330d looks like yours with the correct volume name: Every test here, on in internal, external, SSD, HD, and even a fresh built USB stick with fresh installed OS using newer than x330d looks like this, which displays "Linux Volume" instead of the actual volume name. GUIDS, etc. look fine: Since x330d works and Opensuse uses same GUID and volume/directory layout should eb the same. Anyway, I know you're not working on fixing this so will keep x330d which is perfect. |
Beta Was this translation helpful? Give feedback.
-
|
FYI: Even though x330d, Refind, etc work for me, my curiousity got the best of me and I (tried) to install Opensuse 16.0. Two+ hours to figure out why the install ISO gets stuck in boot (video problem), then the next day 2+ hours trying everything to allow me to use existing partitions (nogo). So no Opensuse test. Opensuse 16 installer ISO boot and Agama stinks/unusable. Staying on Tumbleweed until they shove Agama down our throat in Tumbleweed. |
Beta Was this translation helpful? Give feedback.
-
|
The misc As for tests, the only relevant one right now is the ignored suggestion to check Leap 15.06. |
Beta Was this translation helpful? Give feedback.
-
|
Yes I considered trying 15 but after reading many people had the same issue not being able to get past Agama storage options I decided not to waste time since Opensuse 15 and 16 use the same Agama. x330d may be ill advised but boots everything perfectly. No choice here if I want to use RefindPlus. Hopefully the issue may reveal itself someday. Thanks for the response. |
Beta Was this translation helpful? Give feedback.
-
|
Curiosity got the best of me, I was able to install Opensuse 15.6 and it was bootable on x330d, RefindPlus prior to AC, Refind, SystemD, Opencore. But AE same problem, 15.6 not found and log file shows generic volume name as previously mentioned. I do not expect you to work on this, just a bit of info to add to the issue. By the way, recently, a NEW problem, it appears the latest Tumbleweed, and other distros are removing the Linux kernel from /boot since it is a duplicate of /boot/efi (the EFI partition) so RefindPlus, and probably others, don't see the kernel. For now, the workaround is to boot RefindPlus then select SystemD, and boot Linux from there. An issue for another day. This must be progress? |
Beta Was this translation helpful? Give feedback.
-
|
So, confirmed that it isn't that BtrFS is not working across the board but that for some reason, it isn't on your unit. On the partition name not showing, are you sure you labelled it? What does blkid show? As for whatever moving kernels to wherever, RefindPlus and rEFInd have default places they check, but what's stopping you from adding locations you need to the your config file ... to |
Beta Was this translation helpful? Give feedback.
-
|
Oh, I expected that. Why would you ask that when the volumes names correctly show up in logs for RefindPlus that work? Linux volumes names are correct in blkid, and even macOS. ONLY RefindPlus 142AC, AD and AE not working, all previous RefindPlus and current upstream Refind finds volumes names correctly and boots the kernel. I am in the process of changing RefindPlus to only boot SystemD for Linux systems, and Opencore to boot non-compatible macOS. For compatible macOS system I just use the Option key. I still use RefindPlus to boot a USB system installer. So at this point I gave up trying to get newer RefindPlus to boot Linux. Not a big deal. I just thought you might like to know about issues and I was willing to work on them for you. Anyone else new to RefindPlus who has this problem will just skip it. And when you add the new problem I mentioned above (I just installed todays Tumbleweed and /boot is empty now), have to use SystemD now anyway. This problem is obviously too hard to fix so time to move on and circumvent. |
Beta Was this translation helpful? Give feedback.
-
|
At the end of the day, it works for me and I can't fix what doesn't manifest on my unit. There's obviously something different between our units unless you can, given your enormous experience, can postulate why the difference. If someone has the issue and is able to investigate find what is happening and fix or at least locate a breaking commit, then can take forward. In your case, probably best use one of the other alternatives that work for you unless you can offer something proactive. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
FYI: While in the process of testing RefindPlus with systemd boot, I ran across the file on source forge referenced in issue #194 (which I can't update) and tried 14AD with the btrfs driver from source forge, NOGO. Only 141 with old btrfs drivers work. The upstream Refind 142 works fine as well with btrfs. Solutions: use Refind but Preboot volumes show up, or use RP prior to October 2024 works fine on everything. Will try systemd boot today but don't think will have much luck with macOS which is not an issue since I can use the Opt key to boot them.
Edit/Update 1:
Forgot to mention: No matter what btrfs driver I use none of them allows 142Ax to find btrfs partitions. First tested the 141 btrfs working driver with just changing the conf to 142 and leaving the working driver and 142AD fails, like all the other 142 versions. Since upstream works fine the issue is most likely with 142 RP, probably not the driver.
Edit/Update 2:
VERY surprised by this: I can boot RP to Opencore and OC finds both the EFI systemD AND newly installed Linux partitions and can boot BOTH fine. Interestingly OC does not find the linux partitions installed without systemD. So systemD using systemD has a big bonus with OC. You may want to look into how OC does this there is an opencorelinux drive but nothing for Btrfs. I will update this as I learn more after some tests. I am going to try 14AD again to see what it finds for systemD if anything.
Edit/Update 3:
Tried 14AD again (I tried it earlier before systemD and now after systemD) and although it found systemD and can boot it which can then load linux, it does not see the native linux partition that Opencore finds and boots as mentioned in update 2.
Good luck.
Beta Was this translation helpful? Give feedback.
All reactions