| Summary: | LVM not started until after checkroot (fails if / is on LVM) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nathaniel McCallum (RETIRED) <npmccallum> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | magnade |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://gentoo-wiki.com/HOWTO_Install_Gentoo_on_an_LVM2_root_partition#System_Side | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Nathaniel McCallum (RETIRED)
2005-03-05 15:06:34 UTC
to have / on an lvm you need to have an initrd. lvm is initialized in the initrd. genkernel --lvm2 --udev all with a recent version of genkernel it will create an appropriate initrd. Correct, that will generate an initrd that will mount / as read only. However, once the init pivot has occurred (and /dev is remounted), the /dev files disappear. Thus you have / mounted read only and when you go to check the file system, no /dev file exists for that partition (or any LVM partition). Thus you need LVM both on the initrd (to do the initial ro mount of /) *and* LVM starting before checkroot to reestablish the /dev files for FS checking. |