LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting CD-ROM and ZIP disk (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-cd-rom-and-zip-disk-105835/)

Murdock1979 10-19-2003 07:06 AM

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

thanks in advance.

Murdock

hunter_one 10-19-2003 09:29 AM

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...

tk31337 10-19-2003 01:37 PM

/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.

miknight 10-19-2003 10:15 PM

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!

andrewstr 10-20-2003 05:33 PM

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

andrewstr 10-20-2003 06:09 PM

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.

michaelk 10-20-2003 06:22 PM

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

miknight 10-20-2003 10:11 PM

Quote:

Originally posted by andrewstr
I cannot get my internal IDE Zip drive to mount.
Did you read my post at all?

andrewstr 10-21-2003 12:31 PM

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


andrewstr 10-21-2003 12:34 PM

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. :confused:

miknight 10-22-2003 05:14 AM

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?

andrewstr 10-22-2003 12:35 PM

# 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

andrewstr 10-23-2003 05:47 PM

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?

michaelk 10-23-2003 07:13 PM

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

miknight 10-23-2003 10:00 PM

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"


All times are GMT -5. The time now is 03:08 AM.