FD900Alpha-MXLinux21.3 40_custom boot problem [Solved]
Hi. Thank you @jamesbond for your reply in the ext4 query thread, and the info that it contained.
[EDIT- The result regarding this has been given in the next post, since both posts are overly large. Please let me know if most of this post should be culled. Thanks.]
I am making this post a bit too early, as there is more that I need to check (more still after your abovementioned reply ). However, I thought it was best to mention the problem, even though I need to do more checking and reading (including the grub2 manual that you kindly linked to when assisting Keniv).
I think it might be a bit early to consider this a real problem at this stage, but I thought I should mention some stuff whilst I could still think of it.
The version of GParted available in Fatdog64-900Alpha was used to generate an ext4 partition on a trial machine I am using (please note that I have only used the one machine so far).
An earlier partition that had been generated the same way was able to be mounted by the MXLinux 21.3 kernel (as expected) and MX was used to put a test document on the filesystem, that was subsequently used to test the access for various Puppies. That partition was subsequently deleted, and after a few other changes, the new partition was created in a different location on a spinning hard drive.
The kernel, initrd, fatdog.png and version files were copied across to the new partition, and an existing 40_custom file, in the MX installation, was modified to boot Fatdog64 900Alpha. The boot was unsuccessful, with the kernel not being able to be found.
As a test, another partition was created using the GParted variant from Fatdog64-813, and the same files copied to that partition. The stanza in the 40_custom file that had failed (which itself was a modified copy of an existing stanza) was copied and modified to boot from the new partition. The boot was successful.
With me there are many variables, I may even have an unnoticed space in the 40_custom file, but I have tried to check for that.
My suspicion is that although the MX Linux kernel can access the partition, the Grub2 may not be able to. Which leads me to suspect a missing option that I haven't included in 40_custom file (or maybe the opposite, I might have something there that shouldn't be). I also tend to use labels, and I haven't yet tried it using a UUID, to see if that is the problem. I haven't, of course, yet tried another partition with the tune2fs modifications that you mentioned in the other thread. I also vaguely seem to recall seeing mention of Orphan information when I had checked the earlier (now deleted) partition, with tune2fs -l. However, I suspect that was provision for orphaned inodes(?), rather than an indication of a problem. As an unrelated aside I think the 64bit option might have also been excluded (as is also the case in 813, I think, now that I look).
I will try to attach a copy of the 40_custom text, in case it might be helpful later. If I can't identify the problem, would posting a copy of the tune2fs -l result for the partition be helpful? If so, should any info from that e.g. checksum seeds etc., be deleted first?
Thanks and apologies for another tome that may be about nothing. I am posting way too early.