Setting up persistence in elilo.conf
My desktop system has 3 bootable drives installed, sda, sdb, and nvme0n1.
Sda has slackware current 64 bit install, as does sdb. I wan to remove sda, since its an older, slower spinning drive. sdb is an ssd. The nvme has Slackware 15 64 bit installed and has the efi partition. I have modified /etc/fstab to use uuid's of the partitions I need mounted. That works as expected. Here is what fstab contains now. Code:
cat /etc/fstab Code:
cat /boot/efi/EFI/current/elilo.conf root=/dev/sdb2 allows the kernel to find the root partition, and all is well. To get persistence working I followed the How To in Slack Docs. This is the link I followed. -->http://docs.slackware.com/howtos:sla...sistent_naming It does not mention elilo, only lilo. I search for doc on elilo and found nothing useful. My attempts are shown beside the ### marks. I tried one at a time, all failed, with the kernel unable to mount the root partition. Hard stop. What is the correct syntax to set up persistent naming in elilo.conf? I use the script in /usr/share/mkinitrd to build an initrd. It has always worked for me. Any time I run it; the -r option looks like '-r /dev/sdb2'. How do I set this up so its persistent? Again, I tried uuid= and partuuid= with the correct hex strings. All fail. Is there a solution or is this never going to work? |
Code:
root="UUID=f7291211-1ea1-4d27-8751-a9de887c3090" root=UUID=f7291211-1ea1-4d27-8751-a9de887c3090 |
Practical case of elilo.conf entry used by myself in the past.
Code:
# Linux entry config begins |
marav, thank-you for your response. I tried it:
Quote:
|
Quote:
And the generic kernel, of course. |
OK, if I have to have an initrd for huge, is it good to use -r/dev/sdb2 ? I have tried other things here, and only this has worked so far.
|
Quote:
|
Quote:
Quote from Zygo on IRC: |
Quote:
Quote:
Quote:
|
I generated an initrd and added it. It boots normally now. So, lesson learned. The huge kernel needs an initrd if you use UUID's for persistence.
I will now copy the generic kernel over; and pull the sda drive and test to see if sdb becomes sda, and no attention is needed, ie it just works. |
Quote:
|
Quote:
|
After adding the generic kernel, all seems good. It booted normally.
Tomorrow I will remove the sda drive and test again. Thank-you for your help. |
If you don't want to use any initrd - you dont need to - like me ;)
you may need the "root=PARTUUID= " part - but this is a different UUID than the "UUID= " named above .. have a look at /dev/disk/by-partuuid/ more - you could found here https://docs.slackware.com/howtos:sl...sistent_naming have fun |
Quote:
|
All times are GMT -5. The time now is 04:43 PM. |