Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CD-RW mounting and configuration
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
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Wed Jul 31, 2002 4:59 pm    Post subject: CD-RW mounting and configuration Reply with quote

hello,

ive installed gentoo and i have 2 cd-drives. A DVD and a CD-RW. in /mnt/cdrom is my DVD drive, but my CD-RW is not there (as cdrom1 or cdrom2)... how do i configure it, so i can mount /mnt/cdrom1 the cd-rw drive?
im passing this parameters to the kernel thru grub:
hdd=ide-scsi devfs=mount
i think that the hdd=ide-scsi is required for a cd-rw drive, right?

thanx/cheers
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Jul 31, 2002 7:24 pm    Post subject: Reply with quote

I'm not sure whether hdd=ide-scsi is a valid command, I know that hdd=scsi is though (they could both be valid, but I can only guarantee that the latter is correct). Also I found it interesting when troubleshooting the other night that the "SCSI Emulation" option in the kernel indicates (inside the help menu for SCSI Emulation) that IDE-CDROM support must be disabled (otherwise the IDE support will be used instead, regardless of the hdd=scsi option). So if and when you recompile your kernel you should remove support for IDE-CDROMs and you should be sure to specify both your DVD and CD-RW as scsi devices to your kernel (in your bootloader, grub, lilo, etc). After making such mentioned changes I would guess that your DVD and CD-RW will show up in /dev/cdroms/ (as cdrom0 and cdrom1). Hope that helps!

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Wed Jul 31, 2002 9:56 pm    Post subject: Reply with quote

There's an article about it in LinuxPlanet. You might want to read one of the comments about it in LinuxToday talkback, which gives a very detailed explanation.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
weirdo
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2002
Posts: 114
Location: Montreal/Quebec/Canada

PostPosted: Wed Jul 31, 2002 10:00 pm    Post subject: Reply with quote

Simple go in the install guide and read the yellow block after the kenrel installation.
then add hd*=ide-scsi (* replace by the letter of your cdr) to the kernel line in the menu.lst of grub for lilo its a bit more complex.
Back to top
View user's profile Send private message
MBCook
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2002
Posts: 136
Location: Insanity, USA

PostPosted: Thu Aug 01, 2002 1:40 am    Post subject: Reply with quote

You're install is right, I would guess it's showing up as /dev/scd0, or somewhere under /dev/scsi/
_________________
-- Michael

Read an intelligent book like "The New Thought Police" or "The War Against Boys", and learn the TRUTH.
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Wed Aug 07, 2002 11:05 pm    Post subject: Reply with quote

i had not compiled the kernel with scsi emulation support...
now im recompiling it...
after its recompiled, will i have to create a directory for the cdrom1 ? (i dont know, just guessing, but maybe /mnt/cdrom1 or /dev/cdroms/cdrom1) or are they created automatically?
about the boot parameter im 99,99% that its correct: hdd=ide-scsi (in the grub menu.lst file)

thanx/cheers
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Aug 07, 2002 11:09 pm    Post subject: Reply with quote

azambuja wrote:
will i have to create a directory for the cdrom1 ? (i dont know, just guessing, but maybe /mnt/cdrom1 or /dev/cdroms/cdrom1) or are they created automatically?

The entry under /dev should be created automatically by defsd, so don't worry about that. You will need to make a mount point directory (under /mnt seems the most consistent place) and, optionally, add a line to your /etc/fstab if you want to make mounting a bit easier.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Thu Aug 08, 2002 1:14 am    Post subject: Reply with quote

ok, ive recompiled it...
now /dev/cdroms/cdrom1 exists, but a /mnt/cdrom1 doesnt...
is this going to work?
1. mkdir /mnt/cdrom1
2. add in fstab /dev/cdrom1 ... ... ... ... /mnt/cdrom1 iso9660 ... ... ...

thanx/cheers
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Thu Aug 08, 2002 8:17 am    Post subject: Reply with quote

azambuja wrote:
ok, ive recompiled it...
now /dev/cdroms/cdrom1 exists, but a /mnt/cdrom1 doesnt...
is this going to work?
1. mkdir /mnt/cdrom1
2. add in fstab /dev/cdrom1 ... ... ... ... /mnt/cdrom1 iso9660 ... ... ...

thanx/cheers


Yes it will work.

Note that you don't have to create mount points to mount the cdrom if you rarely use it, as mounting is quite flexible. You can always do (as root):
Code:
mkdir temp_mount
mount /dev/cdroms/cdrom1 temp_mount -t iso9660 -o ro

......

umount temp_mount
rmdir temp_mount


/etc/fstab makes it easier (and allows user mounting as well).
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Fri Aug 09, 2002 1:39 am    Post subject: Reply with quote

ok, it worked fine...
im using it in the fstab...
theres a difference i saw...
in konqueror browser, the directory that was automatically created (/mnt/cdrom0/) has in its proprieties LOCKED...
the one that ive created doesnt...
what does this means? do i have to make /mnt/cdrom1 locked too? how do i do that?

thanx/cheers
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Fri Aug 09, 2002 8:17 am    Post subject: Reply with quote

Locked :?: That means you have no access perms on the dir.

Can you specify the perms to both dirs :?: also posting your fstab would help.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
azambuja
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 257
Location: Porto Alegre, RS, Brazil

PostPosted: Tue Aug 13, 2002 10:29 pm    Post subject: Reply with quote

drwx------ 2 root root 4096 Jul 11 17:59 cdrom
drwxr-xr-x 2 root root 4096 Aug 7 23:06 cdrom1

/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,owner,ro
0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro
00

the "auto" created on the installation is only acessible after a mount... the other is acessible without the mount (but you wont see the contents of the cd before a mount, :)
thats the only difference between them...

thanx/cheers
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