LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2003, 07:06 AM   #1
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Question mounting CD-ROM and ZIP disk


How do I mount a CD-ROM and ZIP drive under KDE?

thanks in advance.

Murdock
 
Old 10-19-2003, 09:29 AM   #2
hunter_one
Member
 
Registered: Jun 2003
Distribution: mdk 9.1 , gentoo
Posts: 101

Rep: Reputation: 15
open terminal or console:

mount /dev/[name of device]

for example:

[hunter@localhost hunter]$ mount /dev/hdc
[hunter@localhost hunter]$


to unmount device:

umount /dev/[name of device]


to know name of device check in control center :] or in fstab...
 
Old 10-19-2003, 01:37 PM   #3
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194

Rep: Reputation: 32
/etc/fstab

The first reply assumes you have /etc/fstab and your mount point setup correctly. If you need to setup /etc/fstab check "man fstab". Basically the syntax is <device> <mount point> <fs_type> <options> <fsck_settings>. Here's an example entry for a cdrom:

/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0

If you have /etc/fstab setup already, and you just want an easy way to mount a drive graphically; KDE easily allows creating a link to your drive on your desktop where you can simply double-click to mount.
 
Old 10-19-2003, 10:15 PM   #4
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
I found that if I didn't have a zip disk in the drive when linux booted that I couldn't mount the partition on it.

The zip drive is my secondary slave so the device is at /dev/hdd. When a disk is in the drive you can mount it manually by going:

mount -t auto /dev/hdd4 /mnt/zip

You may have to replace 'auto' with 'vfat' or something.

I found that if the zip disk wasn't in on boot then /dev/hdd4 wouldn't exist. To remedy this I got some help from the guys at the Gentoo forums. If I run

blockdev --rereadpt /dev/hdd

as root then /dev/hdd4 appears and I can mount it!

Hope this helps!
 
Old 10-20-2003, 05:33 PM   #5
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I cannot get my internal IDE Zip drive to mount. I have tried using KDE's destop shortcut plus all the terminal commands I have found in these newsgroups.

I issue this command: #mount -t auto /dev/hdd /mnt/zip100

and get this response: mount: you must specify the filesystem type

Here is my /etc/fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdd /mnt/zip100 auto noauto,owner,kudzu 0 0

I would appreciate any help with this!

Andy
 
Old 10-20-2003, 06:09 PM   #6
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
BTW... Here is some of the output from dmsg:

hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 19807200 sectors (10141 MB) w/466KiB Cache, CHS=1232/255/63, UDMA(33)
ide-floppy driver 0.99.newide
hdd: attached ide-floppy driver.
hdd: 98304kB, 196608 blocks, 512 sector size
hdd: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
Partition check:
hda: hda1 hda2 hda3
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
 
Old 10-20-2003, 06:22 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
A normal DOS formated Zip disk mounts the 4th partition so it should be /dev/hdd4 in your fstab. I'm wondering why your zip disk has 6 partitions and what the [mac] means. Is this a MAC or PC formated disk?

So what kind of partitions is on the disk. Try fdisk:
fdisk -l /dev/hdd
 
Old 10-20-2003, 10:11 PM   #8
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
Quote:
Originally posted by andrewstr
I cannot get my internal IDE Zip drive to mount.
Did you read my post at all?
 
Old 10-21-2003, 12:31 PM   #9
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
It is a PC formated disk. I don't remember seeing all the [mac] listings when I booted without having a disk in the drive. Now this "table" appears 3 times in dmesg:

hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6
hdd: [mac] hdd1 hdd2 hdd3 hdd4 hdd5 hdd6

Also, when I reboot, the entry for the zip drive in fstab is removed and the directory (zip100) I created in /mnt is also removed.

Any ideas on what I can try next? The fdisk command says cannot open /dev/hdd

Quote:
Originally posted by michaelk
A normal DOS formated Zip disk mounts the 4th partition so it should be /dev/hdd4 in your fstab. I'm wondering why your zip disk has 6 partitions and what the [mac] means. Is this a MAC or PC formated disk?

So what kind of partitions is on the disk. Try fdisk:
fdisk -l /dev/hdd
 
Old 10-21-2003, 12:34 PM   #10
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
Quote:
Originally posted by miknight
Did you read my post at all?
Yes, I did try everything you suggested in your post prior to submitting my question. Thanks anyway for the tip.
 
Old 10-22-2003, 05:14 AM   #11
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
My dmesg doesn't mention anything about [mac]'s... I just get something like:

ide1: BM-DMA at 0xb008-0xb00f, BIOS settings: hdc:DMA, hdd:pio
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
hdd: No disk in drive
(or)
hdd: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm

What kernel are you running?

Last edited by miknight; 10-23-2003 at 04:50 AM.
 
Old 10-22-2003, 12:35 PM   #12
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
# cat /proc/version

Linux version 2.4.20-20.9 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Mon Aug 18 11:45:58 EDT 2003
 
Old 10-23-2003, 05:47 PM   #13
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I am sure that the disk does not contain an Apple Mac format. It was used with a PC.

Is there a way to format the disk so if the disk is somehow corrupt I can be able to use it with Linux?
 
Old 10-23-2003, 07:13 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,430

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
If this is an ATAPI device you should be using SCSI emulation instead of ide-floppy.

BTW does a /dev/sda device exist?

http://www.iomega.com/support/documents/10660.html
 
Old 10-23-2003, 10:00 PM   #15
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
No I don't think so.

Here's the guy who looks after the ide-floppy driver's page:
http://paulbristow.net/linux/ide-floppy.html

A quote from the site:

"Which drives does it support?
-Iomega ATAPI ZIP 100/250"
 
  


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
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 06:44 PM
Mounting a Zip Disk miknight Linux - Hardware 3 09-09-2003 09:50 PM
Mounting a zip disk command. jtp51 Linux - General 4 02-19-2003 10:38 AM
It is impossible to open the zip files from floppy disk or cd rom jjay02 Linux - Distributions 1 08-11-2002 06:52 PM
CD-ROM, ZIP, FD0 errors NSKL Linux - Hardware 2 04-05-2002 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration