View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Tue Feb 06, 2018 6:26 pm Post subject: |
|
|
Featherfoot,
I was expecting to see a grub/ directory in boot but its not there.
How do you boot your system?
You do have two matching kernels and initrd files though.
Code: | genkernel --dmraid all | should produce initrd files that support the dodmraid kerlel command line option.
What does show on your Gentoo. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Tue Feb 06, 2018 6:55 pm Post subject: |
|
|
I think you're right that it's the in it's rip as nothing seems to mount the RAID partktions. Poking around, Dracut seems to ce the best candidate as I don't feel comfortable doing it from scratch and I don't see a way to get at the script that Gen kernel uses. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Tue Feb 06, 2018 7:19 pm Post subject: |
|
|
Featherfoot,
I'm not convinced you are using the content of the /boot you showed.
The initrd is either a cpio archive or a filesystem in a compressed file.
Either can be unpicked. The file command will tell which you have.
The genkernel command you quoted used to produce working fakeraid.
I'm not convinced you are using it though.
will tell some useful information about your running kernel.
will list the content of /boot with timestamps.
The content of /boot/grub/grub.cfg will show which files are being loaded by grub.
I think you have fixed the issue but you are not running the kernel you think you are, so its not working. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Thu Feb 08, 2018 11:18 pm Post subject: |
|
|
Sorry not to respond sooner. Life intruded.
As discussed, I have a partition with Mint on it and one with Gentoo on it. I have a /boot partition for gentoo and a boot directory for Mint. It evolved this way because Mint used Grub2 while gentoo used Grub. My solution was to create a file that I named 07_jc that I put in Mint's /etc/grub.d directory . This put the gentoo boot code into the list first. When I do a new gentoo kernel, I update my 07_jc file with the new information and do an update-grub in Mint.
A comment in the dracut documentation was that it mounted all root partitions by default and implied that other partitions were not necessarily mounted, which would be consistent with what I am seeing. Genkernel documentation implies that it builds initscripts using its own code, but dracut came up with this convention somewhere and makes me suspicious that it does the same thing. That would also be consistent with my older kernels working as critical parts of the system were located on the RAID array.
Dracut seems to be my next shot at an initscript as it does look like I can force mount code for everything into the initscript. I am going to go over the documentation again and try to set up a script that will work. |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Fri Feb 09, 2018 8:34 pm Post subject: |
|
|
I eventually emerged genkernel-next and it worked!
Thank you, NeddySeagoon and eveybody else! I appreciate your time very much. |
|
Back to top |
|
|
|