LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2004, 10:27 PM   #1
petkov
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
mounting things in Debian and the mount command


I just did a hard drive install using KNOPPIX 3.4 and at first I thought my fstab file was wrong, so i messed with it for several hours, trying all sorts of tricks on the /dev/cdrom line. Nothing seemed to work, and when i went to my /mnt directory via KDE, the CD-ROM icon was "locked".

Do I ALWAYS have to mount Cds manually in Debian using the mount command?
If yes, what is the exact right command? I have tried reading the how-tos and man pages but the more I read, the more confused I get. Can somebody simply tell me what the mount command for CD Roms is?
I have already put in over 4 hours trying to find out how this works. I am sorry to say this, but I think Linux has a long way to go before it can become user-friendly if a simple mount of a CD cannot be made easier.
 
Old 07-08-2004, 10:39 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
I do not know if Knoppix has changed the Debian (Woody) default.
"mount /cdrom" is all I need. Followed by "umount /cdrom" to unmount the device when done.
Floppy is "mount /floppy".
An fstab entry and mount directory can be made for any other device.
I throughy enjoyed Debian's manual mounting after fooling with some Mandrake supermount problems.
 
Old 07-08-2004, 11:40 PM   #3
RunLevelZero
Member
 
Registered: Jun 2004
Distribution: Debian
Posts: 46

Rep: Reputation: 15
Another way

If you really don't want to drop to the shell and you use KDE then just right click on the desktop > and create a link to your device, normally /cdrom on debian systems. The mount points are taken care of by debian so if you add another driv it would most likely become /cdrom0 or /cdrom1. You need to make sure the fstab looks something like this

/dev/hdc /cdrom iso9660 users,ro,noauto 0 0 <------ Those are zeros.

The users will allow users to mount and unmount the cdrom otherwise you'll get a root only wants to do this error or something like it. Now when you put in a cd just click on the new device shortcut you created on your desktop and it will mount the cdrom and open a konqueror window for you. See............ all point and click. You can always open up Home also and choose devices from the tree on the left and voila your drives are all right there. Oh yeah.. don't use /mnt/cdrom just use /cdrom. If for some strange alien reason that doesn't work, look in the /media folder and see if your cdrom is there. I am running debian SID with a custom 2.6.7 kernel and I let debian handle my drive symlinks and it is showing that it is in /media/cdrom but /cdrom links to that so either will works... just preference.


Hope it helps.
 
Old 07-09-2004, 04:16 PM   #4
petkov
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Thanx to both of you for the replies. The mount /cdrom command did work and creating a cdrom link to the desktop worked also. It sure was easy, once I knew what to do. ..;-)
 
Old 07-09-2004, 05:16 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
There's also a graphical mounting/unmounting utility called "xvmount" and it works in any window manager. For moving files from your home directory to floppy (or from floppy to your home directory) there's a special file manager, called "mtoolsfm".
 
Old 07-09-2004, 06:51 PM   #6
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 51
Contrary to what most people think, Knoppix is not Debian and it doesn't behave as Debian. The simple reason for this, is that it is an amalgamation or debian repositories which include woody, sarge, sid, experimental, marillat, and iirc, katame. Consequently, the dependencies are all varied, knoppix is a hell of a distro to use as a live-cd if you leave home, or to install to the hd AS IS, that's why there is a new version every 3 months, or to troubleshoot other os.

Read this article, you will find a reference to fstab:

Knoppix - Instant Gratification
http://distrowatch.com/dwres.php?res...review-knoppix
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse: confused on many things, why is installing things so hard? blackflare Linux - Newbie 11 10-16-2007 05:35 AM
installing several things and mounting usb k93658 Slackware 5 08-24-2005 06:29 PM
the diff command or any other similar things murshed Linux - Newbie 4 02-12-2003 11:07 PM
mount: error 6 mounting ext3 cknaresh Linux - Newbie 2 11-18-2002 07:35 AM
Mount "/" at capacity - please help clean things up! cliffyman Linux - General 4 07-15-2002 11:25 PM


All times are GMT -5. The time now is 12:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration