[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:slackware_admin:how_to_configure_fstab_and_lilo.conf_with_persistent_naming [2016/08/17 13:17 (UTC)] – [How to configure lilo.conf and fstab with persistent naming] swap the fstab and lilo.conf in title to match page title bassmadrigal | howtos:slackware_admin:how_to_configure_fstab_and_lilo.conf_with_persistent_naming [2018/01/11 15:32 (UTC)] (current) – [LABEL and UUID] Update to mention root entry in lilo is not needed when -r is used in the initrd bassmadrigal | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | |||
- | FIXME This is a work in progress. It is not complete and may screw up your system if you follow it. I will not be blamed for any nuclear wars started because of this. It should be finished in the next day or two. FIXME | ||
====== How to configure fstab and lilo.conf with persistent naming ====== | ====== How to configure fstab and lilo.conf with persistent naming ====== | ||
Line 174: | Line 172: | ||
mkinitrd -c -k 4.4.14 -f ext4 -r /dev/sda2 -m jbd2: | mkinitrd -c -k 4.4.14 -f ext4 -r /dev/sda2 -m jbd2: | ||
+ | |||
root@darkstar: | root@darkstar: | ||
/dev/sda2: UUID=" | /dev/sda2: UUID=" | ||
/dev/sda1: UUID=" | /dev/sda1: UUID=" | ||
+ | |||
root@darkstar: | root@darkstar: | ||
OK: / | OK: / | ||
Line 188: | Line 188: | ||
root@darkstar: | root@darkstar: | ||
- | As you'll notice, the command provided by mkinitrd uses ''/ | + | As you'll notice, the command provided by mkinitrd uses ''/ |
Once you generate an initrd, you need to reference it in your stanza. I don't have any labels set for my primary drive, so I added an example that is commented out. You can use one or the other. As before, I commented out the original device, but it doesn' | Once you generate an initrd, you need to reference it in your stanza. I don't have any labels set for my primary drive, so I added an example that is commented out. You can use one or the other. As before, I commented out the original device, but it doesn' | ||
Line 197: | Line 197: | ||
initrd = / | initrd = / | ||
#root = /dev/sda2 | #root = /dev/sda2 | ||
- | root = " | + | #root = " |
#root = " | #root = " | ||
label = Slack-generic | label = Slack-generic | ||
Line 244: | Line 244: | ||
The LBA32 warning is normal with Slackware' | The LBA32 warning is normal with Slackware' | ||
- | < | + | < |
Warning: LBA32 addressing assumed | Warning: LBA32 addressing assumed | ||
Added Slack-partuuid | Added Slack-partuuid |