Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr partition not mounting with 2.5.65
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MrOnion
n00b
n00b


Joined: 17 Nov 2002
Posts: 24

PostPosted: Wed Mar 19, 2003 6:20 pm    Post subject: /usr partition not mounting with 2.5.65 Reply with quote

gentoo-sources run lurbbely...
Runing the development kernel: 2.5.65
I have 2 partitions: "/" and "/usr", "/usr" doesn't mount on start up. I can mount afterwards without a problem. Both partitions are ext3 and i have ext3 support compiled into the kernel.

Thnx in advance

Onion
Back to top
View user's profile Send private message
oni
n00b
n00b


Joined: 19 Mar 2003
Posts: 1

PostPosted: Wed Mar 19, 2003 6:51 pm    Post subject: Reply with quote

I am having the same problem, I have a seperate partition for /usr and it doesn't get mounted.

Using 2.5.65 kernel as well.
Back to top
View user's profile Send private message
jrollins
n00b
n00b


Joined: 16 Aug 2002
Posts: 33
Location: Colorado

PostPosted: Thu Mar 20, 2003 9:22 pm    Post subject: Reply with quote

I think I may have the same problem as you...does it spit out a rather lengthy error and mention something about trying to fsck it with a different super block?
Back to top
View user's profile Send private message
MrOnion
n00b
n00b


Joined: 17 Nov 2002
Posts: 24

PostPosted: Sat Mar 22, 2003 11:12 am    Post subject: Reply with quote

well u have made an amazingly super botched way of making this work. Its super messy but it works for me.

Code:

echo "mount /dev/hdb1 /usr" > /etc/init.d/mnt.usr
chroot 700 /etc/init.d/mnt.usr
rc-update add mnt.usr boot


I will just stress again this is unbelieveably messy.

Good luck with it tho.

Onion
Back to top
View user's profile Send private message
scotte
n00b
n00b


Joined: 28 Feb 2003
Posts: 54
Location: Diamond Springs, CA, USA

PostPosted: Sat Mar 22, 2003 5:03 pm    Post subject: Reply with quote

Sounds suspiciously like the problem with the devfs patch in 2.5.65-mm#. There are a couple of other threads on this subject around here, but I'm guessing this is the same sort of thing.

I fixed it (for mm-sources) by unpatching the particular patch that caused the problem (I think it was smalldevfs), and then making sure the kernel was build to not automount devfs (since gentoo does this).

Now if only I could get my mouse to work in X!

Just a shot in the dark....
Back to top
View user's profile Send private message
azote
Guru
Guru


Joined: 17 Sep 2002
Posts: 415

PostPosted: Sat Mar 22, 2003 5:42 pm    Post subject: Reply with quote

I have the same problem ..

I changed to 2.5.65 and now works.... but with out the mm paches
_________________
contact me -> azote@mail.i2p

What do you want to emerge today?

if you think that a person is normal, it is because you do not know them well
Back to top
View user's profile Send private message
Skogtroll
n00b
n00b


Joined: 17 Mar 2003
Posts: 6

PostPosted: Sun Mar 23, 2003 1:41 am    Post subject: Solution Reply with quote

Rather simple. A glance at Documentation/Changes reveals that you need module-init-tools 0.99 (!=modutils). All kernels beyond 2.5.48 require it.
Its absence draws a chain-reaction:
/etc/init.d/modules fails, and thus, so do all things that depend on it, including /etc/init.d/localmount, which is responsible for mounting all filesystems in fstab (hence, /usr).

Anyway, what you're looking for is the following encantation:
# emerge /usr/portage/sys-apps/module-init-tools/module-init-tools-0.9.9.ebuild

if it fails to fetch (and I'm afraid it does), just google for module-init-tools-0.9.9.tar.bz2
and place it in /usr/portage/distfiles

Note that as for now you have to use the explicit ebuild filename because otherwise it would default to the more recent 0.9.10 which is still masked.

That's it. Now it *should* boot beautifully (fear not, for so should previous kernels)

PS: 2.5.65 tends to freeze on me with no apparent reason after a few minutes. Wish you better luck though.

Cheers
Back to top
View user's profile Send private message
jrollins
n00b
n00b


Joined: 16 Aug 2002
Posts: 33
Location: Colorado

PostPosted: Mon Mar 24, 2003 2:12 am    Post subject: Reply with quote

Fixed it here, too. I reversed the smalldevfs patch and it worked like a charm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum