Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22535 - Unable to boot when /var on LVM partition
Summary: Unable to boot when /var on LVM partition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 21:39 UTC by kevin arnold
Modified: 2004-10-16 00:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin arnold 2003-06-09 21:39:51 UTC
After upgrading to baselayout 1.8.5.9, my system was unable to boot.  None of
the init scripts would execute because /var/lib/init.d does not exist until /var
is mounted.  /var cannot be mounted until the LVM system is initilized (done in
/etc/init.d/checkfs).

In order to get around the problem, I have added the lines
  /sbin/vgchange -a y
  mount /var
to /sbin/rc in the boot section immediately after /proc is mounted.



Reproducible: Always
Steps to Reproduce:
Comment 1 Masumitsu Hatta 2003-12-27 08:40:39 UTC
Hi 

You can use lvmcreate_initrd

I wrote at
http://bugs.gentoo.org/show_bug.cgi?id=27420
Comment 2 Rob Holland 2004-07-07 08:57:19 UTC
this is fixed in current baselayout versions. /var on lvm works fine.
Comment 3 Rob Holland 2004-07-07 09:00:09 UTC
could you please confirm this is working now and resolve please ;)
Comment 4 SpanKY gentoo-dev 2004-10-16 00:07:06 UTC
seems to be fine now