Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't mount cdrom iso9660 (SOLVED)
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
bigbangnet
Apprentice
Apprentice


Joined: 11 Jun 2007
Posts: 174

PostPosted: Sat Aug 09, 2008 1:49 pm    Post subject: can't mount cdrom iso9660 (SOLVED) Reply with quote

Yeah, I think I've seen like 300 of these post. But here's mine. I can't mount cd-rom and its all my fault cause I know what I did wrong but I want to try to find a solution for it.

I wanted my usb external HD to be recognise so I followed this wiki. I didn't notice (probably cause I didn't drink enough coffee) but I've put my cdrom iso9660 into module. After installing and compiling, my usb HD worked like a charm, I can start it up and I can see it and I even write on it. But my cdrom doesn't work.

When I do mount /dev/hdc /mnt/cdrom I get a iso9600 not recognise system file or something and that it didn't know it <-- (sorry if its not the full msg but I hope you get the drift). So after some search I found that if you type
Code:
modprobe iso9660
and then the mount command, my cdrom works. So here's my question. How can I prevent from typing modprobe iso9660 each time I boot my system ?

I just don't want to install and compile my kernel (again :( ). I was probably thinking of either a driver !


Last edited by bigbangnet on Sat Aug 09, 2008 2:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Januszzz
Guru
Guru


Joined: 04 Feb 2006
Posts: 367
Location: Opole, Poland

PostPosted: Sat Aug 09, 2008 2:03 pm    Post subject: Reply with quote

Hi,

there is a file which loads modules on start, you just pust your custom module in it. Its /etc/modules.autoload/kernel-2.6:

Code:
teravinet ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# aic7xxx
ip_nat_ftp
ip_conntrack_ftp


If you use openrc and baselayout-2 there is no such file, I don't remember where it resides now. BTW if you compile the kernel, you may want to activate "Automatic kernel module loading".
Back to top
View user's profile Send private message
bigbangnet
Apprentice
Apprentice


Joined: 11 Jun 2007
Posts: 174

PostPosted: Sat Aug 09, 2008 2:26 pm    Post subject: Reply with quote

One question about that which I really don't know or just don't remember, how do I know if I'm using baselayout-2 ? Cause when I do
Code:
emerge -s baselayout
I see that version 1.12.11.1 is installed ? Unless thats how :lol:

For the iso9660, OMG, Duhhh I forgot about that file :lol: . I insterted iso9660 and it works, It even boots it automatically. Yayyy. But yes, I could of set it to enable in the kernel but your answer was faster lol. omg, I'm ashamed that I didn't even think of that file.

But for information (no pun intended here) the directory you gave was wrong, its /etc/modules.autoload.d/kernel-2.6 <-- notice the .d. In your code you see it but when you type it, you don't
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