docs:tips_n_tricks:lvm.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
docs:tips_n_tricks:lvm.html [12.07.2014 17:25 CEST] – peter | docs:tips_n_tricks:lvm.html [31.07.2018 10:59 CEST] – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LVM ====== | ====== LVM ====== | ||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{tag> | ||
===== Get rid of detatched PVs ===== | ===== Get rid of detatched PVs ===== | ||
Line 32: | Line 35: | ||
... and your //lvm// commands are quiet again :-) | ... and your //lvm// commands are quiet again :-) | ||
- | {{entry>Linux}} | + | ===== Boot with /usr etc. on LVM ===== |
- | {{entry>LVM}} | + | |
- | {{tag>Linux LVM}} | + | Recent Ubuntu and Mint distributions seem to have trouble booting systems where relevant filesystems on LVM are referenced by label or uuid instead of ''/ |
+ | |||
+ | Tracking this down on Mint 18.2 lead me to the file ''/ | ||
+ | |||
+ | // | ||
+ | |||
+ | <code bash / | ||
+ | #!/bin/sh | ||
+ | PREREQ="" | ||
+ | prereqs() | ||
+ | { | ||
+ | echo " | ||
+ | } | ||
+ | case $1 in | ||
+ | prereqs) | ||
+ | | ||
+ | exit 0 | ||
+ | ;; | ||
+ | esac | ||
+ | . / | ||
+ | # Begin real processing below this line | ||
+ | |||
+ | # This was necessary because ubuntu' | ||
+ | # is the only line they needed in their script. It makes no sense. | ||
+ | # How was this so hard for you to do, Ubuntu? | ||
+ | lvm vgchange -ay | ||
+ | </ | ||
+ | |||
+ | {{entry>booting}} | ||
+ | {{entry>initrd}} | ||
+ | {{tag>booting initrd}} | ||
| |
docs/tips_n_tricks/lvm.html.txt · Last modified: 31.07.2018 11:12 CEST by peter