On Sat, Nov 28, 2009 at 8:37 PM, Maxim Wexler <maxim.wex...@gmail.com> wrote: > Hi group, > > When my netbook boots under battery power w/o the ac adapter connected > I get this warning msg in the boot window: 'Skipping fsck due to not > being an ac adapter'. Chaos ensues. The warning appears in > /etc/init.d/fsck. > > How do I fix this? Some option in /etc/conf.d/fsck? > > If you look for gentoo bug 291654 you get to a page that's difficult > to read, something wonky with the xml, but it describes this problem > and adds that it's fixed "upstream". > > I'm using ext2 with the journal option, openrc and baselayout-2. My > latest world update was two days ago. > > maxim
Skipping fsck at boot, when the system's on battery, would appear to be hard coded in /etc/init.d/fsck ... and the function it uses to check is completely independent of userspace tools related to PM. The only thing it checks is the /proc tree. You can make it ignore all of that and force a check by booting with forcefsck on your kernel command line or by creating the file /forcefsck (simply using touch should suffice). You say "Chaos ensues" ... in what way? Further errors, failure to boot, file system corruption, or...? The problem isn't likely rooted in the fact that it doesn't run an fsck when the system's booting on battery, but rather that you have some more pressing problem that should be addressed. -- Poison [BLX] Joshua M. Murphy