View previous topic :: View next topic |
Author |
Message |
azambuja Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/c8b4a5613db00d6e58503.jpg)
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Wed Jul 31, 2002 4:59 pm Post subject: CD-RW mounting and configuration |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
BonezTheGoon Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/422034663d604d7679038.jpg)
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Jul 31, 2002 7:24 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mksoft l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/d4c7e1c63cf4c4f783c30.png)
Joined: 28 May 2002 Posts: 844
|
Posted: Wed Jul 31, 2002 9:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
weirdo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/simpsons_barney.gif)
Joined: 16 Apr 2002 Posts: 114 Location: Montreal/Quebec/Canada
|
Posted: Wed Jul 31, 2002 10:00 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
MBCook Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/6670289544007364611b71.gif)
Joined: 27 Jul 2002 Posts: 136 Location: Insanity, USA
|
Posted: Thu Aug 01, 2002 1:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
azambuja Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/c8b4a5613db00d6e58503.jpg)
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Wed Aug 07, 2002 11:05 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rac Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/42db5dbb3e1c92424d747.jpg)
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Aug 07, 2002 11:09 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
azambuja Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/c8b4a5613db00d6e58503.jpg)
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Thu Aug 08, 2002 1:14 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mksoft l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/d4c7e1c63cf4c4f783c30.png)
Joined: 28 May 2002 Posts: 844
|
Posted: Thu Aug 08, 2002 8:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
azambuja Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/c8b4a5613db00d6e58503.jpg)
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Fri Aug 09, 2002 1:39 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mksoft l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/d4c7e1c63cf4c4f783c30.png)
Joined: 28 May 2002 Posts: 844
|
Posted: Fri Aug 09, 2002 8:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
azambuja Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/c8b4a5613db00d6e58503.jpg)
Joined: 12 Jul 2002 Posts: 257 Location: Porto Alegre, RS, Brazil
|
Posted: Tue Aug 13, 2002 10:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|