Hi,
historically (before loader or kernel.dbg existed) the kernel 'modules' had
no names. Remember that HelenOS can be booted via different methods on
different platforms. On non-PC platforms a self extracting archive was used
and this did not store the module names. So the order was used to determine
which module is RD and all the other were init tasks. Given that now we
detect loader and debug symbols by module name I don't see a problem doing
the same for the RAM disk.
-Jiri
---------- Původní e-mail ----------
Od: Jiří Zárevúcky <zarevucky.j...@gmail.com>
Komu: HelenOS development mailing list <helenos-devel@lists.modry.cz>
Datum: 25. 6. 2024 19:56:11
Předmět: Re: [HelenOS-devel] The position of "initrd.img" in grub.cfg
"
Hi! I'm not entirely sure but I think it might just be a historical relict.
-- jzr
On Tue, Jun 25, 2024, 7:25 PM Mohammed Q. Hussian <maast...@gmail.com
(mailto:maast...@gmail.com)> wrote:
"
Hello All,
I would like to ask, what's the reason that initrd.img should be the last
entry in grub's modules list. I mean, for whatever reason this order is
changed by the user, HelenOS will not be loaded.
I've made a small modification in "kinit.c" and tested it by changing the
order of initrd.img and everything seems to work fine, the system is loaded
and the filesystem is there, I think this will be better for the stability
but I'm not sure about the reason of the decision (of making it necessary
for initrd to be the last). The minor modification is on my repository (
https://github.com/MaaSTaaR/helenos(https://github.com/MaaSTaaR/helenos)),
please let me know if it's OK to create a pull request.
_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz(mailto:HelenOS-devel@lists.modry.cz)
http://lists.modry.cz/listinfo/helenos-devel
(http://lists.modry.cz/listinfo/helenos-devel)
"
_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel
"
_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel