[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:15 (UTC)] – Article finished -- awaiting any corrections/suggestions before I remove the FIXME 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 |
- | + | ||
- | ====== How to configure lilo.conf | + | |
Have you ever had your /dev/sda and /dev/sdb drives switch order? Has plugging in a USB device before booting your computer caused a kernel panic? Do you frequently unplug or plug in new devices into your computer, thus changing the order of the device names? If you said yes to any of those, you might be a good candidate to use persistent naming within your bootloader and fstab. | Have you ever had your /dev/sda and /dev/sdb drives switch order? Has plugging in a USB device before booting your computer caused a kernel panic? Do you frequently unplug or plug in new devices into your computer, thus changing the order of the device names? If you said yes to any of those, you might be a good candidate to use persistent naming within your bootloader and fstab. | ||
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 |