On Sun, 28 Jun 2009 12:18:26 -0600 Maxim Wexler <[email protected]> wrote:
> > Put it in localmount, not bootmisc, just before > > ebegin "Mounting local filesystems" > > No lvm but same problem: the two partitions sdb1, sdb2 aren't mounted > during boot, but are mountable by hand following login. > > I added the sleep command to localmount and the partitions are now > mounted during boot. But, only after some annoying ugliness. > > a bit of console output: > > *Checking all filesystems... > fsck.ext2: No such file or directory while trying to open /dev/sdb1 > ... > ditto /dev/sdb2 > ... > *Operational error, continuing [!!] > *Mounting local filesystems... [ok] > ... > and so on to login. > > And yes the partitions are indeed mounted. But is this the best I can > hope for. I hate seeing red during bootup ;( You can: 1. Add that sleep to fsck (or any earlier script) instead of localmount. 2. Create separate initscript, say, "disks-wait" with nothing but sleep and either add it to sysinit runlevel or to boot, but with appropriate "before" dependencies, so fsck and localmount will run after it. Looks cleaner to me than the first way. -- Mike Kazantsev // fraggod.net
signature.asc
Description: PGP signature

