Article 5P76J lilo and UUID

lilo and UUID

by
igadoter
from LinuxQuestions.org on (#5P76J)
I want to install -current on hard drive. I have two now. One is fixed, the second one is removable. Problem is links to devices are changing depending on removable hard drive is attached or not. When is attached then
Code:/dev/sda --> points to removable hard drive
/dev/sdb --> points to fixed hard drive with systemwhen I remove hard drive links are changing
Code:/dev/sda --> fixed hard drive with systemNow I plan to put lilo on MBR of fixed hard drive. But I have no idea what to put inside lilo.conf. Sure partition can be mounted by UUID in /ets/fstab.
But I have no idea how to reflect these settings in lilo.conf.

Say this my present /etc/fstab (Devuan)
Code:$ cat /etc/fstab
UUID=deca603b-4307-4480-a01e-cae0c84222d6 / ext4 defaults,noatime0 1
UUID=6a7c507c-2e6f-4cf1-86cf-77d6af2338fe /home ext4 defaults,noatime0 2
UUID=c0383add-11c7-468c-b81e-8e6898c9fdfe none swap sw 0 0I will not repartition hard drive - only will replace Devuan by Slackware.

I would prefer to avoid to use grub. Only if there is no other option.latest?d=yIl2AUoC8zA latest?i=f5qmb5suD04:S-BvwBJR-z8:F7zBnMy latest?i=f5qmb5suD04:S-BvwBJR-z8:V_sGLiP latest?d=qj6IDK7rITs latest?i=f5qmb5suD04:S-BvwBJR-z8:gIN9vFwf5qmb5suD04
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments