Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting local filesystem on ataraid, and modules.autoload
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
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Sat May 25, 2002 10:22 am    Post subject: Mounting local filesystem on ataraid, and modules.autoload Reply with quote

Qudos to everyone involved in the development of Gentoo! Just installed it, and it looks awesome :-)

Ive set my windows ataraid partitions up in /etc/fstab, and added ataraid and pdcraid to /etc/modules.autoload - but my problem is that the system tried to mount local filesystems before the modules in /etc/modules.autoload is loaded. So the windows partitions doesnt get mounted.

Suggestions what I can do to fix this?

Cheers!
Back to top
View user's profile Send private message
Manny Calavera
n00b
n00b


Joined: 21 May 2002
Posts: 68
Location: Germany / near Munich

PostPosted: Sat Jun 01, 2002 11:44 pm    Post subject: Reply with quote

look at /etc/fstab and set the noauto flag which causes the system not to mount the desired partitions at bootup. To get further information try
Code:

man fstab


see you,
- Manny -
_________________
Viva la revolución!
Back to top
View user's profile Send private message
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Sun Jun 02, 2002 11:54 am    Post subject: Reply with quote

But I *do* want them to be mounted, its just that the modules needed to mount the array gets loaded by /etc/modules.autoload - and that script is run after mounting of local fs. In fact it even depends on local mount being started before it will "kick in"

Look for yourself in /etc/init.d for files called localmount and modules. And then you'll see what I mean.

Code:

bash-2.05a$ cat modules

depend() {
        need bootmisc localmount
}


Now if I need modules to be insmod'ed in the kernel before localmount is processed - how's that possible? As you see above, modules depend on localmount being started. Shouldnt modules be processed before localmount, and not the other way around like it is now? I sure think so.
The alt is to compile the modules into the kernel, but I dont want that.
Back to top
View user's profile Send private message
tomte
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2002
Posts: 122

PostPosted: Sun Jun 02, 2002 12:30 pm    Post subject: Reply with quote

Loke wrote:

Now if I need modules to be insmod'ed in the kernel before localmount is processed - how's that possible? As you see above, modules depend on localmount being started. Shouldnt modules be processed before localmount, and not the other way around like it is now? I sure think so.
The alt is to compile the modules into the kernel, but I dont want that.


if you can't compile the stuff into the kernel, you need an initial ramdisk (initrd) and tell grub or lilo to load that.
search here and google for the howtos

regards,
tom
Back to top
View user's profile Send private message
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Mon Jun 03, 2002 12:52 am    Post subject: Reply with quote

Or just hack the localmount script and insmod the appropriate modules before the mount procedure :-D

I still think modules.autoload should be processed before localmount though...
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