* Re: [gentoo-user]WAS lvm problem -- NOW sleep tweak?
@ 2009-06-28 18:18 Maxim Wexler
2009-06-29 4:27 ` Mike Kazantsev
0 siblings, 1 reply; 2+ messages in thread
From: Maxim Wexler @ 2009-06-28 18:18 UTC (permalink / raw
To: gentoo-user
> 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 ;(
mw
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user]WAS lvm problem -- NOW sleep tweak?
2009-06-28 18:18 [gentoo-user]WAS lvm problem -- NOW sleep tweak? Maxim Wexler
@ 2009-06-29 4:27 ` Mike Kazantsev
0 siblings, 0 replies; 2+ messages in thread
From: Mike Kazantsev @ 2009-06-29 4:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
On Sun, 28 Jun 2009 12:18:26 -0600
Maxim Wexler <maxim.wexler@gmail.com> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-29 4:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-28 18:18 [gentoo-user]WAS lvm problem -- NOW sleep tweak? Maxim Wexler
2009-06-29 4:27 ` Mike Kazantsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox