-
Notifications
You must be signed in to change notification settings - Fork 46
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
unable to detect active ESP #223
Comments
Thanks for the report. I am happy to debug this problem. Is there a way to reproduce the failing case with QEMU? I am using Arch and QEMU+failing image would be the best option I think. Or another option is to enable debug logs with |
Alright I added
|
And what is the debug output in case of |
So it looks like you do not have a |
Here's what I have in my grub.cfg (using GRUB for EFI):
and in my syslinux.cfg (using ISOLINUX for BIOS):
|
So you have 2 options here
The later case won't work for non-EFI configuration though. |
In the case of an ISO, the root filesystem will be stored mostly on
should i try adding |
Please add |
I am unable to capture the output of QEMU even with |
Try |
Also do you have a reproduction insructions for the image you are making? Ideally all the cases that can break need to be part of booster's integration tests here https://github.com/anatol/booster/tree/master/tests. |
Nope, that did not work... I will upload screenshots showcasing most of the error log.
I am creating an ISO for a custom Linux distribution I am working on. I have a root filesystem consisting mainly of musl libc and toybox for user space and some other utilities. I have a I am then creating a universal booster initramfs image by running:
Here's what I have inside
Here's what I have inside
Here's what I have inside
I am using the following instructions to create the ISO:
I also use
When I run the ISO, here's the error I get in EFI mode:
and in regular BIOS/mbr mode:
|
It seems the error is as follows:
Apparently it is failing to detect |
Indeed, this one of the problems. Another problem is that SMART tries to read data from Thank you for the provided instructions. I added an integration test for *.iso that show the error. And handled the error case. The changes are pushed to |
Alright, thanks for your work on this. I tested the new branch, and unfortunately with EFI (grub) it is still showing the same error as above, but with syslinux (mbr/BIOS mode) it is failing but with some difference in the error log:
Again is A friend of mine wrote this explanation article on how this is supposed to work. |
Please make sure you pulled |
Ok I am no longer facing the previous error, instead I am now facing this:
|
It is great to hear about the progress. To handle the latter problem please use |
Ok this is awesome! It is attempting to search for init which is So I specified |
I guess the service manager at this point should handle the |
Also suppose the case the root filesystem was compressed using |
I am not much familiar with iso handling. But if you provide instructions on how such erofs/squashfs is provisioned, then I can add an integration test to make sure booster handles it as well. |
Thanks for your time and effort! I will do some more testing, and open a new issue if I encounter another edge case |
Sounds good! And if you provide me instructions how to create an |
Ok, consider the case the root filesystem was compressed using According to this, I think
So in addition to checking for |
Hey there,
I am attempting to create a live installation ISO for a custom distribution I am making. I have a
rootfs
setup, with a bootloader configured (syslinux
for mbr/bios, andgrub
for EFI). I am using Arch Linux kernel and modules (since booster works just fine with Arch), and I am using booster universal to generate an initramfs image for my custom distribution.Regardless of the mode I boot in under QEMU, and regardless of what I use syslinux vs GRUB I am receiving the following error:
I have stumbled upon the following issue #149 which seems similar, and a patch was proposed their to remove this check (as my custom distribution is close in structure to Alpine, so it made sense). After trying the patch I am left with the following error
booster: /dev/sr0 unknown drive type
which might be related to the device manager I am usingmdevd
, but then again shouldn't booster run before any service/device manager has been started? or should there be hooks for the device manager likeudev
?It seems that booster is trying to load
efivarfs
which is working, but then is trying to open a non-existent directory? I thought booster handled the mounting ofsys
? If so why is it failing? And why is it trying to detect an ESP when in MBR/BIOS mode? Also, could it be relying on the system's service boot scripts to mountsys
or for more functionality? If so, shouldn't booster not do that because it comes before in the boot graph order?The text was updated successfully, but these errors were encountered: