[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what if I have a 2nd cdrom drive?



Dan Jacobson wrote:
> 
> I have two CDROM drives.  This is apparently not noticed upon debian
> woody installation.  Swifteax. Neateaux. I suppose the distributions
> of the pros consider that a personal issue or something.

I think you're being paranoid.

 
> OK, so I must do this myself.  OK, I make a link in /dev from hdd to
> cdrom2 then I make a directory in /, then I make a entry in
> /etc/fstab.  Is the user supposed to do all this by hand?

There's no need to make the symlink in order to get things to work.
There's also no need for a new directory, unless you want to mount both
cdroms at the same time. You can also do without the fstab entry.

Try: 'mount -t iso9660 /dev/hdd /cdrom'

If this works, then Woody's installation *did* notice your second cdrom
drive, it just didn't do the extra steps you listed above. Be thankful
you don't have to muck around with the kernel drivers.

 
> Also what is the importance of noauto in fstab?  Doesn't that just
> cause the user to have to issue a mount command if he hasn't since
> last reboot, and ha wants to use the cdrom?  Or perhaps the
> maintainers don't power off like me every day e.g. lightning storms
> and sleepy time.

noauto in fstab causes the device to be excluded from those mounted at
startup.

 
> By the way, my main form of exercise during my month long debian
> adaptation learning experience is marching up and back to my cdrom
> drives, ten meters away, during each dselect, aptitude installation
> session.   I don't suppose there is any way to tell it that I have two
> cdroms so I can put two cd's in at once?

Sure there is, but it might take some imagination.

I don't know if apt-cdrom can handle 2 cdrom drives at once. You'd have
to check its manpage for that.

In the past, I've setup an anonymous ftp server (behind my firewall, of
course) and mounted 3 cdrom drives under the ftp directory. I would then
instruct apt via /etc/apt/sources.list to get the packages via ftp from
the ftp site, which is really my mounted CDs. I've only done it with the
ftp server and the new debian installation on different machines, but
there's no reason why you couldn't have both on the same machine and
just ftp to localhost.

You might not have to go to as much trouble as that though. You might be
able to achieve something similar using direct file access (as opposed
to ftp) by tweaking your sources.list. There's probably a manpage for
sources.list, so you should read that as well.

Or, if you have enough disk space, you could just copy every single .deb
file from your CDs to /var/cache/apt/archives.

Best of luck.

Matthew


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: